agents.simple.enhanced_simple_minimalΒΆ
Minimal Enhanced SimpleAgent - showing the pattern in action.
This is the absolute minimal version showing SimpleAgent as Agent[AugLLMConfig]. Itβs self-contained to avoid import issues.
ClassesΒΆ
Agent = Workflow + Engine with engine-focused generics. |
|
SimpleAgent is nothing more than Agent[AugLLMConfig]. |
|
Pure workflow - no engine. |
Module ContentsΒΆ
- class agents.simple.enhanced_simple_minimal.Agent(name, engine)ΒΆ
Bases:
Workflow
,Generic
[EngineT
]Agent = Workflow + Engine with engine-focused generics.
Init .
- Parameters:
name (str) β [TODO: Add description]
engine (EngineT) β [TODO: Add description]
- async execute(input_data)ΒΆ
Execute using the engine.
- Parameters:
input_data (Any)
- Return type:
Any
- class agents.simple.enhanced_simple_minimal.SimpleAgent(name, engine)ΒΆ
Bases:
Agent
[AugLLMConfig
]SimpleAgent is nothing more than Agent[AugLLMConfig].
This demonstrates the power of engine-focused generics: - SimpleAgent = Agent[AugLLMConfig] - ReactAgent = Agent[AugLLMConfig] + reasoning loop - RAGAgent = Agent[RetrieverEngine] - etc.
The engine type IS the primary differentiator between agent types.
Init .
- Parameters:
name (str) β [TODO: Add description]
engine (EngineT) β [TODO: Add description]