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.

Interface-only. This repository currently ships the contract and the types, config schema, and CLI surface that implement it — and nothing behind them. Every command parses per the contract and then refuses with NOT IMPLEMENTED and exit code 3. Install it to pin the interface; do not wire it into a pipeline expecting work to happen. See docs/contract.md.

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.

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.

The full surface — the shared event envelope, the graph schema, every CLI command, the event kinds, and the liveness rules — is docs/contract.md.

Develop

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

AGENTS.md is the durable instruction layer for anyone — human or agent — working here.

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

Uploaded Python 3Windows x86-64

oneagentgraph_cli-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (382.7 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

oneagentgraph_cli-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (362.4 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

oneagentgraph_cli-0.1.0-py3-none-macosx_11_0_arm64.whl (358.1 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

oneagentgraph_cli-0.1.0-py3-none-macosx_10_12_x86_64.whl (377.9 kB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 fb60ef2644a4fbda2e3ad6791d6fe510170c39ec6ea98393aa5266104dfdddf2
MD5 077a3527527fad754e044c9831f6596c
BLAKE2b-256 90a997748a4cec2ab07184c315d3487417f44e6db3d823ab4a862c754b6d17cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8a6a8f493cdb1793e0a0c1a3b3bd4283231ebf1e4e9c77c085351b73834c23a2
MD5 0643cb2965b55ca53ade6a8d467088c1
BLAKE2b-256 66635501b16ab4478863f867da914390843cf41d844fea0ee927e75e469092e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a1f2d74d39afb285499d5bdcfd41e6dcee579ae57e4878924421ad8af714c51d
MD5 fcf04fbba2ce65561fbc10cfa9d5da5e
BLAKE2b-256 c94dd97c59096c8eab674d51f79d062efb40639bba5644a2f4bda5b8116b81b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cc8e9808902ab3016a352f05a802254082910e0aa475d270091426a33feb7c91
MD5 990f029ffece119aeed2c6f6d5eb356b
BLAKE2b-256 fae1149e16520b7051f9e29022782422c54020e8542e57f644db3f518a8bbe4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oneagentgraph_cli-0.1.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 04b3be3757e7eb7a2ec5396a77f69d01d66b3fc55132a907ae0d5cc0ac1c474a
MD5 af9a14b23fe47dadc658468376a107e4
BLAKE2b-256 27984ceeca49555fa53909cd8a48104339e817badf92b327b268dac9fc1777b2

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