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 constructs the invocations, 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.

run drives the onejudge and oneharness CLIs, and smoke and health drive oneharness, so those have to be on PATH; validate, history, persona, trigger, reset-timer, and cancel need neither. ONEAGENTGRAPH_ONEJUDGE_BIN and ONEAGENTGRAPH_ONEHARNESS_BIN name 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 onejudge and oneharness CLIs
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.1.1-py3-none-win_amd64.whl (2.0 MB view details)

Uploaded Python 3Windows x86-64

oneagentgraph_cli-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

oneagentgraph_cli-0.1.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

oneagentgraph_cli-0.1.1-py3-none-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

oneagentgraph_cli-0.1.1-py3-none-macosx_10_12_x86_64.whl (2.0 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.1.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a249a0fedd81a56a9ffb06aa292c0859e97633735c31151ee6d3d1c64aff5c59
MD5 31bdb92dc43edcc2247c3ccb16f2a0c8
BLAKE2b-256 10d0ec26ef333b6f664a1f73cfd4397682f0f04ee8d67f5d02f209a109b31ad4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 19765e3d7dc0c0cfe18e094a597b9310eb9c486ec06c27314b28a1daf27cf296
MD5 a82e9c9dd6ac2a3bf1156b8265b55e0e
BLAKE2b-256 9c2ba1e079a60e2172dd6f06cdd014b8e7a0a611e2d54d77502dab7499ba3003

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.1.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f7051d17789942e36bc1adb8983c5e6d68f52fdcaf18b2739e52dd9719eb7047
MD5 8e7ee563f52bc281932a1eb8387b5911
BLAKE2b-256 58997ab798aa1bf98d6c792cd38eb417607a95cbd5a9b6a4e2f26da99a3aa7b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.1.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7ecf3a53fdee679706c0884bd612f4a61105f959b1e23170c4ac9925ea5c6bdd
MD5 944c317e92af4b30d64b4c328f995000
BLAKE2b-256 e99ef10909e25650790af61f7377b533d3a91f3c16a8df951a407322c609b6cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.1.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4731f78610df1859d51cf26fc8ea9fecb2d31b7266681ca33e5faa48e87df2cf
MD5 0efd0926dce55fec1e3978a2fb28ffe2
BLAKE2b-256 f97cdbbf0846b5efc3794dc6e01f564857e26be93fee1926cbee2c2799065cb1

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