Open source · Independent project
agentgate — Multi-agent Orchestration with Approval Gates
A Python library that plans a task, routes each step to the agent allowed to do it, runs independent steps in parallel and pauses any risky tool call until a person approves it.
The problem
Agents that can act — refund money, place orders, send e-mails — need a brake that no prompt or LLM mistake can skip.
What I built
- Rule-based and LLM planners with plan validation (unknown tools, cycles, agent permissions).
- Typed tool calling from type-hinted functions, with pydantic-validated arguments.
- Parallel execution with retries, backoff and timeouts; approval rules on the tool itself.
- SQLite long-term memory, traces, latency metrics and a FastAPI server.
My engineering contribution
- Designed and wrote the library, tests, docs, Docker image and CI.
Architecture and workflow
A request in plain text.
Technical decisions
- Approval rules live on the tool, not in the prompt.
- Only two runtime dependencies; FastAPI is optional.
Outcomes
- 23 tests, about 94% coverage, CI on Python 3.10–3.13 and a Docker build.