The Go foundation library for the OCTO platform — protocol types, crypto primitives, storage adapters, HTTP framework, event bus, and worker pool.
28
stars
84
commits
Go
primary language
Aug 31, 2026
updated
OCTO — the open workplace built for humans × AI agents.
Let Lobsters (OpenClaw-powered digital doubles) do the thinking and doing. You focus on taste.
🏠 OCTO Home · 🚀 Quickstart · 📦 Ecosystem · 🤝 Contributing
🌐 Read in: English · 简体中文
The Go foundation library that every OCTO backend service builds on — protocol, crypto, storage, HTTP, logging, event bus.
octo-lib is the shared Go module at the bottom of the OCTO backend stack. It
contains the protocol types, cryptographic primitives, storage adapters, HTTP
helpers, worker pool, and event-bus code that octo-server, octo-matter, and
the adapters layer all import rather than re-implement.
import away.go get dependency; SemVer-tagged; no vendoring required, no magic code generation at build time.go get github.com/Mininglamp-OSS/octo-lib
Then in your Go code:
import (
"github.com/Mininglamp-OSS/octo-lib/pkg/log"
"github.com/Mininglamp-OSS/octo-lib/pkg/util"
)
func main() {
log.Info("hello octo")
id := util.GenUUID()
log.Info("new id: " + id)
}
See pkg/ for the full package catalogue.
Top-level packages in this module:
| Path | Purpose |
|---|---|
common/ | Cache, pagination, message types, constants |
config/ | App context, config loader, message / group / channel / stream / RTC configs, ES & tracer init |
model/ | Shared data models (channel, response) |
module/ | Module registration primitives |
server/ | HTTP server bootstrap |
testutil/ | Test helpers |
pkg/cache/ | In-memory cache |
pkg/db/ | MySQL / Redis / SQLite adapters |
pkg/keylock/ | Per-key lock |
pkg/log/ | Structured logger (zap-based) |
pkg/markdown/ | Markdown rendering |
pkg/network/ | HTTP client helpers |
pkg/pool/ | Worker pool / job dispatcher |
pkg/redis/ | Redis client helpers |
pkg/register/ | API & task router registration |
pkg/util/ | Crypto (AES / RSA / DH / SHA / MD5), base62, decimal, IP, SSRF-safe URL validation, reflection, time, UUID, string / json utils |
pkg/wait/ | Wait-group helpers |
pkg/wkevent/ | Event bus |
pkg/wkhook/ | Webhook gRPC service (proto + generated code) |
pkg/wkhttp/ | HTTP handler framework |
pkg/wkrsa/ | RSA utilities |
graph TD
subgraph Clients[Clients]
Web[octo-web<br/>Web / PC]
Android[octo-android<br/>Android]
iOS[octo-ios<br/>iOS]
end
subgraph Core[Core Services]
Server[octo-server<br/>Backend API]
Matter[octo-matter<br/>Task / Todo]
Summary[octo-smart-summary<br/>AI Summary]
Admin[octo-admin<br/>Admin Console]
end
subgraph Shared[Shared Libraries & Integrations]
Lib[octo-lib<br/>Core Go Library]
Adapters[octo-adapters<br/>Third-party Adapters]
end
Web --> Server
Android --> Server
iOS --> Server
Admin --> Server
Server --> Matter
Server --> Summary
Server --> Adapters
Server -.uses.-> Lib
Matter -.uses.-> Lib
Adapters -.uses.-> Lib
| Repository | Language | Role |
|---|---|---|
octo-server | Go | Backend API · business orchestration · Lobster agent scheduling |
octo-matter | Go | Task / Todo / Matter micro-service |
octo-smart-summary | Go | LLM-powered conversation summarisation |
octo-web | TypeScript / React | Web & PC (Electron) client |
octo-android | Kotlin / Java | Native Android client |
octo-ios | Swift / Objective-C | Native iOS client |
octo-admin | TypeScript / React | Admin console (tenant / org / user / channel management) |
octo-lib | Go | Shared core library (protocol, crypto, storage, HTTP) |
octo-adapters | TypeScript / Python | Third-party integrations (IM bridges, AI channels) |
OCTO ships under three shared principles that apply to every repository in this matrix:
We love pull requests! Before you open one, please read:
For security issues please follow SECURITY.md instead of the public tracker.
Apache License 2.0 — see LICENSE for the full text and NOTICE for third-party attributions.
OCTO is built on the excellent work of the open-source community. We'd like to especially thank:
See NOTICE for the full attribution list and third-party Go module licenses.
Made with 🐙 by OCTO Contributors · Mininglamp-OSS
Go
100.0%
The Go foundation library for the OCTO platform — protocol types, crypto primitives, storage adapters, HTTP framework, event bus, and worker pool.
28
stars
84
commits
Go
primary language
Aug 31, 2026
updated
OCTO — the open workplace built for humans × AI agents.
Let Lobsters (OpenClaw-powered digital doubles) do the thinking and doing. You focus on taste.
🏠 OCTO Home · 🚀 Quickstart · 📦 Ecosystem · 🤝 Contributing
🌐 Read in: English · 简体中文
The Go foundation library that every OCTO backend service builds on — protocol, crypto, storage, HTTP, logging, event bus.
octo-lib is the shared Go module at the bottom of the OCTO backend stack. It
contains the protocol types, cryptographic primitives, storage adapters, HTTP
helpers, worker pool, and event-bus code that octo-server, octo-matter, and
the adapters layer all import rather than re-implement.
import away.go get dependency; SemVer-tagged; no vendoring required, no magic code generation at build time.go get github.com/Mininglamp-OSS/octo-lib
Then in your Go code:
import (
"github.com/Mininglamp-OSS/octo-lib/pkg/log"
"github.com/Mininglamp-OSS/octo-lib/pkg/util"
)
func main() {
log.Info("hello octo")
id := util.GenUUID()
log.Info("new id: " + id)
}
See pkg/ for the full package catalogue.
Top-level packages in this module:
| Path | Purpose |
|---|---|
common/ | Cache, pagination, message types, constants |
config/ | App context, config loader, message / group / channel / stream / RTC configs, ES & tracer init |
model/ | Shared data models (channel, response) |
module/ | Module registration primitives |
server/ | HTTP server bootstrap |
testutil/ | Test helpers |
pkg/cache/ | In-memory cache |
pkg/db/ | MySQL / Redis / SQLite adapters |
pkg/keylock/ | Per-key lock |
pkg/log/ | Structured logger (zap-based) |
pkg/markdown/ | Markdown rendering |
pkg/network/ | HTTP client helpers |
pkg/pool/ | Worker pool / job dispatcher |
pkg/redis/ | Redis client helpers |
pkg/register/ | API & task router registration |
pkg/util/ | Crypto (AES / RSA / DH / SHA / MD5), base62, decimal, IP, SSRF-safe URL validation, reflection, time, UUID, string / json utils |
pkg/wait/ | Wait-group helpers |
pkg/wkevent/ | Event bus |
pkg/wkhook/ | Webhook gRPC service (proto + generated code) |
pkg/wkhttp/ | HTTP handler framework |
pkg/wkrsa/ | RSA utilities |
graph TD
subgraph Clients[Clients]
Web[octo-web<br/>Web / PC]
Android[octo-android<br/>Android]
iOS[octo-ios<br/>iOS]
end
subgraph Core[Core Services]
Server[octo-server<br/>Backend API]
Matter[octo-matter<br/>Task / Todo]
Summary[octo-smart-summary<br/>AI Summary]
Admin[octo-admin<br/>Admin Console]
end
subgraph Shared[Shared Libraries & Integrations]
Lib[octo-lib<br/>Core Go Library]
Adapters[octo-adapters<br/>Third-party Adapters]
end
Web --> Server
Android --> Server
iOS --> Server
Admin --> Server
Server --> Matter
Server --> Summary
Server --> Adapters
Server -.uses.-> Lib
Matter -.uses.-> Lib
Adapters -.uses.-> Lib
| Repository | Language | Role |
|---|---|---|
octo-server | Go | Backend API · business orchestration · Lobster agent scheduling |
octo-matter | Go | Task / Todo / Matter micro-service |
octo-smart-summary | Go | LLM-powered conversation summarisation |
octo-web | TypeScript / React | Web & PC (Electron) client |
octo-android | Kotlin / Java | Native Android client |
octo-ios | Swift / Objective-C | Native iOS client |
octo-admin | TypeScript / React | Admin console (tenant / org / user / channel management) |
octo-lib | Go | Shared core library (protocol, crypto, storage, HTTP) |
octo-adapters | TypeScript / Python | Third-party integrations (IM bridges, AI channels) |
OCTO ships under three shared principles that apply to every repository in this matrix:
We love pull requests! Before you open one, please read:
For security issues please follow SECURITY.md instead of the public tracker.
Apache License 2.0 — see LICENSE for the full text and NOTICE for third-party attributions.
OCTO is built on the excellent work of the open-source community. We'd like to especially thank:
See NOTICE for the full attribution list and third-party Go module licenses.
Made with 🐙 by OCTO Contributors · Mininglamp-OSS
Go
100.0%