opagent-runtime

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2026 License: AGPL-3.0

README

OpAgent

English | 简体中文

OpAgent is The AgentOS runtime used by OpenBrain.

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.

Product Features

Agents Live In Your Folders

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.

OpAgent agents live in your folders

See Exactly What Your Agents Changed

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.

OpAgent file diff review

Everything About Your Agents, Visible And Manageable

Conversations, tools, skills, and knowledge live in one workspace. The agent environment is inspectable and manageable instead of hidden behind a chat box.

OpAgent workspace with agents, skills, tools, and marketplace

Conversations That Do Not Disappear

Every conversation becomes a Markdown file you can edit, search, version, and reuse instead of losing it in a long chat history.

OpAgent conversation saved as Markdown

One Agent Environment For Local And Remote Work

Your model configs travel with you, and agents install as needed. Remote work does not require rebuilding the same setup on every machine.

OpAgent remote workspace demo

Markdown Is The Interface

Live preview, tables, Mermaid diagrams, frontmatter, and source text stay close together. The document is both the interface and the durable record.

OpAgent Markdown interface

This Repository

This directory contains the open-source OpAgent runtime code required to build and test the local OpenBrain runtime process.

Private deployment scripts, credentials, hosted-service internals, and release-only private assets do not belong here.

Repository Layout

  • cmd/opagent-runtime: runtime entrypoint.
  • cmd/opagent-bootstrap: bootstrap and updater entrypoint.
  • internal: runtime implementation.
  • packages/ai: canonical AI history, provider adapters, replay helpers, and streaming support.
  • ../docs/runtime.md: public runtime design.

Build

go build ./cmd/opagent-runtime

Test

go test ./...

To check the TypeScript protocol SDK:

cd ../opagent-protocol/ts-sdk
npm ci
npm run check

License

AGPL-3.0. See LICENSE and the repository root NOTICE.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL