Skip to main content

Connect local AI agents (Claude Code, Codex, etc.) to TwinCo

Project description

twinco-bridge

Connect local AI agents (Claude Code, Codex, etc.) to TwinCo.

Install

pip install twinco-bridge

Quick start

# Authorize this machine
twinco-bridge connect --server https://your-twinco-server.com

# Start the bridge
twinco-bridge

Live task output

While the bridge runs in a terminal, every task your twin dispatches is rendered live — the twin's prompt, the agent's responses, and each tool call as it happens:

--- task 4739dacc | claude-code | cwd=~/projects/platform-api ---
[4739dacc] TWIN -> AGENT
[4739dacc]   Analyze and fix this failing auto_delivery_action: ...
[4739dacc] [tool] Bash {"command": "git diff"}
[4739dacc] AGENT Looking at the parser change first...
[4739dacc] done | 146s | 12 tool calls | tokens in=26097 out=4521 | session=179206d4

Flags:

  • --quiet — disable live output entirely
  • --show-reasoning — include the agent's thinking blocks
  • --show-tool-results — include truncated tool outputs
  • --stream — force rendering when stdout is not a TTY (it is auto-disabled for pipes/log files otherwise)

Concurrent tasks are distinguished by the [call_id] prefix on every line.

Supported agents

Agent Binary Status
Claude Code claude Supported
Codex codex Supported
OpenClaw openclaw Supported
Hermes hermes Supported

The bridge auto-discovers installed agents on your PATH.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twinco_bridge-1.1.0.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

twinco_bridge-1.1.0-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file twinco_bridge-1.1.0.tar.gz.

File metadata

  • Download URL: twinco_bridge-1.1.0.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for twinco_bridge-1.1.0.tar.gz
Algorithm Hash digest
SHA256 316abdbc8f001936a135fe35918508bbdd1f48ca1445fea691e7ce3da935f767
MD5 6a79d7f6fad3fa39e67a9cba2708abd8
BLAKE2b-256 cb1b984be315503914d2e062dfdea4c3cf83293dfa3961320bda712103c4ed98

See more details on using hashes here.

File details

Details for the file twinco_bridge-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: twinco_bridge-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for twinco_bridge-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df21bce3920b725a1919a95b50818f1a241ed59963ca051f719f0683d3db5815
MD5 fb0a202a7258e769cef1e4481114837f
BLAKE2b-256 30d3d843e0b2a2b76968f30e5ebca0964458435434bdae9c9f5dfa79a9b1d1a4

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 Pingdom Monitoring Sentry Error logging StatusPage Status page