herdr-agent-bridge
English · 简体中文
Let your personal agent operate another agent in its native terminal. In Herdr App, you and your personal agent can work with the same running coding session. The coding agent keeps its usual tools and settings. Your personal agent can send a task, inspect what changed and decide what to ask next. You can open that terminal and take over.
Why I built it
Herdr App is where I do my development work. When a coding agent finishes a fix, I usually read the diff, look at the test output and decide whether to ask for one more edge case. I wanted my personal agent to do that part the way I do it, with the project and the conversation still in front of it. The bridge gives it access to that working session and the evidence it needs to make the next decision.
A task from chat to checkout
| When you need to… | What the bridge gives you |
|---|---|
| Use a feature of the native TUI | Bind the terminal to a Herdr App space. Your personal agent can invoke supported native commands there, such as naming a Pi session with /name or enabling Codex Fast with /fast. You can watch the effect in the same terminal. |
| 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, use the TUI yourself and hand the same session back after checking its state. Permission and trust prompts remain yours to answer. If a send times out, inspect the original request before retrying. |
Try it locally
Install the required runtime herdr-core on the machine that runs the coding sessions. The bridge uses its hc executable to open and control terminals. The tested Linux baseline is hc 0.1.22. Install uv to manage the Python CLI.
Use uv to install the CLI from PyPI.
hc --version
uv tool install herdr-agent-bridge
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.1 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 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.
Which agents can work together?
In principle, any agent that can call the project entry can direct another agent with a compatible session adapter. The first application is software development. A personal agent manages the task through an authorized project entry. A coding agent does the work in its native session. Extending the caller side means connecting another personal agent to the project entry and arranging how results get back to it. Extending the execution side means adding an adapter that can launch an agent, direct input to the right session and recognize its replies.
- Tested personal agents. Hermes Agent (Desktop Bot Chat) and Grok Bot have each dispatched work to both supported coding agents and received verified results in the original chat.
- Supported coding agents in 0.1.1. Pi and Codex CLI. The table lists the execution modes and native commands exposed by their adapters.
| 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 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. We plan to support more personal agents and coding agents. To contribute an integration, start with the caller binding or the coding-agent adapter guide.
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 |
Metadata
Release files for herdr-agent-bridge 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| herdr_agent_bridge-0.1.1.tar.gz | 4.8 MB | Without provenance | Details for herdr_agent_bridge-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| herdr_agent_bridge-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for herdr_agent_bridge-0.1.1-py3-none-any.whl |
Total release size: 4.9 MB
Release files / herdr_agent_bridge-0.1.1.tar.gz
| Download URL | herdr_agent_bridge-0.1.1.tar.gz |
|---|---|
| Size | 4.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f0d829eea1f671ea4f9dc652801eec5e88c5ac38b5f58940b8cd996267bf8a1
|
|
BLAKE2b-256 checksum How to use checksums |
433fbcb4d707c6fe6dc1a15c45ef5994dec5817a8d2cb4314447b76eb4d154d1
|
| 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.1-py3-none-any.whl
| Download URL | herdr_agent_bridge-0.1.1-py3-none-any.whl |
|---|---|
| Size | 169.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f0edc07effc9a49a8439435e36776dc720aeac18aef327e3156f52e65576300
|
|
BLAKE2b-256 checksum How to use checksums |
5f85f0cec014c55156c33d6523e49d4b6a4f099d15d52c84140846523a560315
|
| 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.1
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.