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, and cancel 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.

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.1-py3-none-win_amd64.whl (2.4 MB view details)

Uploaded Python 3Windows x86-64

oneagentgraph_cli-0.2.1-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.1-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.1-py3-none-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

oneagentgraph_cli-0.2.1-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.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c0b13c08e9f041dd89cc4df43c82fb506177e07279b568b125d967bd27941da5
MD5 16d91af5e8e020234d7183195dc49ae1
BLAKE2b-256 18c516ecf48869b948cc45c14e17695adb0ee2e0875d1f1db553a42defdb1df4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c3e731c0f990fe0ae94a9c12ab1e72122694cba1fb73a2d3c5c0f41bac9f9326
MD5 2e9cc98787d8bacf60944f256989bd0d
BLAKE2b-256 e174b678a9c4122f0d6a667ad35130cd5dd42fc5962504167c0b797f1e1ff4da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f09413d57244957a9fbe44c7c60ad2478985025484da499b963d53f1a7950422
MD5 f1c519a3de9d956a45ee38323183145f
BLAKE2b-256 08a83b49e7cdb6da3e359f676e360f56f2c8ac03652271ffd2b77024f68b8cc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 10f397418f5586daa014e349c9e067c914f926ea05c3c2d6d5fc0b0f357212c1
MD5 69ab41a47e902b3f693673050f6a9f3a
BLAKE2b-256 77c4b40daa5e47989e920e625ddcd9d343836a2d2bd0023f83c46dc92c1834eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 68b4f7e4c3d97088ffb614289d481608734ac00cc93727acaf670747a15846ed
MD5 caaa863a430708c348280f0cfb3ae9a2
BLAKE2b-256 7e12ea7cf032b1306e0d031d1610b95c1f21d49674f5b2467bcb123928873016

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