Reference

  • Agent protocol — HTTP endpoints exposed by grain-agent inside each guest.
  • CLI reference — Complete grain command reference for interactive use.
  • Configuration reference — All knobs in ~/.grain/config.yaml for daemon and CLI defaults.
  • Go SDK — Public Go client for the grain daemon — DialUnix, create, exec, lifecycle, and more.
  • HTTP API reference — Daemon REST API over unix socket or TCP for automation and the Go/TypeScript SDKs.
  • Metrics — Prometheus metrics exposed by the grain daemon.
  • OpenAPI Explorer — Browse the grain daemon HTTP API — operations, curl/Python/Node samples, and JSON examples.
  • Python SDK — Stdlib Python client for the grain daemon — TCP or Unix socket, create, exec, lifecycle, and more.
  • TypeScript SDK — Node-friendly fetch client for the grain daemon (@cxdy/grain under sdk/ts).