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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

oneagentgraph_cli-0.2.0-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.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d43f9a03900ae34655da8c116c4085945229d3f5aa4759766a1f97a89d69ad9a
MD5 37685f4966f9b14798fb38ae94573535
BLAKE2b-256 9d3cc79698076dccfad77256af9312ff54270fce5262e6cfa8991f370b951b56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 082cedd6d8378c2060f0750b6abb958041dda6953a409252696552d97d22ca84
MD5 073775af5ef1682e5fe27f85ecd2e220
BLAKE2b-256 669c0ef4d45639069694815a2a2481fc826ccf6b6a2d1d6fa1b63ec3c2a929af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6a3d784d26fbc8029003306abb6d349165616827d3b9c09f3df09c0836491bdc
MD5 8d8d520eca870bef0afa75e08796a00e
BLAKE2b-256 3cc20c611c04cdcbf6c052fdcf1f4e17ccc39b8daa883b357246b2454345299e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dd728cfc156434d459c503d168629532940fbd2b1969e0fb450c65fa84039162
MD5 ad153f2c092c8e686d77fb8ed77d0972
BLAKE2b-256 f2881377fbc5da53a9105de2525c5514014199eb9ba6fe8a29eff1355b4696c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2baf1ada07b5112c694ff73cde0d2c65a90a5f84c4a46d78801b5dd95caad8c0
MD5 c32c6c5deb9a24e4a62011a24793daec
BLAKE2b-256 da9d44528d3654bcc5ce0b35a0846241afa788e0272a8e0b75049cce5e7e3dfe

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