Skip to main content

Polyglav

Polyglav terminal session

One agent, many heads

PyPI version Site Python >=3.10 CI Zero dependencies MIT License

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. You stay at a single prompt the whole time. The name says it: poly means many, glav means heads.

Why Polyglav

  • One prompt, many heads - ask for an outcome, and Polyglav splits it across specialists that run one after another in the same process. As soon as one delivers, the next continues. No windows to switch and no babysitting.
  • 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 and skills, scheduled jobs that run unattended, and a supervisor for many agents at once.
  • Your machine, your keys - config and complete session logs stay on your disk. Bring your own provider key, or run fully local.
  • Safe by default - every tool is permission controlled. Anything outside your project asks first, and every action is on the record.
  • Zero dependencies - pure Python standard library. Nothing to audit, no supply chain, no lockfile churn.
  • At home in the terminal - a fast streaming REPL with dimmed thinking, markdown rendering, command completion, and history. No browser and no account.
  • Many providers, any model - Ollama, OpenAI, Groq, Anthropic, OpenCode Zen/Go, 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.
  • Keep a project tidy - schedule a job that refreshes docs, updates a changelog, or summarizes logs on a cron.
  • 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 watch them all from one place.
  • Automate with the API - drive the same loop from scripts, CI, or another program.

How it works

  1. Ask - describe an outcome to the assistant in one sentence.
  2. Compose - for bigger work it designs a small team: the specialists and the order they run in.
  3. Run - stages run one after another, each with its own tools and permissions.
  4. Hand off - as the work moves, each agent passes what it did to the next.
  5. Report - watch progress, jump into any agent, or come back to a summary.

Install

pipx install polyglav
polyglav

For source installs, the REPL, the headless CLI, the HTTP API, Docker, plugins, and the full command reference, see INSTALL.md.

Learn more

License

MIT

Metadata

Release files for polyglav 0.41.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polyglav 0.41.0
File Size Uploaded
polyglav-0.41.0.tar.gz 259.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for polyglav 0.41.0
File Interpreter ABI Platform
polyglav-0.41.0-py3-none-any.whl Python 3 none any Details

Total release size: 455.7 kB

Release files / polyglav-0.41.0.tar.gz

Download URL polyglav-0.41.0.tar.gz
Size 259.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b9573676f4e1b394dcd6611c355735062a8f716e1c0be5426202de0e2e23d59e
BLAKE2b-256 checksum
How to use checksums
9259dae184bf2d39284e23de5c292bed3dd87985ab62a1861b4e9bb8d131b297
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / polyglav-0.41.0-py3-none-any.whl

Download URL polyglav-0.41.0-py3-none-any.whl
Size 196.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3c24b5b3b44ea80a7f5716b9d32f295efcb1dbd3728dc6181501352ebb4ad1f
BLAKE2b-256 checksum
How to use checksums
45243bac3db5ec9783c2cd2ffbfed310cf1b57c9dbe9a442ce2826f894977d19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.41.0 This release

2 release files

0.38.0

2 release files

0.37.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page