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 -U 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.2.tar.gz (28.4 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.2-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: twinco_bridge-1.1.2.tar.gz
  • Upload date:
  • Size: 28.4 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.2.tar.gz
Algorithm Hash digest
SHA256 2bd6003905201b01c21d0125033cdddbbb42ad4a0ea4aa8f4db4e43edb2eeabf
MD5 8ce11376a5e95d2b879bc75822d5f73f
BLAKE2b-256 de15666775317a32148687701a1e92d5afb25a706229857d62853db174a342b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: twinco_bridge-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 30.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1eaeb529e682575570363f1e0580988b62e266f831ec567b7585a639d352360d
MD5 e729f6bd3d7076c611da58c3a5799b90
BLAKE2b-256 15a3fb6ae5e867a86abb7f078fd71530fbc3f022942c4ad81916a36c01906ec0

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