Detect, configure, and extend 14 AI coding agents (Claude Code, Codex, Cursor, Copilot, etc.) from your Go tools.
Part of the Agent Experience (AX) toolchain by SageOx — a new category of developer tooling that optimizes CLIs for AI coding agents, not just humans.
Build agent-aware CLI tools that know which AI coding assistant is calling them.
AgentX detects whether your tool is running inside Claude Code, Cursor, Aider, or 14 other coding agents - and gives you access to their configuration, context files, capabilities, and extension management.
AI coding agents are the new users of your CLI. Agent Experience (AX) is the practice of designing tools that work well for both humans and agents — not just tolerating agent usage, but actively optimizing for it.
AgentX gives your CLI the primitives it needs:
~/.cursor, ~/.cursor, etc.CLAUDE.md, .cursorrules, and similar filesAGENT_ENV so downstream tools know toopackage main
import (
"fmt"
"github.com/sageox/agentx/pkg"
)
func main() {
// Detect agent and set AGENT_ENV for child processes
agent := agentx.Init()
if agent != nil {
fmt.Printf("Running in %s\n", agent.Name())
fmt.Printf("Config: %s\n", must(agent.UserConfigPath(agentx.NewSystemEnvironment())))
fmt.Printf("Context files: %v\n", agent.ContextFiles())
}
}
Detects 14 coding agents via environment variables and heuristics:
agent := agentx.Detect()
if agent != nil {
switch agent.Type() {
case agentx.AgentTypeClaudeCode:
// Claude Code specific behavior
case agentx.AgentTypeCursor:
// Cursor specific behavior
}
}
Init() detects the agent and sets AGENT_ENV in the process environment. This lets downstream code and chi
Mine your Claude Code and Codex logs into a local you.md agent profile.
Local-first AI coding agent for VS Code & Cursor. Ollama, LM Studio & your inference fleet. Cursor-grade agent UX — offline, private, zero token cost.
A self-improving skill for AI coding agents (Claude Code, Cursor, AGENTS.md): recognize a hard-won golden path in a session and harvest it into a reusable skill/rule for next time.
Second brain for Forward Deployed Engineers. Engagement memory + 35 skills across 6 domains, all behind one @fde... Works with any AI coding agent.
Game-development Agent Skills for AI coding agents: install once and a master router loads the right skill for your engine and task. 66 original, version-pinned skills (plus a master router) in the portable SKILL.md format that runs across Claude Code, Cursor, Codex, Copilot, Gemini CLI and more, for Godot, Unity, Unreal, web and beyond.
Honey (I Shrunk the AI) by GreenPT: a cross-tool coding skill that cuts AI coding-agent token usage and LLM API costs — write less code, less prose, and denser agent-to-agent handoffs (−53%, lossless in benchmarks) with no loss of quality. Works with Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI, Windsurf, Cline & Kiro.
Workflows from the Neura Market marketplace related to this Cursor resource