agent-platform is the infrastructure that runs coding agents on behalf of one owner: it accepts requests, runs agents in isolated environments, lets them affect the outside world only through checked gateways, and records what happened. "Platform" is used in the CNCF sense, the whole set of capabilities offered to its users; the Interface is one part of it. The design is furedea/agent-config#181.
The first component built here is the GitHub Gateway (furedea/agent-config#291): a resident process that alone holds the GitHub write credential and exposes a closed list of typed operations, so agents never see the token and cannot merge, approve, or relay arbitrary API calls.
Why the platform and the Gateway are shaped this way, what is built, and what is only planned are in docs/DESIGN.md.
The logical components of #181 §3. A box is a responsibility, not necessarily a service.
| Component | Responsibility | Status |
|---|---|---|
| Interface | Accept authenticated requests, instructions, approvals, and cancellations; show job state | Not started |
| Control Plane | Hold goals and grants; coordinate execution, waiting, recovery, verification, and promotion | Not started |
| Durable State | The source of truth for jobs, executions, grants, operation intents, artifacts, and approvals | Not started |
| Agent Runtime adapters | Drive agent harnesses (model calls, context, tool use) through a fixed protocol profile | Not started |
| Isolated Execution | Run generated or fetched code in constrained environments | Not started |
| Capability / Effect Gateway | Check principal, resource, account, payload, revocation, and budget; perform only permitted effects | GitHub Gateway: protocol types only (crate) |
| Verification | Verify fixed candidates against trusted criteria with independent observation | Not started |
| Promotion Policy | Decide whether a verified candidate may be promoted to a shared target | Not started |
| Knowledge | Keep sources and grounded claims, with adoption, correction, and expiry | Not started |
The deployment of these components (management VM, storage, backups) also lives here.
In:
- The components above, their protocols, and their deployment (
deploy/).
Out:
- Instructions, skills, hooks, and permission declarations for agents: furedea/agent-config.
- Rendering those into each harness's configuration: furedea/agent-harness.
- Configuration of the owner's Mac: furedea/dotfiles.
| Path | Contents |
|---|---|
crates/ |
Rust crates (Gateway, gh-gw, and the protocol types they share) |
packages/, web/ |
TypeScript packages (Control Plane) and the browser UI, added when started |
deploy/ |
Deployment configuration, added when the first component is deployed |
docs/adr/ |
Architecture decision records |
Why each component uses its language is in ADR-0001; the layout and why protocol types are written in Rust are in ADR-0002.
nix develop
cargo testCI runs clippy, rustfmt, tests (including the protocol examples), cargo-deny, and cargo-machete.