CodeTether Agent
  • Rust 89.1%
  • Python 3.8%
  • JavaScript 2.3%
  • Swift 1.9%
  • Shell 1.2%
  • Other 1.5%
Find a file
2026-11-10 23:19:06 +00:00
.cargo feat: run Bonsai directly on CUDA with a runnable TetherScript entrypoint 2026-09-21 03:49:12 +00:00
.codetether chore(agent): establish signed agent identity for worktree commits 2026-04-16 17:22:38 +00:00
.codetether-diagnostics chore: update 40 files 2026-07-22 04:23:59 +00:00
.codetether-evidence chore: commit current workspace changes 2026-08-18 15:30:44 +00:00
.forgejo docs: document Forgejo and native macOS installation 2026-11-10 23:00:16 +00:00
.github fix duplicate folder issue 2026-11-09 17:40:45 +00:00
archive/prds chore: clean up top-level clutter 2026-04-21 03:12:28 +00:00
benchmarks/codex-parity feat: add Codex parity benchmark runner and Rust task fixtures 2026-07-17 18:37:20 +00:00
crates fix: give agent shell commands the rotated Vault token 2026-11-10 22:58:41 +00:00
deploy docs: add SearXNG deployment and websearch configuration guide 2026-10-25 16:47:20 +00:00
doc Implement LocalCudaProvider and fix all compilation errors 2026-02-23 01:05:08 +00:00
docker fix: repair Windows workspace build and binary-only packaging 2026-10-31 20:37:41 +00:00
docs docs: document Forgejo and native macOS installation 2026-11-10 23:00:16 +00:00
evidence/spotless-author-conversation chore: add spotless Forgejo author conversation hardening and worker proof patch scripts 2026-07-19 17:08:28 +00:00
examples chore: checkpoint all pending worktree changes 2026-10-31 05:00:07 +00:00
extensions/codetether-rust chore: checkpoint all pending worktree changes 2026-10-31 05:00:07 +00:00
home/riley/spotlessbinco chore: add empty Gemini backends report placeholder files 2026-08-01 13:57:30 +00:00
ios feat: Groq provider, Vault AppRole login, web-search fallback, Monarch auth refresh 2026-11-07 23:49:31 +00:00
kernels/sm75 research: measure sm_75 bank conflicts and derive tile geometry limits 2026-07-29 19:19:19 +00:00
new-image-output added gemini image, add sub agent and swarm readiness 2026-10-25 05:38:27 +00:00
npm/codetether fix: use GitHub for user-facing release downloads 2026-09-14 13:58:25 +00:00
policies fix: track policies/data.json required by include_str in policy.rs 2026-02-10 22:50:06 +00:00
scripts docs: document Forgejo and native macOS installation 2026-11-10 23:00:16 +00:00
tools/trace-viewer fix: harden gemini web tool protocol 2026-07-22 19:34:47 +00:00
vendor chore: bump codetether-agent to dev.41 and refresh Cargo dependencies 2026-08-21 15:43:24 +00:00
windows/CodeTether.Companion feat: extract codetether-worktree crate and rebuild companion clients 2026-10-10 01:11:03 +00:00
.claude-prompt.md feat: audit worktree isolation, sandboxing, and gating 2026-05-02 17:59:53 +00:00
.claude-tui-batch1.md feat: 8 TUI UX enhancements 2026-05-04 04:23:39 +00:00
.claude-tui-batch2.md feat: 8 TUI UX enhancements 2026-05-04 04:23:39 +00:00
.codetether-todos.json fix: transparent restart on premature stream termination 2026-07-04 14:16:06 +00:00
.dockerignore fix: remove 'examples' from .dockerignore 2026-05-01 06:51:10 +00:00
.gitignore fix duplicate folder issue 2026-11-09 17:40:45 +00:00
AGENTS.md fix duplicate folder issue 2026-11-09 17:40:45 +00:00
Cargo.lock fix: give agent shell commands the rotated Vault token 2026-11-10 22:58:41 +00:00
Cargo.toml feat: integrate read-only Monarch MCP with configured OAuth secrets 2026-11-05 22:15:04 +00:00
CHANGELOG.md docs: update README and CHANGELOG for v4.0.0 2026-02-23 01:45:48 +00:00
check_file_limits.sh refactor: prepare checks for application crate relocation 2026-10-18 13:40:29 +00:00
codex_tui_resume_issue.md refactor: split context_trace.rs + adapter_provider.rs for SRP/50-line limits 2026-05-12 18:57:36 +00:00
commit.sh fix duplicate folder issue 2026-11-09 17:40:45 +00:00
Dockerfile refactor: relocate application package into crates 2026-10-18 13:43:30 +00:00
Dockerfile.worker-hookgate too many changes 2026-10-06 02:59:45 +00:00
Dockerfile.worker-prebuilt fix(worker): prevent task-slot deadlocks (#347) 2026-07-28 01:15:07 -05:00
Dockerfile.worker-tools fix(worker): refuse commits and pushes that skip repository hooks 2026-09-23 18:38:00 +00:00
draft-seaburg-codetether-agent-provenance-00.pdf feat: consolidate fips provenance and copilot tool handling 2026-09-22 22:40:12 +00:00
enhancements.md docs: add enhancements.md with context compression improvement roadmapdocs: add enhancements.md with context compression improvement roadmap (typed state headers, token calibration, RAPTOR rollups, write-time salience, semantic scorer, navigable dropped ranges, model-relative thresholds, RLM recursion, recall-fidelity evals) 2026-06-14 01:05:27 +00:00
forgejo-cli chore: add Forgejo CLI and RustyRoad executable 2026-09-06 01:46:49 +00:00
gap-bridge.md fix: address computer use review feedback 2026-04-26 22:39:10 +00:00
gemini-backends-report.md chore: add empty Gemini backends report placeholder files 2026-08-01 13:57:30 +00:00
gemini-image fix duplicate folder issue 2026-11-09 17:40:45 +00:00
install.ps1 fix duplicate folder issue 2026-11-09 17:40:45 +00:00
install.sh docs: document Forgejo and native macOS installation 2026-11-10 23:00:16 +00:00
Jenkinsfile fix duplicate folder issue 2026-11-09 17:40:45 +00:00
latency-probe.mjs feat: audit worktree isolation, sandboxing, and gating 2026-05-02 17:59:53 +00:00
Makefile fix duplicate folder issue 2026-11-09 17:40:45 +00:00
README.md docs: document Forgejo and native macOS installation 2026-11-10 23:00:16 +00:00
release.sh fix duplicate folder issue 2026-11-09 17:40:45 +00:00
RELEASE_NOTES.md docs: release notes for v4.7.4 2026-07-06 11:20:07 +00:00
RELEASE_NOTES_v4.6.3.md chore: bump version to 4.6.3 and fix Docker ALSA build dependency 2026-04-24 19:27:32 +00:00
RELEASE_NOTES_v4.7.5.md chore(release): prepare v4.7.5 2026-09-08 05:21:18 +00:00
rust-toolchain.toml perf(tool): cap tool-result output at 64KB by default 2026-04-18 04:53:55 +00:00
rustyroad-bin chore: bump vendored rustyroad binary to 1.8.6 2026-10-09 12:57:47 +00:00
spotless-4453-target chore: preserve codetether/mux-spotless-4453-0-aebb2e0c worktree changes before collapse 2026-08-09 21:58:18 +00:00
update-vault.ps1 fix: use GitHub for user-facing release downloads 2026-09-14 13:58:25 +00:00
wait-and-review.sh feat: add Kubernetes tool for managing K8s resources and integrate worktree support in TUI 2026-04-07 17:14:34 +00:00

CodeTether Agent

Forgejo Releases Crates.io License: MIT

CodeTether Agent is an A2A-native AI coding agent for terminal-first software work. It ships as one Rust binary, codetether, and combines an interactive TUI, one-shot prompts, persistent mux sessions, managed Git worktrees, provider-backed model routing, MCP, A2A workers, swarm execution, and a TetherScript plugin runtime.

CodeTether terminal interface

What it is

CodeTether is built for developers who want an agent that can stay close to the repository and keep working across longer tasks:

  • Interactive by default: running codetether starts the TUI.
  • Scriptable when needed: use codetether run "..." for one-shot work.
  • Session-oriented: mux sessions let you detach, reconnect, and steer work.
  • Multi-agent capable: swarm, Ralph, Forage, and A2A cover autonomous and distributed workflows.
  • Tool-aware: native tools, browser control, Windows automation, MCP, and TetherScript plugins run through the same agent runtime.
  • Security-conscious: Vault-first provider secrets, mandatory server auth, audit logs, policy hooks, approvals, and managed worktree isolation are part of the normal operating model.

Install

Get current binaries from Forgejo releases. Linux x86_64, Apple Silicon macOS, Intel macOS, and Windows x86_64 packages are published with SHA-256 checksums. The Unix installer below downloads from Forgejo and includes development prereleases. Registry packages and the GitHub mirror can lag behind Forgejo.

Windows

For the Forgejo build, download the Windows MSI or setup ZIP from the release assets.

The existing PowerShell installer remains GitHub-backed. To use that separate installation path, open PowerShell normally, not as Administrator:

irm https://raw.githubusercontent.com/rileyseaburg/codetether-agent/main/install.ps1 | iex
codetether --version

If the command is not found or resolves to an old binary, use Windows installation and PATH checks. To update only an existing Vault token, see update Vault on Windows.

Linux (x86_64)

curl -fsSL https://forgejo.quantum-forge.io/riley/codetether-agent/raw/branch/main/install.sh | sh
command -v codetether
codetether --version

If the command is not found or resolves to an old binary, use Unix installation and PATH checks.

macOS (Apple Silicon and Intel)

Open Terminal and run as your normal user; no Rust toolchain or Xcode is required:

uname -m
curl -fsSL https://forgejo.quantum-forge.io/riley/codetether-agent/raw/branch/main/install.sh | sh
command -v codetether
codetether --version

The installer selects the correct Forgejo archive and verifies its SHA-256:

Mac Release target
Apple Silicon (M-series, arm64) aarch64-apple-darwin
Intel (x86_64) x86_64-apple-darwin

On Apple Silicon, prefer a native Terminal rather than “Open using Rosetta.” The installer also detects Rosetta and selects the native ARM64 binary. Installation normally uses /usr/local/bin and may request sudo. For a no-sudo install to ~/.local/bin, pinned-version downloads, zsh PATH setup, and troubleshooting, see macOS-specific installation.

macOS packages are unsigned and not notarized. Do not disable Gatekeeper or remove quarantine blindly; see the guide before approving a downloaded binary.

Cargo

cargo install codetether-agent

From a checkout:

git clone https://forgejo.quantum-forge.io/riley/codetether-agent.git
cd codetether-agent
cargo install --path crates/codetether-agent

Optional features are explicit. The default feature set includes TetherScript. Local model, QUIC, and FIPS builds opt in separately:

cargo install --path crates/codetether-agent --features candle
cargo install --path crates/codetether-agent --features candle-cuda
cargo install --path crates/codetether-agent --features quic-transport
cargo install --path crates/codetether-agent --features fips

FIPS builds require CMake, Go, and a C compiler. See FIPS.

First run

Configure credentials before asking the agent to call a model. CodeTether loads provider secrets from HashiCorp Vault first; local environment fallbacks are for development convenience and can be disabled.

codetether vault --help
codetether auth --help
codetether models

Then start the interactive UI:

codetether
# or
codetether tui

For a single prompt:

codetether run "inspect this repository and summarize the main entry points"

For hardened deployments that must use Vault only:

export CODETETHER_DISABLE_ENV_FALLBACK=1
codetether serve

Credential guides:

Common commands

codetether                  # start the TUI
codetether tui              # start the TUI explicitly
codetether run "..."        # one-shot prompt
codetether models           # list configured models
codetether mux --help       # manage persistent mux sessions
codetether worktree --help  # manage Git worktrees and editor integration
codetether serve --help     # authenticated HTTP API server
codetether worker --help    # A2A worker mode
codetether mcp --help       # Model Context Protocol server/client
codetether browserctl --help
codetether windows --help

Autonomous and analysis commands:

codetether swarm --help     # parallel sub-agent execution
codetether ralph --help     # PRD-driven autonomous loop
codetether forage --help    # OKR-guided opportunity scanner/executor
codetether okr --help       # objectives and key results
codetether rlm --help       # recursive large-content analysis
codetether search --help    # routed grep/glob/web/memory/RLM search
codetether benchmark --help

Setup and operations commands:

codetether config --help
codetether auth --help
codetether vault --help
codetether approval --help
codetether connect --help
codetether pr --help
codetether cleanup --help

Feature areas

TUI and sessions

The TUI is the default front door for day-to-day work. Mux sessions make agent and shell work durable so you can disconnect, return, and steer later.

Docs:

Agents, A2A, MCP, and autonomy

CodeTether can run as an interactive local agent, an A2A worker, an MCP server/client, or an autonomous loop. Ralph works from PRDs; Forage selects work from OKRs; Swarm splits tasks across isolated workers.

Docs:

Tools and plugins

Native tools cover files, shell commands, browser control, Windows desktop/OCR, Git, worktrees, search, model calls, and approvals. TetherScript plugins add repeatable tools without changing or rebuilding Rust code.

Docs:

Local inference and specialized builds

Remote providers are the default path, but the crate also exposes opt-in local model features through Candle and Bonsai-oriented commands.

Docs:

Security model

CodeTether assumes credentials and tool execution need explicit boundaries:

  • Provider secrets are Vault-first.
  • HTTP server auth is mandatory except for /health.
  • Audit events are append-only JSON Lines records.
  • Policy checks can be enforced through OPA.
  • Tool execution supports approvals and runtime policy.
  • Agent work is isolated with managed worktrees where appropriate.
  • FIPS builds can require the AWS-LC FIPS module at startup.

Start with Vault CLI, FIPS, and computer-use safety for operational details.

Development

This repository is a Rust workspace. The main crate publishes the codetether binary and the codetether_agent library. Workspace crates include A2A worker core, browser support, and RLM support.

Useful local checks:

cargo fmt
cargo test --doc
cargo test <focused_filter> --lib
./check_file_limits.sh

Avoid assuming all optional features work on every workstation. CUDA, local model, QUIC, and FIPS feature sets may require extra system toolchains.

Repository shape:

crates/codetether-agent/  application composition, CLI and integration tests
crates/   workspace support crates
docs/     installation, security, plugin, transport, and operations guides
vendor/   vendored build dependencies used by selected workflows

Documentation map

License

MIT. See the package metadata in Cargo.toml.