Subjects › AGI Agents (6-week course)

W6 · Integrating the agent

Orchestrators and routers, unified memory, guarded tool registries, and simulating plans before acting.

The idea

The capstone AGI_Prototype wires everything into one system. The orchestrator plans, then routes each plan step to a least-privilege ReAct specialist — by default with the keyword router `route_step`; Exercise 6.1 adds `llm_route`, an LLM router that falls back to the keyword router when the reply isn't a specialist name. Memory is one working + episodic + semantic system, and Exercise 6.2 adds `consolidate`, which removes near-duplicate episodes (keep the more important; ties keep the more recent). Tools go through a guarded registry (argument guard, allowlist, output screening, budget, audit log), and a constitutional layer reviews the final answer (P1, P2, P5, one pass) and redacts PII. Neuro-symbolic planning in world_model_integration.py: the LLM interprets the instruction into a formal goal, A* plans in the world model, and `verify_plan` simulates the plan before anything runs — never execute an unverified plan. In your repo: Week06_Integration_Capstone/AGI_Prototype/, unified_architecture.py, world_model_integration.py; Exercises 6.1, 6.2, 6.4.

Lesson

No lesson built yet. The worked solutions below are the material it would be assembled from.

Questions (5)

Question Type Difficulty Drift Accuracy
world_model_integration.py follows the neuro-symbolic pattern. Which division of labour does it use? mcq Easy -1.20 — — (0)
Exercise 6.1: an LLM router picks which specialist handles a plan step, with a deterministic fallback. For one… mcq Easy -0.50 — — (0)
In world_model_integration.py the scripted LLM produces a move list that walks the robot into lava. Explain wh… short Moderate 0.20 — — (0)
Exercise 6.2. Episodic memory holds four episodes, oldest first: e1 (t=1, importance 0.6), e2 (t=2, 0.9), e3 (… mcq Hard 1.00 — — (0)
Exercise 6.4. An 11-move plan is passed to `verify_plan`. After move 5 the robot is on a lava cell, which is i… mcq Hard 1.20 — — (0)