Skip to main content

Pocket Agent local daemon for pairing your machine and continuing AI coding sessions from the browser.

Project description

Pocket Agent Connector

connector/ is the publishable Python project for the Pocket Agent local daemon, and its pocage package contains the runtime code. It pairs with backend, connects over an authenticated WebSocket, talks to an ACP-compatible agent backend, and streams ACP updates back to backend. Today the only supported agent is codex.

Environment

This module is managed as its own uv project. Keep its virtual environment isolated from backend/.

Pair and Run

Run from connector/:

uv sync
uv run pocage pair --agent codex --api-url http://127.0.0.1:8000 --pairing-code <code-from-web>
uv run pocage --agent codex

Use the API URL that matches your chosen mode:

  • local development with .env.local: http://127.0.0.1:8000
  • Docker Compose with .env.compose: http://127.0.0.1:8080

The matching templates live at the repository root as .env.local.example and .env.compose.example.

Before the first run, install the codex ACP backend globally so it is available on PATH:

npm install -g @zed-industries/codex-acp

Package Development

  • uv sync installs pocage into this environment as an editable package for local development.
  • The pocage console script is defined in pyproject.toml.
  • Use uv run pocage ... for day-to-day debugging against local source changes.

Release Verification

Before publishing to PyPI, verify the non-editable install path:

./scripts/verify-release-install.sh

The script:

  • builds both sdist and wheel
  • creates fresh temporary virtual environments
  • installs each artifact as a non-editable package
  • runs uv pip check
  • verifies import pocage resolves from site-packages, not the source tree
  • runs pocage --help as a console-script smoke test

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

pocage-0.1.1.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

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

pocage-0.1.1-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file pocage-0.1.1.tar.gz.

File metadata

  • Download URL: pocage-0.1.1.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pocage-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d5317c39b9dbeb5e9990b66b1718106368ce8e70115786397ec83e80180389ff
MD5 16a1dca574f7e1bacaa75943ae46e2ed
BLAKE2b-256 72e4f5db39bb19688933cf2a2e41ac385f037854f4a998b4d1214c1102d0d996

See more details on using hashes here.

Provenance

The following attestation bundles were made for pocage-0.1.1.tar.gz:

Publisher: publish-pocage.yml on computbiol/pocage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pocage-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pocage-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pocage-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ce221c3b26fd3563f07eff65868c13259cceee2ca4c74296bc0dd3c6b625ad0
MD5 7ae56fe90b83f121fad5c12803099994
BLAKE2b-256 e4b2b1f2117675d31f0de4e89e9492ab99e62bd6a6f495aa8532f02fa171670a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pocage-0.1.1-py3-none-any.whl:

Publisher: publish-pocage.yml on computbiol/pocage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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