Quick Start · Docs · Examples · Comparison
POLYROB is an AI agent you run yourself. Give it a task or a standing goal in plain language: it plans the steps, uses tools (web, files, code, a shell, mail, MCP servers), recovers from its own errors, and reports back — in your terminal, a web console, a REST API, or a chat app such as Telegram or email.
It is for people who want an agent that keeps working between messages and whose data stays on their own box. The agent loop and the LLM layer are native code (no third-party agent framework), memory and state are local SQLite files, and anything that spends money stays inside the caps you set; a move over a cap waits for your approval.
Self-hosted, not a SaaS. A hosted cloud is coming soon; today you run it yourself. Your keys, your data, your machine; only the LLM calls (and the tools you turn on) leave it.
On Linux, macOS or WSL2 (no Python 3.11.5+? The installer fetches a private copy):
curl -fsSL https://polyrob.dev/install.sh | bash The script clones the source into ~/.polyrob/src, builds a virtualenv, puts polyrob on your PATH and starts the setup wizard. To read it first (recommended):
pipx install polyrob # or: pip install polyrob ("polyrob[all]" for every extra) polyrob setup # provider key, model, persona, owner, autonomy, chat surface polyrob doctor # preflight: keys, the model it will pick, memory, health polyrob # talk to the agent Where things live:
Keep it running after you close the terminal:
polyrob service install # a systemd user unit or a launchd agent polyrob service restart # or /restart from chat; it finishes the current work first Update a git install with polyrob update --apply (snapshot, migrate, verify, automatic rollback); for pip or pipx, polyrob update prints the command to run. Coming from 1.7.0? Read the 1.7.1 note first. Remove it with polyrob uninstall. Full walkthrough: getting started · upgrading.
Works toward goals. A durable goal board and scheduled jobs ("every monday 09:00", 30m, cron syntax) keep work going between your messages and across restarts. Every unattended run stops at one step cap and one spend cap and says why it stopped. When it needs you, it raises an action card; once you decide, it carries on. → Jobs, goals, decisions and pauses
Learns from use. It keeps cross-session memory, writes and retires its own skills, and wakes itself to follow up on unfinished work. The CLI turns on the interactive tools by itself; the learning and self-directed loops need one more switch, polyrob autonomy on. Every skill or identity edit the agent writes waits in quarantine for your review. → Skills · the autonomy dial
Uses real tools. Core ships web reading (web_fetch, no browser needed) and Playwright automation, files, coding tools, git and GitHub, a persistent shell with background jobs, opt-in code execution, the agent's own mailbox, an MCP client, and sub-agents with a narrowed toolset. First-party packs add more and ship inside the same install: discovery (AnySite structured data, Perplexity search), x (the agent's X account), markets (Polymarket, Hyperliquid) and remote sandbox backends. → Packs · Architecture
You choose how much it may do. /mode says what runs without asking; /mode ask-first, standard or on-my-own sets one level.
Meets you where you are. The terminal (polyrob), a web console, a REST API with SSE, an OpenAI-compatible /v1 endpoint, the A2A agent protocol, an MCP server (off by default), and chat surfaces: Telegram, email, WhatsApp, Discord, Slack, Signal, Feishu / Lark and DingTalk. Run every enabled chat surface in one process with polyrob gateway. → CLI · Chat commands · API
Any model. OpenAI, Anthropic, Google Gemini, DeepSeek, OpenRouter and NVIDIA NIM built in, plus a catalog of other providers, OAuth subscription plans and any OpenAI- or Anthropic-compatible endpoint you declare in ~/.polyrob/providers.yaml. It fails over between providers, caches the stable prompt prefix, and switches model live with /model from the next step. → Providers and models
Chat, Inbox (only what needs you), Work (running, next, scheduled, apps), Money and Agent (identity, memory, capabilities, health) in one owner surface over the same goal board, approval queue and ledger as the CLI. Start it with polyrob dashboard and open http://localhost:5050. → Console guide
The full model, including what each gate does not do: security model. Defaults for every flag: docs/CONFIGURATION.md.
The agent can hold a wallet, pay for resources over x402, send invoices and detect their settlement on-chain, read token and wallet data, and trade within a mandate you set. Read-only token data is on by default; nothing that spends or signs is. Every outward payment is capped and goes through an approval rail you control.
⚠️ The crypto code is unaudited. The wallet, signing and payment code (the crypto extra) has had no independent security audit, ships with no warranty, and can lose funds. Prefer testnets. See SECURITY.md.
Three postures, chosen from how you bind the console: local (loopback), own_ops (a public host with owner login) and multitenant (wallet sign-in and billing). docker compose up builds the server, the browser and vector memory, and keeps data in a volume. → Self-hosting · Deployment postures
git clone https://github.com/theselfruleorg/polyrob cd polyrob bash install.sh # installs this tree: venv, editable install, wizard # or by hand: python -m venv venv && source venv/bin/activate pip install -e ".[dev,all]" pytest tests/unit -q ruff check . The layers: agents/ (the agent loop), modules/ (LLM, memory, database), tools/, surfaces/ (chat apps), api/, cli/, webview/ (console), cron/ (scheduled runs), core/ (config, policy, identity), packs/ (first-party packs) and polyrob/ (the pack SDK). → Architecture · AGENTS.md (contributor guide) · CONTRIBUTING.md
Contributions are welcome — see CONTRIBUTING.md. Report vulnerabilities as SECURITY.md describes. MIT licensed (LICENSE); name and brand use in TRADEMARK.md; third-party attributions in THIRD-PARTY-NOTICES.md.
POLYROB — by The Selfrule Organization
gemini anthropic server docs anysite browser memory-vector media crypto solana telegram twitter voice feishu hf modal daytona vercel-sandbox dev all
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Nov 20, 2026 2 release files No provenance
Nov 19, 2026 2 release files No provenance
Nov 16, 2026 2 release files No provenance
Nov 14, 2026 2 release files No provenance
Nov 12, 2026 2 release files No provenance
Nov 11, 2026 2 release files No provenance
Nov 10, 2026 2 release files No provenance
Nov 6, 2026 2 release files No provenance
Nov 5, 2026 2 release files No provenance
Nov 4, 2026 2 release files No provenance
Nov 3, 2026 2 release files No provenance
Nov 2, 2026 2 release files No provenance
Oct 28, 2026 2 release files No provenance
Oct 20, 2026 2 release files No provenance
Oct 13, 2026 2 release files No provenance
Oct 9, 2026 2 release files No provenance
Oct 2, 2026 2 release files No provenance
Sep 21, 2026 2 release files No provenance
Sep 19, 2026 2 release files No provenance
Sep 17, 2026 2 release files No provenance
Sep 16, 2026 2 release files No provenance
Sep 8, 2026 2 release files No provenance
Aug 21, 2026 2 release files No provenance
Aug 19, 2026 2 release files No provenance
Aug 11, 2026 2 release files No provenance
Jul 25, 2026 2 release files No provenance
Jul 21, 2026 2 release files No provenance
Jul 19, 2026 2 release files No provenance
Jul 8, 2026 2 release files No provenance




