Prospero 是一款用 C++ 编写的跨平台原生 AI 编程工具,采用 ImGui 构建界面,支持 OpenAI 与 Anthropic API,可无头运行并让 AI 代理直接操控桌面开发软件。
核心要点
- 原生轻量:Prospero 是单个 C++ 可执行文件,界面基于 Dear ImGui,渲染为被动模式,空闲时不消耗资源;引擎精简可移植,官方称可运行在约 25 年前的老旧系统上。
- 多平台与多运行形态:支持 Windows、macOS、Linux;同一可执行文件可无头运行、通过 ssh 在远程机器运行,或在窗口关闭后于后台继续。
- 模型接入:兼容 OpenAI Chat Completions API(llama.cpp、vLLM、LiteLLM 等)及 Anthropic Messages API(含扩展思考与提示缓存);开箱不预置任何提供商。
- 桌面控制与自配置:代理可查看并操控屏幕,适合开发、测试、调试原生 GUI 应用;连接提供商后可读取内置文档、自我配置并导航 UI。
- 灵活 UI 与命令行:面板可拖拽停靠并保存布局;支持用
prospero . 在指定路径启动新会话,即使已有实例也可。
详细解读
项目在 Hacker News 获得 61 赞、22 条评论。典型情况下引擎与窗口同进程,无需守护进程或服务器。在 Windows 上尤其适配 w64devkit 的 shell 与工具链。文档涵盖使用、配置(prospero.ini、端点、模型、角色、技能、MCP 服务器、网页搜索)、桌面控制、远程与后台主机、Windows 说明、构建与开发评测。软件以公有领域发布(UNLICENSE),并包含 Dear ImGui、FreeType、SDL3、Mbed TLS 等第三方组件。
Prospero: a bloat-free, native AI coding harness with ImGui

Prospero is a native GUI application for Windows, macOS, and Linux that connects to an AI model provider, local or remote, allowing AI agents to drive your computer to develop software. It plows through intermittent errors and keeps at its task while unattended. It speaks the OpenAI Chat Completions API, used by llama.cpp, vLLM, LiteLLM, and providers with a compatible API. Also Anthropic's Messages API, with extended thinking and prompt caching. No providers are configured out of the box.

The UI is highly flexible, and you can rearrange the panes as you please with dragging and docking. Save your layouts for later in View -> Layouts. Unlike conventional ImGui applications, rendering is passive and will not consume resources while idle.
It is a single executable, written in C++. In the typical case the engine runs in the same process as the window, and needs no daemon or server. The same executable can run headless, on another machine over ssh, or in the background after its window closes. The engine is lean and portable, and runs on computers and operating systems a quarter century old. Imagine a coding harness on Windows XP.
Once it's connected to a provider, you can ask Prospero for help with itself. It will read its own embedded documentation, self-configure, and navigate you to any place in its UI.
Prospero's desktop control features allow it to effectively develop, test, and debug native GUI applications. On Windows, it especially works well in [w64devkit][], making use of its shell and tools if available.
You can start new sessions from the command line, even if there's already an instance, by invoking Prospero with a path where the new session will be rooted. For example, to start a session here:
$ prospero .
After no arguments, this is the second most common way to run Prospero.
Documentation
- Usage: running it, sessions, the GUI, attachments,
modes and the command line
models, roles, instructions, skills, MCP servers and web search
the screen
machines over ssh, and sessions that outlive the window
models
Prospero also carries its own documentation, under Help, which an agent in it can read too.
License
Prospero is free and unencumbered software released into the public domain. See UNLICENSE.
Its programs include third-party code under its own licenses: Dear ImGui (MIT), FreeType (FTL), md4c (MIT), SDL3 (zlib), cpp-httplib (MIT), Mbed TLS (Apache-2.0), and Wuffs (Apache-2.0 or MIT, at your option), which every program with the engine includes. The built-in model's network, src/gemma.cpp, is derived from gemma4.c and stays under its MIT license.
[w64devkit]: https://github.com/skeeto/w64devkit