Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

897 B
Raw Blame
---
title: Setup
description: Connect alchemy to Axiom — account, credentials, and profiles.
---

Sign up at [axiom.co](https://axiom.co) and create an API token in
the [Axiom app](https://app.axiom.co). Register the provider next to
your cloud's:

```typescript
// alchemy.run.ts
import * as Axiom from "alchemy/Axiom";

providers: Layer.mergeAll(Cloudflare.providers(), Axiom.providers()),
```

The next `alchemy login` adds an `Axiom` step with two options:

- **Environment variables** — reads `AXIOM_TOKEN` (or
  `AXIOM_API_KEY`), plus optional `AXIOM_ORG_ID` and `AXIOM_URL`
  (good for CI).
- **Stored token** — an API token or personal access token entered
  interactively, saved under `~/.alchemy/credentials/<profile>/`.

See [Profiles](/environments/profiles) for how credentials are stored
and switched.

## Next steps

- [Axiom overview](/axiom) — resources and compositions.