auto-dev-agent / agents /__init__.py
Siva sai Yadav
ready for HuggingFace Space deployment
8edee29
Raw
History Blame Contribute Delete
1.41 kB
"""
agents/
-------
LLM-calling agents for AutoDevAgent.
Each agent takes a PipelineState in and returns a partial state dict.
No execution logic lives here β€” agents are pure LLM callers.
Available agents:
DetectAgent β€” fast language classification (llama3-8b)
PlanningAgent β€” step-by-step plan + SQL schema inference
CodeGeneratorAgent β€” code generation from plan
DebugAgent β€” error classification, self-reflection, rewrite
TestGeneratorAgent β€” unit tests (Python) / assertions (SQL)
PolisherAgent β€” safe cosmetic refactors + diff
ExplanationAgent β€” plain-English code explanation
FlowchartAgent β€” Mermaid.js diagram generation (conditional)
"""
from agents.detect_agent import DetectAgent
from agents.planning_agent import PlanningAgent
from agents.code_generator import CodeGeneratorAgent
from agents.debug_agent import DebugAgent
from agents.test_generator import TestGeneratorAgent
from agents.polisher_agent import PolisherAgent
from agents.explanation_agent import ExplanationAgent
from agents.flowchart_agent import FlowchartAgent, should_generate_flowchart
__all__ = [
"DetectAgent",
"PlanningAgent",
"CodeGeneratorAgent",
"DebugAgent",
"TestGeneratorAgent",
"PolisherAgent",
"ExplanationAgent",
"FlowchartAgent",
"should_generate_flowchart",
]