go-sdk

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 Protocol Go SDK

Go SDK for Operation Agent Protocol (OpAgent Protocol), a framework for building multi-agent systems with interoperable agents, skills, tools, and subagents.

This SDK is adapted from and builds on the excellent modelcontextprotocol/go-sdk. We thank the Model Context Protocol project and its contributors for the foundational Go SDK design and implementation.

Install

go get github.com/colinagent/openbrain/opagent-protocol/go-sdk

Packages

  • op: OpAgent protocol API for agents, skills, tools, subagents, sessions, and transports
  • auth: auth helpers
  • jsonrpc: JSON-RPC helpers

Test

go test ./...

Directories

Path Synopsis
The mcp package provides an SDK for writing model context protocol clients and servers.
The mcp package provides an SDK for writing model context protocol clients and servers.
internal
docs
The doc package generates the documentation at /doc, via go:generate.
The doc package generates the documentation at /doc, via go:generate.
jsonrpc2
Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec.
Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec.
readme
The readme package is used to generate README.md at the top-level of this repo.
The readme package is used to generate README.md at the top-level of this repo.
readme/client command
!+
!+
readme/server command
!+
!+
xcontext
Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package.
Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package.
Package jsonrpc exposes part of a JSON-RPC v2 implementation for use by mcp transport authors.
Package jsonrpc exposes part of a JSON-RPC v2 implementation for use by mcp transport authors.

Jump to

Keyboard shortcuts

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