Skip to main content

oneagentgraph

Compose agents into a graph over oneharness and onejudge, and merge their outputs into one NDJSON event stream.

One config file and one CLI call: the graph names an oneharness config per role and side, and oneagentgraph prepares each member's launch, supervises liveness, and emits every turn, tool call, fallback, and settle as an event you can pipe into anything.

Install

pip install oneagentgraph-cli      # prebuilt binary, no Rust toolchain
npm install -g oneagentgraph-cli   # the same binary, via npm
cargo install oneagentgraph        # from crates.io, compiled locally

To install a revision that has not been released yet, build it from the repository:

cargo install --git https://github.com/nickderobertis/oneagentgraph --locked

Prebuilt archives for Linux (x86-64, arm64), macOS (Intel, Apple silicon), and Windows (x86-64) are attached to every release, with sha256 checksums.

onejudge is a library dependency, linked into this binary — there is nothing to install for it. run, smoke, and health drive the oneharness CLI, so that has to be on PATH; validate, history, persona, trigger, reset-timer, cancel, and sweep need nothing at all. ONEAGENTGRAPH_ONEHARNESS_BIN names a pinned install instead.

What it does

oneagentgraph run graph.yaml --task "add the retry" --output json

A graph is YAML — members, the oneharness config each side uses, personas, schedules, and dependencies:

version: 1
name: node-scope
members:
  worker:
    kind: onejudge
    base_config: ./onejudge.base.yaml
    agent: { oneharness_config: ./oneharness.toml }
    judge: { oneharness_config: ./oneharness.judge.toml }
    mode: bypass

run streams one envelope per line. Exit 0 means every member settled, 1 that one failed or died, 2 that the config is invalid.

Under disk pressure, oneagentgraph sweep --dry-run says what scratch exists, what is reclaimable, and what it could not examine; without --dry-run it reclaims what it proves is dead. What counts as proof is the liveness rules in the contract, which is where they are stated.

oneagentgraph owns no harness, model, or fallback logic. oneharness keeps owning identity chains, fallback, model pins, and quota classification; onejudge keeps owning the two-party conversation. This composes them.

Develop

just bootstrap   # from a clean clone; installs the oneharness CLI
just check       # the deterministic gate: format, clippy, tests, coverage, docs
just gate        # check + the LLM-judge tier; the pre-push bar

Licence

MIT. See LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

oneagentgraph_cli-0.2.2-py3-none-win_amd64.whl (2.4 MB view details)

Uploaded Python 3Windows x86-64

oneagentgraph_cli-0.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

oneagentgraph_cli-0.2.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

oneagentgraph_cli-0.2.2-py3-none-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

oneagentgraph_cli-0.2.2-py3-none-macosx_10_12_x86_64.whl (2.4 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file oneagentgraph_cli-0.2.2-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9d05b979077f4cf970342da542b22408606413bdbb2de787133595f1a10035b3
MD5 1f25a6acd76fb205fb14374bc13d3cd5
BLAKE2b-256 6958c90dc56b7601c5d8b6248ebc18fdc3f344c2579cbb56dd5554b5bd14e846

See more details on using hashes here.

File details

Details for the file oneagentgraph_cli-0.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 234e1dc8bd5b64de44b8526c847ef2d5b9708df63ec8be0744e10e0e288be3dc
MD5 628bce4a4aedcbf053c35638e8fdb0db
BLAKE2b-256 79421e521dfecbe7497513fe6d7789b1971b693c8743a947850e2802ce9a1421

See more details on using hashes here.

File details

Details for the file oneagentgraph_cli-0.2.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5249c1ae57ba924aef171068550ab78db3518309eb21b9d570d51bad803c5893
MD5 8f923cec9a09df2834387c31a807b5ed
BLAKE2b-256 62e33276f21d1156e75dbca556a25c9b864ed5740638883b84f1147825acd82a

See more details on using hashes here.

File details

Details for the file oneagentgraph_cli-0.2.2-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2f91f929bef74938d4475c17f27b623d1a03dc98e7dc9e15dd0d419e38941719
MD5 7bd8586e870d8541986215558812e3fd
BLAKE2b-256 30e40d3293c67533a86a0fcf02ffa435be6e07e62e40eab9e1ce66d1203f1eaf

See more details on using hashes here.

File details

Details for the file oneagentgraph_cli-0.2.2-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 cc481fa748ea577502ac9f39bef3c72e8cee91a9f55f890efcfd7f4d0437db28
MD5 368c90e55ae68e3dcc9165fdf7f5ab3c
BLAKE2b-256 20c313f35692ab24c9392812c262551c53e2cd452c450fee648d8190bf4ad0b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page