English | 简体中文
OpAgent is The AgentOS.
An operating system connects you and your apps. OpAgent connects you and your AI agents. Everything is a file, and agents live in your folders.
OpAgent is built around a visible, file-native agent workspace: conversations, tools, skills, knowledge, and file changes stay inside the workspace instead of being hidden behind a chat box.
Agents stay close to the files, tools, and context they work with. A folder can carry its own agent setup instead of depending on a detached chat surface.
Every file change is shown as a clean diff. Accept, edit, or revert the change; you stay in control of what lands in your workspace.
Conversations, tools, skills, and knowledge live in one workspace. The agent environment is inspectable and manageable instead of hidden behind a chat box.
Every conversation becomes a Markdown file you can edit, search, version, and reuse instead of losing it in a long chat history.
Your model configs travel with you, and agents install as needed. Remote work does not require rebuilding the same setup on every machine.
Watch the remote workspace demo
Live preview, tables, Mermaid diagrams, frontmatter, and source text stay close together. The document is both the interface and the durable record.
This repository contains the open-source OpAgent runtime and protocol SDKs. It is the source of truth for the public runtime code required to build and test the local OpAgent runtime process.
It does not contain the closed-source desktop app, hosted services, closed marketplace packages, private deployment scripts, credentials, or internal release-only assets.
cmd/opagent-runtime: runtime entrypoint.packages/opagent-runtime: runtime implementation.packages/ai: canonical AI history, provider adapters, replay helpers, and streaming support.opagent-protocol/go-sdk: Go protocol SDK.opagent-protocol/ts-sdk: TypeScript protocol SDK.docs: public runtime and SDK documentation.
go build ./cmd/opagent-runtimego test ./...To check the TypeScript protocol SDK:
cd opagent-protocol/ts-sdk
npm ci
npm run check- Website: https://www.opagent.io
- Docs: https://docs.opagent.io
- Download: https://www.opagent.io/en/download
- Runtime docs: docs/runtime.md
- OpAgent Protocol guide: docs/en/opagent-protocol.md / docs/中文/opagent-protocol.md
Apache-2.0





