agentix build packages that code and its
dependencies into a bundle image; Agentix then overlays that bundle
onto a task image and gives the typed result back.
The Core Idea
Agentix keeps the execution layer deliberately small:- Remote calls run an installed function inside a sandbox worker.
client.remote(fn, ...)derives the target fromfn.__module__andfn.__qualname__, ships args/kwargs as one pickle blob, and imports the function inside the worker. - Bundles package one Python project and its declared dependencies into a deploy-ready image. Agents, tools, benchmark scorers, and user code are just packages in the same runtime venv.
Remote Calls
Call sandbox code with ordinary Python functions instead of bespoke RPC clients.
Bundles
Build a reproducible bundle from
pyproject.toml dependencies.Deployments
Run the same bundle through local Docker or a deployment backend plugin.
Integrations
Wrap an agent CLI, benchmark harness, or internal tool as a narrow Python API.
Why This Matters
Agent work tends to sprawl: each agent CLI, benchmark harness, sandbox provider, and training loop grows its own adapter. Agentix collapses that matrix into one rule: if it is installed in the bundle and importable by Python, the host can call it.| You have | You expose | You call |
|---|---|---|
| Claude Code, Codex, Aider, OpenHands, or an internal agent | async def run(...) -> RunResult | await client.remote(run, ...) |
| Bash, file operations, repo setup, or local tools | async def run(command: str) -> BashResult | await client.remote(bash_run, ...) |
| SWE-bench, MLE-Bench, or an internal evaluator | async def score(...) -> Score | await client.remote(score, ...) |
Where It Sits
Example Rollout
Start with the complete runnable demo inagentix-cookbook/examples/hello-agentix:
Read Next
Quickstart
Build a tiny bundle, launch it in Docker, and call a remote function.
Remote Calls
Learn the target string, call shapes, and typing model.
Bundles
See how dependency declarations become bundles.
Architecture
Follow the request from client to server to worker and back.