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, health, and interrupt 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.

When a member's turn goes the wrong way, oneagentgraph interrupt RUN MEMBER --input "do this instead" redirects it in place instead of discarding it the way cancel does. Exit 3 means there was no controllable turn in flight, and says which — a fact, not an error.

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

Uploaded Python 3Windows x86-64

oneagentgraph_cli-0.2.3-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.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

oneagentgraph_cli-0.2.3-py3-none-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

oneagentgraph_cli-0.2.3-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.3-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d7afef37828ad072de55e250024e2e79422d15bf3f8044d65200086eb44e2f0b
MD5 5268caf3e68e0ec09752a3d2ded6cbf5
BLAKE2b-256 9478cdb229dec1f74f3907536d82ab9b4e4b746f2d4131025d1750d52a23bde0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5bc236e70e3f852b228d67468caee04efec39d6d824e7d2749bce7ea930b9b4c
MD5 2811c7d9c1b469f43a66d5a338e4d584
BLAKE2b-256 30d1cece74c8c6fdd13f2c2a39426879eff739ec2a378c83c960fed824715262

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 303fa93fd51f85578b6e3df4de249bac415bea8abbf677e02bb78ebb88a0a6dc
MD5 6c93969e8e4bb79ceecae3acfbd6e0b8
BLAKE2b-256 1f889b70ccf3c77e4560f922c0cebbc5f6104ce5837a2542d6aadcea059b7f8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5052440c3aa3125dab80c71e4f59428564b834bfa77e7218d1de2090a6cdca06
MD5 609e077fb1491a0b3c3035fb683cd5ca
BLAKE2b-256 0e10bc77658418b0af2aea4ab236337efe34f1812adea65d81467c94dfc2ff32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.2.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0103f6b84dbbb4f9a9808cab3c86faf96190dd83bef81d7e2b326d1d6c7e2576
MD5 64caf438a62d634b4fe3c5dcc722d980
BLAKE2b-256 6071f9bf74cfc360685e8c5b9ab0cb5e216c824cebc7efa4a2137511924b59cc

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