Registry & Discovery
The registry is the public catalog of appgrammars. It supports full-text search, tag filtering, trending rankings, and AI-powered discovery features that surface related and complementary appgrammars.
Browsing the Registry
The registry is accessible at /registry in the web UI or via GET /api/registry. Without any filters, it returns public appgrammars sorted by recency.
Search
Add a ?q= query parameter to search by name and description:
GET /api/registry?q=kanban&limit=20&offset=0
Tag Filtering
Appgrammars can have up to 3 tags from a controlled vocabulary of 14:
| Tag | Tag | Tag |
|---|---|---|
saas | e-commerce | internal-tool |
api | cli | dashboard |
landing-page | mobile | cms |
crm | marketplace | devtool |
ai-app | game |
Filter by tag with ?tags=saas,api. Tags are set by the appgrammar author via PUT /api/appgrammars/:id/tags.
To get the full tag list programmatically: GET /api/tags.
Trending
GET /api/registry/trending returns appgrammars ranked by weighted community activity (stars, executions, and forks) over a rolling time window.
Optional query parameters: days (window size, default 30) and limit.
Discovery
The registry provides three discovery endpoints per appgrammar, all computed with pure SQL (no inference):
Related Appgrammars
GET /api/appgrammars/:id/related
Co-occurrence based: users who starred appgrammar X also starred Y. Returns appgrammars with the highest overlap in star audiences.
Similar Appgrammars
GET /api/appgrammars/:id/similar
Finds appgrammars with structurally similar module compositions.
Breed Suggestions
GET /api/appgrammars/:id/breed-suggestions
Returns appgrammars whose modules complement the target — low module overlap, likely to produce a richer child. These are good candidates for breeding.
Trust Badges
Badges are computed at render time based on execution history:
| Badge | Criteria |
|---|---|
| Verified | 100+ executions with 95%+ success rate |
| Popular | 500+ executions with 90%+ success rate |
Badges appear on registry cards and the appgrammar detail page.
MCP Access
The appgrammar_search MCP tool provides registry search for AI agents:
{
"query": "e-commerce",
"limit": 10
}
This returns matching appgrammars with slug, name, description, configuration, and stats.