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

Uploaded Python 3

File details

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

File metadata

  • Download URL: twinco_bridge-1.1.1.tar.gz
  • Upload date:
  • Size: 28.0 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.1.tar.gz
Algorithm Hash digest
SHA256 dfeea9ec628135639f19d7e6e275ca580bd83ae1bb14ae136542ab51d0559fbc
MD5 0fafa72d0b68116a5bf65b09f29cd1ab
BLAKE2b-256 3bada0f5b50ee1e10b396318283a67878b51e36a91757969ed809db4b40d41cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: twinco_bridge-1.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 28791e01428fe23cf04c11c8bf8f38501fa7d75a1a09c78926abf6b5fbe5b64b
MD5 3b51fac5dcd20aec6365e787b73dd9f8
BLAKE2b-256 f4048a1e94f6ec5f36cd0f9f72e7c7b5ba727373a5951cbad0b4aef8516f03a2

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