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/pocage is the publishable Python package for the Pocket Agent local daemon. 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/pocage/:

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.0.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.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pocage-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 240255d3d03b20ad542e8cf1e5fd006203811b6b5464f51872560bc634b58cb0
MD5 afbd29d16683ac1b5e456b798f445f22
BLAKE2b-256 d564173eca8cc7e58e4b5351a63b5c7047934114cf3a0e6bc8e0e892f433f480

See more details on using hashes here.

Provenance

The following attestation bundles were made for pocage-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: pocage-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d128396c08368a39a34715763df10db1803395de71b2791a81ce1f0937f9d0d
MD5 10dcd22c2191a8e85e61aaeb06eb09bf
BLAKE2b-256 3456053469f8293232110f8d4ab324812bd16378ea0a0fc4b902e6d2b347d183

See more details on using hashes here.

Provenance

The following attestation bundles were made for pocage-0.1.0-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