Introduction
agex is the package manager for agentic coding — discover, share, and install rules, skills, MCP servers, and more across every platform.
What is agex?
Modern AI coding tools — Claude Code, Cursor, Codex, Gemini CLI, OpenCode — are only as good as the context you give them. The CLAUDE.md that makes Claude actually understand your codebase. The .cursorrules that stops Cursor from generating the same antipatterns over and over. The MCP server that gives your agent real database access. The subagent that knows how to write tests for your specific framework.
This knowledge is hard-won, project-specific, and almost entirely locked inside individual repositories or developers' local machines. There's no good way to share it, no way to discover what works, and no way to pull community-vetted configs directly into a new project.
agex is the fix. It's a community-driven platform where agentic coding practitioners publish, discover, and sync the configurations that make AI agents actually useful — treated as first-class artifacts rather than ignored dotfiles.
The three-layer ecosystem
┌─────────────────────────────────────────────────┐
│ agex Hub │
│ Browse · Upvote · Fork · Discuss · Publish │
└────────────────────┬────────────────────────────┘
│ REST API
┌────────────────────▼────────────────────────────┐
│ agex CLI │
│ search · add · sync · run · push · login │
└────────────────────┬────────────────────────────┘
│ reads/writes
┌────────────────────▼────────────────────────────┐
│ agex.toml │
│ project manifest — declares all dependencies │
└─────────────────────────────────────────────────┘The Hub is where the community lives — a searchable registry of 70+ artifacts (rules, skills, MCP servers, hooks, agents, commands, CLI tools) across 5 platforms, with version control, review workflows, issues, discussions, collections, organizations, and social features. agex also serves as a Claude Code marketplace source — add it directly in Claude Code.
The CLI (@agex/cli) is how you interact with the hub from your terminal. It handles authentication, discovery, publishing, syncing, and ephemeral context injection via agex run. On agex init, it creates default agex rules for every detected platform so your agent immediately knows how to use agex.
agex.toml is the manifest that sits at the root of your project, declaring which remote artifacts your project depends on — similar in concept to package.json for npm packages, but for agent configurations.
Who is it for?
agex is built for practitioners — developers who ship code with AI agents daily and have strong opinions about what works. If you've spent time crafting a CLAUDE.md that actually constrains Claude's behavior in useful ways, or built a subagent that handles a specific part of your workflow, agex is the place to share it.
It's also for developers who are newer to agentic coding and want to bootstrap their setup by learning from what experienced practitioners use.