Your users already have a coding agent.
Use it.

AnyAgent detects your user’s coding agent (Claude Code, Codex, and more) and drives it programmatically. Prompts run under their login and subscription.

Detect the agent, then run your prompt

INSTALLER.TS
import { create, detect } from "anyagent";

const [agent] = await detect();
if (!agent) throw new Error("no coding agent found");
const result = await create(agent).run(
  "wire our SDK into this project"
);

detect() returns whatever coding agent CLI is installed. run() behaves the same across all of them.

You collect no API keys and pay no inference bill.

Run an agent →

Where it fits

You ship the prompt and the guardrails; the user’s agent supplies the model and the auth. AnyAgent is for tools that run a defined task against the user’s own project.

Setup wizards

Wire your SDK into the user’s codebase from your init command.

Migrations

Apply a framework upgrade across the user’s repo.

Generators

Produce changelogs, tests, or docs from the user’s source.