togo
Go, the artisan way — microkernel of the togo framework (Go + sqlc + Atlas + GraphQL/OpenAPI + Next.js)
togo is an open-source, API-first application framework for the Go + sqlc + Atlas + GraphQL/OpenAPI + Next.js stack. It brings a Laravel-artisan-like developer experience to Go: a powerful CLI, code generators, a plugin marketplace, Supabase auth/dashboard by default, built-in Terraform deploys, and first-class Claude Code / MCP integration.
This repository is the microkernel — the thin core every togo app builds on. The kernel provides configuration, a priority-ordered hook/event bus, a plugin loader + registry, a database driver registry, and server bootstrap. Everything else (REST, GraphQL, auth, dashboard, resources) is a plugin installed by the CLI.
The togo organization
Repo | Role |
|---|---|
| togo | Microkernel (this repo) |
| cli | The togo binary — generators, db, install, mcp, deploy |
| create-togo-app | Project template rendered by togo new |
| plugin-template | Starter for togo plugins |
| mcp | MCP server exposing generators to AI agents |
Quickstart
go install github.com/togo-framework/cli@latest # installs the `togo` binary
togo new myapp && cd myapp
togo make:resource Post title:string body:text:nullable
togo generate # sqlc + gqlgen + atlas + openapi
togo migrate && togo serve
Principles
- API-first — every resource is exposed over GraphQL and REST/OpenAPI 3.1.
- Everything is a plugin — the core is a microkernel; capabilities are installed.
- Generator-first —
togo make:resourcescaffolds across six targets from one manifest. - Dynamic by default — connections, URLs, endpoints come from
togo.yaml+.env+ hooks. - AI-native — projects ship
.claude/skills/agents +.mcp.jsonfor Claude Code.
License
MIT