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 syncinstallspocageinto this environment as an editable package for local development.- The
pocageconsole script is defined inpyproject.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
sdistandwheel - creates fresh temporary virtual environments
- installs each artifact as a non-editable package
- runs
uv pip check - verifies
import pocageresolves fromsite-packages, not the source tree - runs
pocage --helpas a console-script smoke test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
240255d3d03b20ad542e8cf1e5fd006203811b6b5464f51872560bc634b58cb0
|
|
| MD5 |
afbd29d16683ac1b5e456b798f445f22
|
|
| BLAKE2b-256 |
d564173eca8cc7e58e4b5351a63b5c7047934114cf3a0e6bc8e0e892f433f480
|
Provenance
The following attestation bundles were made for pocage-0.1.0.tar.gz:
Publisher:
publish-pocage.yml on computbiol/pocage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pocage-0.1.0.tar.gz -
Subject digest:
240255d3d03b20ad542e8cf1e5fd006203811b6b5464f51872560bc634b58cb0 - Sigstore transparency entry: 1401981222
- Sigstore integration time:
-
Permalink:
computbiol/pocage@db2c3437a624ade84422c586219af5b24de4e78e -
Branch / Tag:
refs/tags/pocage-v0.1.0 - Owner: https://github.com/computbiol
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pocage.yml@db2c3437a624ade84422c586219af5b24de4e78e -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d128396c08368a39a34715763df10db1803395de71b2791a81ce1f0937f9d0d
|
|
| MD5 |
10dcd22c2191a8e85e61aaeb06eb09bf
|
|
| BLAKE2b-256 |
3456053469f8293232110f8d4ab324812bd16378ea0a0fc4b902e6d2b347d183
|
Provenance
The following attestation bundles were made for pocage-0.1.0-py3-none-any.whl:
Publisher:
publish-pocage.yml on computbiol/pocage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pocage-0.1.0-py3-none-any.whl -
Subject digest:
7d128396c08368a39a34715763df10db1803395de71b2791a81ce1f0937f9d0d - Sigstore transparency entry: 1401981337
- Sigstore integration time:
-
Permalink:
computbiol/pocage@db2c3437a624ade84422c586219af5b24de4e78e -
Branch / Tag:
refs/tags/pocage-v0.1.0 - Owner: https://github.com/computbiol
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pocage.yml@db2c3437a624ade84422c586219af5b24de4e78e -
Trigger Event:
push
-
Statement type: