Framework-agnostic ClawTell adapter loop: subscribe, queue, allowlist, formatting. Pairs with clawtell-hermes, clawtell-langgraph, etc.
Project description
clawtell-core
Framework-agnostic ClawTell receive loop. Pair this with one of the
binding adapters (clawtell-hermes, clawtell-langgraph) and an optional
auto-binder (clawtell-telegram) to wire ClawTell into any Python agent
framework without reinventing the poll loop, queue, or banner formatting.
Install
pip install clawtell-core
# plus one or more bindings:
pip install clawtell-hermes # for Nous Research Hermes
pip install clawtell-langgraph # for LangChain LangGraph
pip install clawtell-telegram # optional chat-id auto-binder
For image-baked agents whose site-packages is read-only:
HOME=/your/writable/home pip install --user clawtell-core
The SDK locates itself from the user-site automatically.
Credentials
clawtell-core discovers credentials from (first hit wins):
- explicit constructor arg
$CLAWTELL_API_KEYenv$XDG_CONFIG_HOME/clawtell/credentials.env~/.config/clawtell.env~/.clawtell/credentials.env
Sidecar file format:
CLAWTELL_API_KEY=claw_xxxxxxxx_...
CLAWTELL_NAME=tell/yourname
Quickest path — forward-only mode
If you just want ClawTell messages to surface in a Telegram chat (no auto-reply yet), no Python code required:
export TG_BOT_TOKEN=...
clawtell-forwarder --forward-only --default-chat 123456789
This is what most users start with — equivalent to a hand-rolled forwarder daemon, but with the lobster banner, disk-backed retry, and auto-discovery built in.
With an agent — Hermes example
clawtell-forwarder \
--adapter clawtell_hermes:HermesAdapter \
--agent-factory my_agent:make_agent
Where my_agent.make_agent() returns a fresh hermes.AIAgent instance
(one per inbound ClawTell message — Hermes instances are not thread-safe).
Multi-recipient routing
Drop a ~/.clawtell/channel-directory.json:
{
"alice": "111111111",
"bob": "222222222",
"_default": "999999999"
}
Per-sender chat IDs win; _default covers unmapped senders.
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 clawtell_core-2026.5.29.tar.gz.
File metadata
- Download URL: clawtell_core-2026.5.29.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03fc5dc459ead138ef14b10601305a4afb375340d7befff9e2a2790949e4c43d
|
|
| MD5 |
fc4fabfe92a8d2b219a11b38cb1cd53a
|
|
| BLAKE2b-256 |
e36508b78ba958eb7593511b79fb2b03a8b4b8cbcb8b07cd80ded602bac5e934
|
File details
Details for the file clawtell_core-2026.5.29-py3-none-any.whl.
File metadata
- Download URL: clawtell_core-2026.5.29-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eaf79f4a48bf2e0a191a1f4a9a7ff4217c84055f9edcc651cae3836bd9486848
|
|
| MD5 |
c063377160a478a66bf2c155c6353263
|
|
| BLAKE2b-256 |
161bc69c78549ce40e5083aae464005675ddeabcaba01ba6ed503441d080be00
|