Skip to main content

herdr-agent-bridge

English · 简体中文

A beaver delivering an envelope across a bridge

Run Pi or Codex on your machine from a Hermes or Grok chat. Ask for a change, let the agent work in a local terminal, and get the diff and check results back in the conversation that asked for them.

A task from chat to checkout

sequenceDiagram
    actor User
    participant Chat as Hermes or Grok
    participant Bridge as Local bridge
    participant Agent as Pi or Codex via hc
    User->>Chat: Fix the upper bound and run the unit tests
    Chat->>Bridge: Start a request in the bound project
    Bridge->>Agent: Submit one round
    Agent-->>Bridge: Return evidence for that round
    Bridge-->>Chat: Notify the original conversation
    Chat->>Bridge: Read the diff and run the named checks
    Chat-->>User: Report changes and test results
    User->>Chat: Add a test for equal bounds
    Chat->>Bridge: Continue the request
    Bridge->>Agent: Resume work in the same session
When you need to… What the bridge gives you
Follow up on a fix A request keeps its native session and parent round. Ask for the next change without pasting the previous conversation.
Check the agent's work The bridge compares the worktree to its baseline, checks the allowed paths and records the exit status of your named commands. You can inspect the evidence before accepting a change.
Work on two projects Independent projects can run concurrently. One active development task per project prevents two bound callers from writing the same project at once when its shared task slot is enabled.
Take over or reconnect Pause automatic input, inspect the live terminal and hand it back after reconciling the session. If a send times out, inspect the original request before retrying.

Try it locally

Install uv and herdr-core (hc). With Git on your PATH, run:

uv tool install --python 3.11 'git+https://github.com/M1racleShih/herdr-agent-bridge.git@v0.1.0'
export PATH="$(uv tool dir --bin):$PATH"
herdr-bridge --version
herdr-bridge tool smoke_hc --output "$(mktemp -d)/results.json"

Expect herdr-bridge 0.1.0 and a JSON result with "passed": true. The smoke sends a task and a follow-up to a small local program, checks that blocked input is refused and cleans up its own terminal. It requires no bot, model or API key. Each invocation writes its report to a new temporary directory and prints the path.

Give this to your agent: “Follow the v0.1.0 installation guide. Install the CLI with uv and run the local smoke. Show me the version and checks before connecting a bot or using a model.”

For a first coding task, select an authenticated Pi or Codex CLI and a disposable Git project. Register a named check, set the allowed files, submit a round and verify the result using the project guide. The installation guide also covers installing a release wheel and finding the bundled agent skill.

Compatibility

Execution mode Pi Codex CLI
Read-only tasks with correlated replies Isolated SDK Isolated CLI
Development in the normal agent environment Native Native
Development with the restricted SDK tool set Supported Unavailable
Direct native commands through the bridge /name /fast, /goal, /model

The Linux integration baseline includes herdr-core 0.1.22, Pi 1.5.2 and Codex CLI 0.171.0. Hermes Desktop and Grok Bot have each dispatched work to both native agents and received verified results back in the original chat. Hermes uses a local relay. Grok needs its desktop device connection and an HTTPS routine. Allow for device disconnects during callbacks.

Python 3.11+ is required. The Linux and macOS local smoke supports a POSIX terminal. The real-agent baseline covers Linux. Pi requires Node.js and a short, linear history for result correlation. A fork, compaction or unsupported context edit can stop verification. Other agent adapters are open for contribution.

Guides

Goal Start here
Install, diagnose PATH issues or locate the skill Installation
Bind one or more projects, submit, verify or recover Project operations
Connect a chat and handle completion notifications Bot instructions · Grok management
Inspect native evidence, contracts or takeover controls Pi integration · Development tasks
Give an agent the operating instructions Bundled skill
Run the suite or contribute an adapter Contributing · Security

Release notes · Apache-2.0 license · Logo assets

Metadata

Release files for herdr-agent-bridge 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for herdr-agent-bridge 0.1.0
File Size Uploaded Provenance Actions
herdr_agent_bridge-0.1.0.tar.gz 529.3 kB Without provenance Details for herdr_agent_bridge-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for herdr-agent-bridge 0.1.0
File Interpreter ABI Platform Actions
herdr_agent_bridge-0.1.0-py3-none-any.whl Python 3 none any Details for herdr_agent_bridge-0.1.0-py3-none-any.whl

Total release size: 697.8 kB

Release files / herdr_agent_bridge-0.1.0.tar.gz

Download URL herdr_agent_bridge-0.1.0.tar.gz
Size 529.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9999b74521c4ee35b35c94ca02d582e7b688823932ae2ca332afc16c42bf3d91
BLAKE2b-256 checksum
How to use checksums
68d13d5898e1a7d2f3e9085ce96d8dd9261989f5cd50bc1cc48dbdf40e312723
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / herdr_agent_bridge-0.1.0-py3-none-any.whl

Download URL herdr_agent_bridge-0.1.0-py3-none-any.whl
Size 168.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e61af7650d67c581478718c1b40627b31f9dffe4facddeea50bc0b20eca8e748
BLAKE2b-256 checksum
How to use checksums
a7c5a7056c738914c5c2ac316b4734af86d2dea6a62f5cdaa2a68730e3546276
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for herdr-agent-bridge 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page