Skip to content

About

Self-Programming Agent Harness. Build Any Program with LLMs—from Workflows and mini Apps to Full Applications.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

374 stars

Watchers

5 watching

Forks

OpenProgram

Agents program anything.
Workflows, apps with AI inside, and the agents themselves. An open-source agent harness where agents are Python programs.

Version Stars License Paper

Website · Docs · Download the App · Paper

English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Español · Français · Deutsch · Português · Русский

OpenProgram tour: one task from start to finish, always-on agents, every device, and agents that program anything

Install

macOS · Linux

curl -fsSL https://fzkuji.github.io/OpenProgram/install | sh

Windows (PowerShell)

irm https://fzkuji.github.io/OpenProgram/install.ps1 | iex

Desktop App — macOS Apple Silicon · macOS Intel · Windows · Linux (deb, AppImage). The App updates itself.

Then run:

openprogram        # connect a model, then chat in the terminal
openprogram web    # open the workspace at http://localhost:18100

If the website does not answer: curl -fsSL https://raw.githubusercontent.com/Fzkuji/OpenProgram/main/docs/_static_root/install.sh | sh. More options: installation guide · getting started.

Why OpenProgram

Agents are Python programsBranches, retries and checks are ordinary code; self(...) is a model call. The model decides, and Python makes sure the required steps run.
They program themselvesAn agent writes new methods into its own class. The next turn, each one is a tool it can call.
A graph, not a transcriptEvery turn, model call and function call is a node you can inspect, branch and replay. Sub-agents work on their own branch and hand back only the result.
Checked decisionsThe model picks from a fixed menu, and code validates the pick before anything runs.
One workspaceChats, files, terminals and a built-in browser side by side, in the desktop App, the web UI, a terminal UI or the CLI.
Operates your computerDrives desktop apps, browser pages and remote VMs in the background, without taking over your screen.
Always onScheduled tasks, goals that survive restarts, and chat from Telegram, Discord, Slack and WeChat.
Any model300+ providers and local models; several keys per provider, switched automatically at a limit.

Every feature, with its design: feature index.

A quick look

from openprogram import Agent

class SupportAgent(Agent):
    def triage(self, ticket: str) -> str:
        """Classify the ticket, then draft a reply."""
        kind = self(ticket, choices=["bug", "question"])
        if kind == "bug":
            logs = search_logs(ticket)  # your own helper
            return self(f"Reply using:\n{logs}")
        return self("Draft a short reply.")

See writing agents.

News

  • 2026-11-25 · v1.5.1 — Reach this computer from a phone or from anywhere with Tailscale built in, chats on Codex, applications that export as software of their own, and a screenshot tool.
  • 2026-11-16 · v1.4.0 — Several keys and sign-ins per provider with automatic switching at a limit, task blocks in replies, and a run history for scheduled tasks.
  • 2026-11-15 · v1.3.0 — A Providers page with health, quota and spend; the agents working in a conversation listed in Activity.
Earlier
  • 2026-11-14 · v1.2.0 — Branches of one conversation run side by side, Stop takes effect at once, and the Windows App arrives.
  • 2026-11-10 · v1.1.0 — Rewind from any sent message; the App comes to Linux.
  • 2026-11-06 · v1.0.0 — First release of the 1.x line: desktop App with split views, background computer use, meetings and an always-on scheduler.
  • 2026-08-17 · v0.7.0 — A built-in browser beside files, chat and the terminal, which agents can read and operate.
  • 2026-03-31 · v0.1.0 — First public release: agentic functions, Python functions whose steps a model carries out, recorded in a context tree.

Citation

@inproceedings{qi2026llmascode,
  title     = {LLM-as-Code: Agentic Programming for Agent Harness},
  author    = {Qi, Junjia and Fu, Zichuan and Gao, Jingtong and Zhang, Wenlin and Yan, Hanyu and Wu, Xian and Zhao, Xiangyu},
  booktitle = {KDD 2026 Workshop on Agentic Software Engineering (AgenticSE)},
  year      = {2026},
  url       = {https://arxiv.org/abs/2606.15874},
}

Contributing

Reports, reproductions, tests, docs and code are all welcome: issues · pull requests · contributing guide.

Maintainer Qi202 GithungDang basil-k-aji-dev binyangzhu000-sudo

License

AGPL-3.0 © 2026 FuzzyKuji.

About

Self-Programming Agent Harness. Build Any Program with LLMs—from Workflows and mini Apps to Full Applications.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

374 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages