Polyglav
One agent, many heads
Polyglav is an AI agent that lives in your terminal. You describe an outcome once, it breaks the job into steps, brings in specialist agents for each one, and lets them work through it in order, handing results from one to the next as they finish. Use it at the prompt when you want. Put it on a server and let it work. Polyglav can create its own roles, teams, and skills, or another agent can define them over the API or MCP. The name says it: poly means many, glav means heads.
Why Polyglav
- One agent, many heads - ask for an outcome, and Polyglav splits it across specialists that run one after another in the same process, one context at a time. As soon as one delivers, the next continues. No windows to switch.
- Unattended by design - run it headless from the CLI, over the HTTP API, on a cron schedule, or as a fleet. Results land in append-only logs and optional webhook reports, with no dashboard to watch.
- The UI is optional - drive it from the REPL, CLI, HTTP API, or MCP. A web UI, an IDE, or another agent can be the front end while Polyglav runs the work.
- It actually gets work done - it reads and writes files, searches the web, runs commands, edits code, and commits, all behind permissions you control.
- Grows with you - reusable roles, skills, and plugins, durable plans and todos, bounded memory, scheduled jobs, and a fleet supervisor. Jobs, fleet, and MCP are bundled plugins, off by default.
- Your machine, your keys - keys, sessions, roles, teams, skills, and permissions stay on disk as text. Bring your own provider key, or run fully local.
- Safe by default - allow, ask, or deny by tool and category. File access outside your project asks first, a non-loopback API bind needs a token, and every action is on the record.
- Extensible - plugins add tools, providers, commands, roles, teams, skills, and report delivery. Email, Telegram, or Signal delivery can be added as plugins.
- Zero dependencies - pure Python standard library. No dependency supply chain to audit, no lockfile churn, and the code that runs is the code in this repository.
- At home in the terminal - a fast streaming REPL with a plain input prompt, a color-coded submitted line, dimmed thinking, hidden tool bodies, command completion, and history. No browser, no account, and no dashboard.
- Many providers, any model - Ollama, OpenAI, Groq, Anthropic, OpenCode, or any OpenAI-compatible endpoint, picked automatically from the address.
What you can do with it
- Ship a change end to end - ask for a feature and let a planner, a programmer, and a reviewer work through it in order.
- Plan a long run - read mode can write a durable internal plan and todo under
.polyglav/, so a long task keeps its instructions, decisions, role split, and current work across compaction and role switches. - Leave a job running - schedule a cron job that refreshes docs, updates a changelog, or summarizes logs, then approve it and start the daemon.
- Research and write - point it at a folder of notes or papers and ask for a summary with sources.
- Run many agents - give each folder its own agent and let the fleet supervisor watch them.
- Automate with the API - drive the same loop from scripts, CI, or another program.
- Use it as a tool - call Polyglav from another agent over HTTP or MCP, or from scripts and CI.
How it works
- Ask - describe an outcome to the assistant in one sentence.
- Compose - for bigger work it designs a small team: the specialists and the order they run in.
- Run - stages run one after another, each with its own tools and permissions.
- Continue - the next agent continues from the previous result with its own session, so context moves forward without switching windows.
- Operate - give it a project, a boundary, and a schedule. Check
/status, the log, or a webhook report when you come back. Pause a long turn with Ctrl-C,/continue, or/cancel.
The interface is optional. A terminal, an IDE, a web UI, or another agent can drive it, and the work keeps running when the UI closes.
Install
curl -fsSL https://raw.githubusercontent.com/polyglav/polyglav/refs/heads/main/install.sh | sh
polyglav
Or with pipx:
pipx install polyglav
polyglav
On first run, Polyglav asks for your provider, model, mode, and project setup. After that, it can run without you. You can rerun onboarding with /onboard, or change the connection later with /connect and /model.
For source installs, the REPL, the headless CLI, the HTTP API, Docker, plugins, and the full command reference, see INSTALL.md.
Learn more
- AGENTS.md - architecture and conventions
- CONTRIBUTING.md - the contribution workflow
- INSTALL.md - install, run, and command reference
- VISION.md - what Polyglav is and where it is going
- docs/index.md - full documentation
License
Metadata
Release files for polyglav 0.57.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| polyglav-0.57.0.tar.gz | 349.9 kB | Without provenance | Details for polyglav-0.57.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| polyglav-0.57.0-py3-none-any.whl | Python 3 | none | any | Details for polyglav-0.57.0-py3-none-any.whl |
Total release size: 676.3 kB
Release files / polyglav-0.57.0.tar.gz
| Download URL | polyglav-0.57.0.tar.gz |
|---|---|
| Size | 349.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0cb6dc11058c83051b6295561dc89c99a408ed1e251735acdc546f8d91352a4
|
|
BLAKE2b-256 checksum How to use checksums |
66583b53f82260279097a1dffb72e254323ebdfb8151a3921a9e33bd3ab8c31d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Release files / polyglav-0.57.0-py3-none-any.whl
| Download URL | polyglav-0.57.0-py3-none-any.whl |
|---|---|
| Size | 326.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71f0fb072f303b421c8c395a79b84b7143c0ef045ce59ced91a86876ec83d2d2
|
|
BLAKE2b-256 checksum How to use checksums |
6debd4e2696b1a226dcf8128c7fc34df0bcbccf193144a5502c343df31daa3f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Security for polyglav 0.57.0
Provenance
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
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.