Skip to main content

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

Metadata

Release files for pocage 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pocage 0.1.1
File Size Uploaded Provenance Actions
pocage-0.1.1.tar.gz 26.7 kB With provenance Details for pocage-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pocage 0.1.1
File Interpreter ABI Platform Actions
pocage-0.1.1-py3-none-any.whl Python 3 none any Details for pocage-0.1.1-py3-none-any.whl

Total release size: 50.2 kB

Release files / pocage-0.1.1.tar.gz

Download URL pocage-0.1.1.tar.gz
Size 26.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d5317c39b9dbeb5e9990b66b1718106368ce8e70115786397ec83e80180389ff
BLAKE2b-256 checksum
How to use checksums
72e4f5db39bb19688933cf2a2e41ac385f037854f4a998b4d1214c1102d0d996
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 20, 2026.

Transparency log

Release files / pocage-0.1.1-py3-none-any.whl

Download URL pocage-0.1.1-py3-none-any.whl
Size 23.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ce221c3b26fd3563f07eff65868c13259cceee2ca4c74296bc0dd3c6b625ad0
BLAKE2b-256 checksum
How to use checksums
e4b2b1f2117675d31f0de4e89e9492ab99e62bd6a6f495aa8532f02fa171670a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 20, 2026.

Transparency log

Security for pocage 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pocage-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page