The mandatory universal Go SDK for CognitiveOS.
cogsdk is the single source of truth for shared concerns that every
component reimplements today: JSON framing, schema validation, daemon and CPM
IPC, and environment inspection.
See ADR-011 for the decision and rationale.
client/ Typed clients (implemented)
mcp/ MCP JSON-RPC 2.0 framing, tool-call wrappers, schema validation
daemon/ cognitiveosd IPC client, system codes, envelope types
cpm/ CPM RPC client — only path to nested .cgp tools
env/ cgroup, systemd, config/env resolution
adk/ Agent toolkit (staged)
agent/ intent/ memory/ prompt/
cdk/ Builder tooling (staged)
builder/ cloudinit/ target/
go get github.com/CognitiveOS-Project/cogsdkmake build # go build ./...
make test # run tests
make lint # go vetMIT — see LICENSE.