
OpenProgram
Python-based agent framework where agents write and rewrite their own workflows
OpenProgram is an open-source agent framework for ai models and llm tooling. It is available on macOS, Windows, Linux, CLI, Web and Self-hosted.
- Pricing
- Open source
- Platforms
- macOS, Windows, Linux
- GitHub stars
- 411
- Last commit
- Language
- Python
- License
- AGPL-3.0
Similar agents
About OpenProgram
OpenProgram treats an agent as an ordinary Python class. Branching, retries and validation are written as normal code, and a model call is made wherever a judgment is needed, so the model chooses while Python guarantees the required steps run.
Every turn, model call and function call is recorded as a node in a graph that can be inspected, branched and replayed. An agent can also add new methods to its own class, which become callable tools from the following turn. Sub-agents work on their own branch and return only their results.
The project ships a desktop App, a web workspace, a terminal UI and a command line that all share the same sessions, models and tools. It suits developers who want agent logic expressed as code, with support for 300+ model providers, local models, MCP servers and scheduled tasks. It is licensed under AGPL-3.0.
What it does
- Agents as Python classes
- Agent logic is written as Python methods, with branches, retries and checks expressed as ordinary code.
- Inspectable execution graph
- Each turn, model call and function call is a node that can be inspected, branched and replayed.
- Self-extending agents
- An agent can add methods to its own class, which then become tools it can call in later turns.
- Checked model decisions
- Model picks from a fixed set of choices are validated by code before any action runs.
- Computer use
- Drives desktop apps, browser pages and remote VMs in the background.
- Multi-provider model support
- Works with 300+ providers and local models, with multiple keys per provider switched at limits.
- Scheduled and sub-agent work
- Runs scheduled tasks and hands parts of a task to sub-agents on separate branches.
Good for
- Building a support agent that triages tickets and drafts replies from logs
- Automating multi-step workflows with model judgment inserted at decision points
- Running scheduled background tasks that survive restarts
- Operating desktop apps or browser pages on a user's behalf
- Creating apps that embed AI steps inside ordinary Python code
Pricing
Open source
Free and open source under AGPL-3.0
Prices change. Check openprogram.io before you buy.
OpenProgram FAQ
Is OpenProgram free to use?
Yes. The project is free and open source under the AGPL-3.0 licence.
Which platforms does OpenProgram run on?
The desktop App is available for macOS 13.5 or later, Windows 10 or 11 (x64) and Ubuntu 22.04 or later. The command line also works on servers and over SSH.
Which models can OpenProgram use?
It supports 300+ providers, both cloud and local models, and can switch between several keys per provider automatically at a usage limit.
What are the best alternatives to OpenProgram?
The closest alternatives to OpenProgram are AgentPilot, Agentlas-OS, OpenHands, Sage and pydantic-deepagents.
Where this comes from
- Description: written from the project's README and the project's website.



