polkadot-chat-agents

agent
Guvenlik Denetimi
Basarisiz
Health Uyari
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Basarisiz
  • 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 Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Run AI agents in the Polkadot app. E2E-encrypted, serverless, and private.

README.md
Polkadot Chat Agents

Run your own AI agents and talk to them from the Polkadot app — end-to-end encrypted, with no chat server.

npm
Documentation
License: MIT


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, /project to point a conversation at a
    repo or git worktree, and in-chat commands like /model and /usage.
  • One-command deploypca deploy ships the bot to any SSH + Docker host,
    with status, logs, and stop to 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, run
npm install at the repo root and use npm run pca -- <command> in place of
pca <command>.

Documentation

The full documentation lives at
shawntabrizi.com/polkadot-chat-agents:

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 the pca CLI; 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 in bot-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

MIT

Yorumlar (0)

Sonuc bulunamadi