For Agents

Give coding agents a clean way to audit spend.

Xerg exposes one canonical skill, one hosted MCP server, and a small public wire contract so agent tools can run local audits, read recommendations, and query hosted workspace data.

An agent host runs setup; an audit source is the data Xerg analyzes. Codex is a setup host, not a native audit source. QM can be both host and source after private administrator setup. A Codex user audits whichever local source doctor finds: OpenClaw, Hermes, Claude Code, a Cursor export, or an ingest payload.

Give this to your agent
  • OpenClaw
  • Hermes
  • Claude Code
  • Cursor
  • Codex
Get Started

Requires terminal access to the machine or env holding your agent data. No agent? Run Xerg yourself: npx @xerg/cli@latest init

Agent surfaces

SKILL.md

Install the canonical skill from the public xergai/skills repo. The same file is served at xerg.ai/skill.md and bundled inside the npm CLI package at skills/xerg/SKILL.md.

Hosted MCP

Pro workspaces can connect remote MCP clients to https://mcp.xerg.ai/mcp with a workspace API key.

CLI

The non-interactive agent path: agents run local audits through the public npm package without hosted auth. No account required; nothing leaves the machine.

Wire schemas

TypeScript consumers can depend on the public MIT-licensed @xerg/schemas package for push payload and recommendation contracts.

Client setup

QM in Slack

QM uses the Xerg CLI against an authorized sanitized snapshot in an administrator-only private scope. The Slack agent cannot initiate live Fly or database collection, provision privileges, or receive secrets. Continuous follow capture, durable tool-history capture, and live Slack-triggered collection are not currently supported. Run doctor first and approve any activation or push.

Codex

Use the bundled skill for repeatable audit workflows, including assessed-spend and detector-coverage interpretation, and configure hosted MCP in ~/.codex/config.toml.

Cursor

Use xerg mcp-setup or project MCP config for hosted recommendations after a pushed audit.

Claude Code and Claude Desktop

Use the standard remote MCP JSON shape with a Bearer token header.

Antigravity and other tools

Use the generic streamable HTTP MCP settings until a verified product-specific import format is documented.