Skip to main content

Git Harness

One CLI for your coding-agent sessions. Keep agents connected and context portable.

Git Harness connects local Codex, Claude Code, OpenCode, Pi and Antigravity sessions. Address a running agent by its directory, send work from another terminal, and carry supported conversation history when you switch harnesses. The CLI is deterministic; it does not call a model to coordinate agents.

  • Reach the right conversation. Check availability and message an existing TUI.
  • Automate routine follow-ups. Watch files or schedule messages with timers.
  • Keep your work moving. Checkpoint context and resume it in another supported harness.
  • Stay in control. Stop owned watchers/timers without killing the harness or deleting history.

Quickstart

Install uv and a supported native client. From your project:

uv tool install git-harness
git-harness config --harness codex
git-harness run --harness codex

You can pass a downloaded release wheel to uv tool install instead of the package name. Grant the client's normal project/hook trust when prompted; configuration does not bypass it. git harness works as an alternative command. Run git-harness prime for examples or git-harness COMMAND --help for options.

One project, two agents

Keep a manager in agents/manager/1 and a developer in agents/developer/1. After configuring and starting both sessions in their launch directories, send work from the project root:

git-harness message \
  --target agents/developer/1 \
  --from agents/manager/1 \
  "Fix the failing parser tests and report the result."

The message addresses the developer's registered conversation. The from value gives it a reply target; delivery does not launch a replacement agent. To change harnesses later, use explicit sync and run with the documented history and ownership checks. See the context guide.

Five harnesses, explicit boundaries

Harness Verified native version Mode
Codex 0.165.0 Owned embedded TUI
Claude Code 2.1.295 Explicit Channels opt-in; verified idle tmux fallback
OpenCode 2.0.23 Configured native TUI/service
Pi 0.80.6 Configured native extension
Antigravity 1.5.20 Configured native TUI commands

Native integration is verified on these Linux ARM64 and macOS Intel builds and configured modes. The five native components and shared history cycle have separate accepted evidence on each OS; this does not verify every terminal, attachment mode or architecture. Python 3.11+ is required; portable CI covers Linux/macOS on 3.11–3.13. Windows integration remains unverified. See the verification scope for exact pins, evidence and release gates.

Admission can be uncertain; do not retry blindly. History transfer has explicit losses: for example, displayed Antigravity trigger replies can be absent from persisted Native and portable history. The guides explain the exact boundaries.

Go further

MIT licensed. Portable history adaptation retains the upstream session-migrate notice.

Metadata

Release files for git-harness 1.0.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 git-harness 1.0.0
File Size Uploaded Provenance Actions
git_harness-1.0.0.tar.gz 318.5 kB With provenance Details for git_harness-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for git-harness 1.0.0
File Interpreter ABI Platform Actions
git_harness-1.0.0-py3-none-any.whl Python 3 none any Details for git_harness-1.0.0-py3-none-any.whl

Total release size: 636.5 kB

Release files / git_harness-1.0.0.tar.gz

Download URL git_harness-1.0.0.tar.gz
Size 318.5 kB
Tags Source
SHA-256 checksum
How to use checksums
61105cb4dd2a0b3baa6f62232ccfa33adc3b7244e7d66ba9e67d633e2ad8bf59
BLAKE2b-256 checksum
How to use checksums
fc664ab9a532f293dbd1e3127156539b780ae98d6e8576b06d14a8cc586c23e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Release files / git_harness-1.0.0-py3-none-any.whl

Download URL git_harness-1.0.0-py3-none-any.whl
Size 318.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
334e67d27cf2fb40efb35daf03f609a4daf3e9faaa4c13b6b8eec4b28ddb0f09
BLAKE2b-256 checksum
How to use checksums
2415d5404ada113c98675179516fe0243a8a32498f1979c0f9a8305e5486db68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Security for git-harness 1.0.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for git_harness-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

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

1.0.0 This release

2 release files Full 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