How souzalrns/network-agents-setup works
This repository’s live product is a Python runtime for governed, declarative multi-agent workflows; the TypeScript applications and packages are archived. A request is routed to an area and agent, represented as a validated plan, then executed sequentially or in parallel waves. Steps load agent skills and run through a worker, with human approval and budget controls able to pause execution. Runs produce resumable status, events, and artifacts; optional persistent memory, retrieval knowledge, and council deliberation extend the workflow. Edges reflect README statements and indexed source references; some runtime details are unsampled.
Main entry points: engine.py Sequential engine · langgraph_engine.py Parallel engine · executor.py Step executor · models.py Plan model
Components 18
Planning and routing
- Request router
runner/plan_runner/router.py - Plan model
runner/plan_runner/models.py - Plan validation
runner/plan_runner/plan_schema.py
Plan execution
- Sequential engine
runner/plan_runner/engine.py - Parallel engine
runner/plan_runner/langgraph_engine.py - Step executor
runner/plan_runner/executor.py - External worker
runner/plan_runner/external_worker.py - Skill loading
runner/plan_runner/skills.py
Controls and knowledge
- Approval gates
runner/plan_runner/hitl.py - Token and cost limits
runner/plan_runner/cost.py - Completion checks
runner/plan_runner/done_when.py - Persistent memory
runner/plan_runner/memory_l4.py - Knowledge retrieval
runner/plan_runner/knowledge_wiring.py - Council deliberation
runner/plan_runner/council_session.py
Run records
- Append-only events
runner/plan_runner/events.py - Status and artifacts
runner/plan_runner/engine.py
Other components
- User request
- Human reviewer
Connections 21
- User request → Request router: routes request
- Request router → Plan model: maps to plan
- Plan model → Plan validation: validates schema
- Plan model → Sequential engine: runs sequentially
runner/plan_runner/engine.py - Plan model → Parallel engine: runs in waves
runner/plan_runner/langgraph_engine.py - Sequential engine → Step executor: executes steps
runner/plan_runner/engine.py - Parallel engine → Step executor: runs step nodes
runner/plan_runner/langgraph_engine.py - Step executor → External worker: delegates work
runner/plan_runner/executor.py - Step executor → Skill loading: loads skill
runner/plan_runner/executor.py - Step executor → Approval gates: checks approval
- Human reviewer → Approval gates: approves or edits
- External worker → Token and cost limits: checks ceilings
runner/plan_runner/external_worker.py - Sequential engine → Completion checks: checks criteria
runner/plan_runner/engine.py - Parallel engine → Completion checks: checks criteria
runner/plan_runner/langgraph_engine.py - Sequential engine → Append-only events: appends events
runner/plan_runner/engine.py - Parallel engine → Append-only events: appends events
runner/plan_runner/langgraph_engine.py - Sequential engine → Status and artifacts: writes run state
runner/plan_runner/engine.py - Parallel engine → Status and artifacts: writes run state
runner/plan_runner/langgraph_engine.py - Sequential engine → Persistent memory: wires memory
runner/plan_runner/engine.py - Sequential engine → Knowledge retrieval: wires retrieval
runner/plan_runner/engine.py - User request → Council deliberation: requests deliberation