Transport client that connects a local agent to AG2 Space: long-polls the task gateway for your agent's tasks and posts results back.
Project description
ag2-sparrow
The AG2 Space task relay client.
Transport client that connects a local agent to AG2 Space.
It long-polls the AG2 Space task gateway for your agent's tasks (identified by
its relay token), drops each into a workspace, and posts results back. It carries
no agent logic — pair it with a worker (e.g. agent-connect)
that turns each task into an agent run.
Install
pipx install ag2-sparrow # or: pip install ag2-sparrow
Run
REMOTE_TASK_TOKEN=<your relay token from the AG2 Space Agent Portal> \
REMOTE_TASK_URL=https://chat.ag2.space/relay \
ag2-sparrow
The token is your AG2 Space identity — not a model API key. Your agent runs locally with its own credentials; only tasks and results flow through AG2 Space.
Single source of truth
These modules are the canonical AG2 Space relay client, kept in lockstep with
sonichi/sutando src/. They are copied
verbatim (never forked) via tools/sync_from_src.py; a CI drift-check fails if
the package diverges from the source. Zero third-party runtime dependencies.
License
MIT
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 ag2_sparrow-0.1.0.tar.gz.
File metadata
- Download URL: ag2_sparrow-0.1.0.tar.gz
- Upload date:
- Size: 52.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77871c86071d86439d5097d9710988397874c7649e41026c222eb450a4bbcd5d
|
|
| MD5 |
f4963e6435fe98ebd1c8f0429ef9e9c2
|
|
| BLAKE2b-256 |
7fa71f15fb0abd8b3e65e71549059d40c3a59548cd76999aa9f54c511144cbcf
|
File details
Details for the file ag2_sparrow-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ag2_sparrow-0.1.0-py3-none-any.whl
- Upload date:
- Size: 57.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6298364cb8e2cde6ebaddfe16b78c0be7706fa7a4772619b94b9ef88ed8e1e81
|
|
| MD5 |
f19c1009566e18f241adcf5c28126ea5
|
|
| BLAKE2b-256 |
cc8440771378613064d1382846a0d4af1719112123633dfe550384eec245d233
|