# Run agents with Axiom

Axiom AI agents on Rush: connect Axiom once, then name it on any run. The agent works in its own cloud computer, with a record of every run.

[Connect Axiom](https://cloud.getrush.ai/console/settings/?section=connections) in the console under Settings → Connections.

Query logs, traces and metrics in Axiom with APL, explore datasets, and manage dashboards, monitors and notifiers.

## What agents do with Axiom

- [How Many API Calls Did Each Customer Make Last Month? An API Company's Usage Count From Axiom Logs](https://getrush.ai/run/count-api-calls-per-customer-for-invoicing/axiom/)
- [Which Checkout Errors Did Shoppers Hit This Week? An Online Store's Monday Report From Axiom Logs](https://getrush.ai/run/find-checkout-errors-shoppers-hit/axiom/)
- [Which Customers Keep Hitting Our Rate Limits? An SMS API Company's Weekly List From Axiom](https://getrush.ai/run/find-customers-hitting-rate-limits/axiom/)
- [How Do I Find Which Customers' Webhook Endpoints Keep Failing? A Weekly Report From Axiom for a SaaS Customer-Success Team](https://getrush.ai/run/find-customers-whose-webhooks-keep-failing/axiom/)
- [Which Lesson Videos Keep Failing to Play? An Online Course Platform's Weekly Playback Report From Axiom](https://getrush.ai/run/find-lessons-whose-videos-fail-to-play/axiom/)
- [Which Loads Have Gone Quiet? A Freight Broker's Hourly Tracking Check in Axiom](https://getrush.ai/run/find-loads-with-stale-tracking/axiom/)

## How it works

1. **Connect Axiom once.** Sign in under Settings → Connections. Rush keeps the sign-in; no script or laptop holds a token.
2. **Hand an agent the work.** From the console, on a schedule, or with one API call that names `axiom`.
3. **Get the result back.** Files, an answer or a PR, with a record of every step the agent took.

## For developers: how Axiom connects

Axiom is a remote MCP server, published by Axiom, at `https://mcp.axiom.co/mcp`. Connecting it signs in through the MCP OAuth flow on Axiom's side.

From Axiom: [Axiom's MCP documentation](https://axiom.co/docs/console/intelligence/mcp-server).

Connect it once in the console under Settings → Connections, or from your server with `POST /me/connections`. The sign-in finishes in a browser signed in to the console as the same person, and a link not finished within 10 minutes expires.

After that, a run that names `axiom` in `connections`, or runs a saved agent that names it, gets it; your connections reach no run that does not name them.

```http
POST https://api.phoenix.so/me/connections

{
  "type": "mcp",
  "name": "Axiom",
  "url": "https://mcp.axiom.co/mcp"
}
```

## Whose Axiom account the agent uses

Your Axiom connection is personal: it belongs to the person who signed in. A run started in the console uses that person's Axiom, and a run started with an API key uses the Axiom of the member who created the key.

To act for your own app's users, make each user an agent from your template and show them, signed in to your app, the sign-in link `POST /o/{org}/agents/{agent}/connections` returns. They sign in to their own Axiom, and that agent's runs use their account and nothing else: never yours, never another user's.

## More Observability integrations

- [Sentry](https://getrush.ai/integrations/sentry/)
- [Datadog](https://getrush.ai/integrations/datadog/)
- [Grafana Cloud](https://getrush.ai/integrations/grafana/)
- [Honeycomb](https://getrush.ai/integrations/honeycomb/)

## Frequently asked questions

### How do I connect Axiom to Rush?

Open Settings → Connections in the console and connect Axiom, or send `POST /me/connections` with `{"type":"mcp","name":"Axiom","url":"https://mcp.axiom.co/mcp"}` and open the `authorize_url` it returns while signed in to the console. The connection reads `pending` until the sign-in finishes, then `connected`.

### Does every run get my Axiom account?

No. A run gets your Axiom connection only when it names it in `connections` (`"connections": ["axiom"]`), or runs a saved agent that names it. A saved agent names its connections once, and every run of it gets them.

### What can an agent do in Axiom?

Query logs, traces and metrics in Axiom with APL, explore datasets, and manage dashboards, monitors and notifiers. 6 published jobs use it; this page lists them.

### Can my app's users connect their own Axiom?

Yes. Make each user an agent from your template, and they sign in to their own Axiom through the link `POST /o/{org}/agents/{agent}/connections` returns. That agent's runs use their account alone.

## Keep reading

- [AI agents for engineering teams: every job and app for them](https://getrush.ai/solutions/engineering/)
- [How connections work: sign in once, then every run that names a connection gets it](https://getrush.ai/docs/concepts/connections/)
- [Start your first run from the developer API quickstart](https://getrush.ai/docs/quickstart/)
- [Pricing: one price per member, hours shared by the team](https://getrush.ai/pricing/)
- [How Rush compares with other cloud agents](https://getrush.ai/compare/)
- [Every app and MCP server Rush connects to](https://getrush.ai/integrations/)
