File size: 1,408 Bytes
8edee29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
"""
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",
]