Polka Docs

Introduction

Polka runs agents you write as code. You keep an agent in a repository, push a version, and the channels of an environment (web voice and chat, WhatsApp, email, Meet, the team app) reach it. Every conversation and every task is traced and billed.

The ADK (agent development kit) is how you write one. You don't fill in a config file that the platform interprets: you build the agent's harness in Rust from small parts and decide how each of them works.

Part What you decide
The loop how many steps, when it stops, retries, compaction of a long conversation
The prompt its sections: who the agent is, the environment, the workspace's AGENTS.md
Tools bash, read, write, edit, plan, memory, your own, MCP servers, skills
Sub-agents helpers with conversations of their own, several at once
Approvals and hooks what asks a person first, what is refused, what is logged
The front how a person talks to it: the terminal, a WebSocket, voice

The same package then runs in three places without changes:

  • Your terminal, with polka chat, while you build it.
  • Polka's edge, with polka deploy: built to WebAssembly, loaded for each turn, with a fresh sandbox for each task.
  • A machine of your own, with polka deploy --host and polka host.

Where to go next

Edit this page on GitHub