AgentGem documentation

AgentGem is a local web UI that reads what you've already built with your coding agent — your agent setup (skills, MCP servers, CLAUDE.md) and your session transcripts — redacts secrets at capture, and distills it into a secret-safe, composable Gem. Analyze turns the procedures you repeat across sessions into draft skills; the builder packages it all into a portable archive (manifest + lock) you can install locally, merge with others, materialize for many agent targets, and publish to the AgentGem marketplace.

It's built on AgentBack, the ninemind AI-native API/MCP framework: every operation is defined once as a Zod contract and exposed as a REST endpoint, an MCP tool, and an OpenAPI 3.1 document — so the web page and your local agent call exactly the same thing.

Start here

Working with your sessions

The console is more than a Gem builder — it reads, searches, and grades your session history, and turns it into things you can play and share.

Architecture & internals

Distribution

Contributing

Diagrams

Architecture diagrams live in diagrams/ as .svg (embedded in these docs), .png (raster fallback), and .html (interactive, with Copy / PNG / PDF export):