-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Objective
Wire first L5 agent (Architect) to L4 tools using AutoGen.
Effort
4 days
Implementation
Architect Agent
from autogen import AssistantAgent
from codebase.mcp.tools import mcp_init, mcp_agi
class ArchitectAgent(AssistantAgent):
def __init__(self):
super().__init__(
name="architect",
system_message=self.load_constitution(),
llm_config={"model": "gpt-4"}
)
async def plan(self, query: str) -> dict:
# Step 1: Init session
session = await mcp_init(query=query)
# Step 2: Sense intent
intent = await mcp_agi(action="sense", query=query, session_id=session["session_id"])
# Step 3: Think through plan
plan = await mcp_agi(action="think", query=query, session_id=session["session_id"])
return planSubtasks
- Create
333_APPS/L5_AGENTS/architect.py - Wire to hypervisor in
333_APPS/L5_AGENTS/hypervisor.py - Implement TokenPhysics budget enforcement
- Test Architect agent end-to-end
- Update STATUS.md: '1/4 agents functional'
Acceptance Criteria
- Architect agent calls L4 tools
- Agent respects token budget (TokenPhysics)
- Agent output is constitutionally valid
- STATUS.md updated
Blockers
Files Changed
333_APPS/L5_AGENTS/architect.py(replace stub)333_APPS/L5_AGENTS/hypervisor.py333_APPS/L5_AGENTS/STATUS.md
Related
- INTEGRATION_MASTERPLAN.md
Reactions are currently unavailable