go-sdk

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: Apache-2.0, MIT

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/opagent/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 ./...

License

OpAgent additions are Apache-2.0. Files derived from the Go MCP SDK retain their original MIT headers and are covered by LICENSE-MIT.

Directories

Path Synopsis
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