-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
featureNew featureNew featureintegrationsFramework integrationsFramework integrationsweek-1Week 1 tasksWeek 1 tasks
Description
Description
Implement abstract base class for framework adapters (LangChain, AutoGen, CrewAI).
Acceptance Criteria
-
FrameworkAdapterABC insrc/agentgym/integrations/base.py - Abstract methods for conversion, tool extraction, environment creation
- Type hints and docstrings
- Documentation of adapter interface
Technical Details
from abc import ABC, abstractmethod
from typing import Any, List
class FrameworkAdapter(ABC):
"""Base adapter for framework integrations."""
@abstractmethod
def wrap_agent(self, trained_model) -> Any:
"""Wrap trained model for framework."""
pass
@abstractmethod
def extract_tools(self, agent) -> List:
"""Extract tools from framework agent."""
pass
@abstractmethod
def create_environment(self, agent):
"""Create training environment from agent."""
passEstimated Time
2-3 hours
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew featureNew featureintegrationsFramework integrationsFramework integrationsweek-1Week 1 tasksWeek 1 tasks