Prerequisites
- Python 3.11 or newer
- Docker for end-to-end sandbox tests
- Sibling runtime and deployment repos checked out next to
Agentix/when testing full rollouts
Setup
agentixx; the import package is
agentix.
Run the Runtime Locally
You can run the runtime server without Docker while iterating on client, server, or worker code./health; remote calls use /socket.io/.
Build the Runtime Base Image
Bundles extend a base image. Build it from the sibling runtime repo when testing end-to-end locally.Build a Bundle
/nix/runtime. If the project includes default.nix, the build also
splices system binaries into the final image.
Smoke Test a Sandbox
Lint and Test
Codebase Map
| Path | Purpose |
|---|---|
agentix/runtime/shared | Wire types, msgpack codec, Socket.IO event names |
agentix/runtime/client | RuntimeClient and transport behavior |
agentix/runtime/server | FastAPI app, Socket.IO handlers, worker client, worker process, callable invocation |
agentix/deployment | Deployment protocol and backend discovery |
agentix/cli | Build command |
Design Rules
- Keep the user model centered on
client.remote(fn, ...). - Keep bundle behavior dependency-driven through
pyproject.toml. - Prefer composition over inheritance outside lifecycle protocols.
- Do not add compatibility shims for old API shapes unless there is a concrete external constraint.