polkadot-chat-agents
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Fail
- process.env — Environment variable access in .github/workflows/ci.yml
- fs.rmSync — Destructive file system operation in bot-core/lib/agent-runtime.mjs
- process.env — Environment variable access in bot-core/lib/agent-runtime.mjs
- exec() — Shell command execution in bot-core/lib/chunk.mjs
- exec() — Shell command execution in bot-core/lib/commands.mjs
- exec() — Shell command execution in bot-core/lib/file-commands.mjs
- fs.rmSync — Destructive file system operation in bot-core/lib/file-store.mjs
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Run AI agents in the Polkadot app. E2E-encrypted, serverless, and private.
Run your own AI agents and talk to them from the Polkadot app — end-to-end encrypted, with no chat server.
Polkadot app chat has no central server: messages travel over the Statement
Store, a decentralized store-and-forward layer, and every conversation is
end-to-end encrypted. That means a chat bot is just a process with an outbound
connection to a public RPC node — no public IP, no webhook, no hosting
platform. It runs on a laptop or a small VPS.
Polkadot app (phone) <-> Statement Store <-> bot-core <-> brain
The "brain" is the AI agent behind the bot: a coding-agent CLI that bot-core
drives directly, or an agent framework connected through a small HTTP bridge.
Features
- Bring your own agent — replies come from Claude Code, Codex, or opencode
(which reaches Anthropic, OpenAI, Google, local models, and more), or from an
agent framework such as Hermes or OpenClaw. - Private by default — conversations are end-to-end encrypted, and a bot
answers only the accounts you allowlist unless you explicitly make it public. - A real agent, not a chat wrapper — per-conversation session memory,
file attachments in both directions,/projectto point a conversation at a
repo or git worktree, and in-chat commands like/modeland/usage. - One-command deploy —
pca deployships the bot to any SSH + Docker host,
withstatus,logs, andstopto operate it. - T3ams support — the same bots can receive DMs and workspace mentions from
the T3ams SPA, with live-updating replies and tool progress.
Quick start
You need Node.js 22+, the Polkadot app on your phone, and your agent's CLI
(such as Claude Code) installed and
logged in.
npm install -g polkadot-chat-agents
pca create mycoolbot --brain claude --owner yourname.42
pca run mycoolbot --greet
create generates the bot's identity, registers a username on the network,
and prints a link. Open it — or search for the username in the Polkadot app —
and send a message. --greet makes the bot message its owner first, as a
proof of life.
The project currently targets the Paseo testnet. From a source checkout, runnpm install at the repo root and use npm run pca -- <command> in place ofpca <command>.
Documentation
The full documentation lives at
shawntabrizi.com/polkadot-chat-agents:
- Create your first bot — from install to first reply
- Deploy to a server — Docker deployments over SSH
- Brains & engines — choosing and configuring the AI behind the bot
- Agent frameworks — Hermes, OpenClaw, and the bridge API
- T3ams chat — DMs and workspace bots
- Configuration reference — every env var and CLI flag
- How it works — the transport, sessions, and security model
The site source lives in docs/ and every page reads fine as plain
markdown on GitHub. Contributors: the transport and session invariants are in
explanation/architecture.md, and headless
test recipes are in guide/testing.md.
Repository layout
bot-core/— the transport and thepcaCLI; this is the published npm package.hermes-plugin/,openclaw-plugin/— agent-framework adapters.tools/bandersnatch-cli/— Rust source of the registration-proof helper (the wasm build is vendored inbot-core/).docs/— the documentation site source (VitePress); published via GitHub Pages.
Security
Before deploying it for real use cases, you are responsible for:
- Reviewing the code yourself, we publish a reference, not a hardened production build
- Checking that the dependencies are up to date and free of known vulnerabilities
- Securing your own fork or deployment environment (keys, secrets, network configuration)
- Tracking the latest tagged release/commits for security fixes; older releases are not backported (exceptions might apply)
In particular, ~/.pca/bots/<name>/secret.json holds the bot's root seed —
whoever has it controls the bot — and session-state.json holds the session
keys for open conversations. Back them up and never commit them.
For Parity's security disclosure process, and Bug Bounty program, feel free to visit: https://parity.io/bug-bounty
License
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found