MESH ONLINECODENAME: Final Countdown

Go SDK

The Go binding wraps the same Rust core, so it walks the same agentic loop as the other SDKs — with two Go-idiomatic differences it shares with C: the bus is poll-based (you Poll with a cursor rather than iterate an async stream), and every call returns an error you check.

code
go get github.com/ai-2070/net/go

The package imports as github.com/ai-2070/net/go and the identifier is net (via package net), so usage reads net.New(...), net.NewMeshNode(...).

Two entry points:

  • net.New — the event bus. Ingest / Poll.
  • net.NewMeshNode — the mesh node: AnnounceCapabilities, FindNodes, and (via net.NewMeshRpc) tools and RPC.

The spine

  1. Quickstart
  2. Announce
  3. Discover
  4. Invoke
  5. Watch — poll-based, not an async stream.
  6. Artifacts
  7. Errors