agentix build packages your stack; sandbox.remote runs callables inside
it; abridge captures trajectories for eval and RL—no custom rollout
microservice per pairing.
The Core Idea
Agentix keeps the execution layer deliberately small:- Remote calls run an installed function inside a sandbox worker.
sandbox.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 bundle. 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.Providers
Run the same bundle through local Docker or a provider backend plugin.
Plugins
Extend runtime side channels with namespaces, logging, and tracing processors.
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 sandbox.remote(run, ...) |
| Bash, file operations, repo setup, or local tools | async def run(command: str) -> BashResult | await sandbox.remote(bash_run, ...) |
| SWE-bench, MLE-Bench, or an internal evaluator | async def score(...) -> Score | await sandbox.remote(score, ...) |
Where It Sits
Example Rollout
Start with the complete runnable demo inexamples/hello-world
(see the agentix-cookbook
for more examples):
Read Next
Public API
See the stable Python and CLI APIs with compatibility guarantees.
Quickstart
Build a tiny bundle, launch it in Docker, and call a remote function.
Remote Calls
Learn the import-path target and how side channels fit alongside.
Plugins
Understand
/rpc, /log, /trace, and plugin-owned namespaces.Bundles
See how dependency declarations become bundles.
Architecture
Follow the request from client to server to worker and back.