agentproc (Rust)
Rust SDK for the AgentProc protocol — connect any agent CLI to a messaging platform via a process-based interface.
This is the Rust sibling of the Python and Node SDKs.
All three implement the same wire protocol (0.4) and the same in-process
executor mechanism. One profile can run three ways depending on what the host
has installed: Rust executor (in-process), Node executor (in-process), or a
Python bridge script (spawn) — all producing the same observable NDJSON.
Install
[]
= "0.10"
The default features pull in the built-in executor registry and YAML profile parsing:
[]
= { = "0.10", = false, = ["yaml"] }
Quick start
use ;
async
In-process executors
Set executor: in the profile to skip the bridge subprocess and let the
runner spawn the target CLI directly:
agentproc:
executor: codex # in-process on hosts with agentproc-rs
command: python3 # fallback for hosts without the Rust executor
args:
timeout_secs: 600
Registered executors: codex, claude-code. Register your own with
agentproc::executors::register_executor.
License
MIT