Architecture
Modulo uses a core pipeline engine that connects agents, connectors, and model backends into governed pipelines.
Modulo is a graph engineering platform: the pipeline engine compiles a StateGraph of agent nodes, where each node is an agent, connector, or gate and each edge is a typed, governed transition. Graph engineering is the practice of designing agent systems as explicit graphs (nodes and edges) rather than a single agent loop; Modulo makes that graph executable, observable, and auditable.
Layers
| Layer | Role |
|---|---|
| Pipeline Engine | Compiles and executes a StateGraph of agent nodes |
| Connector Hub | Manages tool integrations (GitHub, Notion, filesystem) |
| Model Backend Hub | Routes large language model (LLM) calls across providers (Anthropic, OpenAI, local) |
| Schema Registry | Versioned typed schemas for artifact validation |
| Audit Logger | Immutable record of every action and decision |
| Human-in-the-Loop (HITL) Manager | Claim, review, and gate enforcement |
Data Flow
- A trigger (manual, webhook, cron, polling, agent signal, ongoing, or Slack app-mention) starts a pipeline run
- The engine compiles a StateGraph from the pipeline definition
- Nodes execute as their dependencies complete. Agents call models via backends and tools via connectors.
- HITL checkpoints pause execution until a human reviews the artifact
- The completed artifact is routed to its destination: a pull request (PR), a ticket, or a file
Related
- Pipelines: the execution graph the engine compiles
- Lifecycle Maps: the delivery-wide model that sits above the execution graph
- Agents: the atomic units that make up a pipeline
- Connectors: tool integrations between pipelines and your tools
- Model Backends: routing LLM calls across providers
- Human-in-the-Loop: the gate enforcement layer in the table above
- Database Abstraction: the storage layer
- Audit trail for AI-generated code: immutable, hash-chained audit logging use case
- Govern coding agents across teams: governance tiers and cross-team agent control