Skip to content
Documentation

Ashlr Stack docs

Reference for supported Stack provider setup, credential persistence and local configuration.

Copy-paste for agents

Read llms.txt and llms-full.txt. These four commands are read-only. They need no account and they write nothing.

npx -y -p @ashlr/stack stack providers --json
npx -y -p @ashlr/stack stack recommend "B2B SaaS with auth, AI, and payments" --json
npx -y -p @ashlr/stack stack scan --json
npx -y -p @ashlr/stack stack templates list --json

One command on macOS or Linux. It also installs Phantom Secrets if that CLI is missing.

curl -fsSL stack.ashlr.ai/install.sh | bash

Claude Code, Cursor, and Codex use the same stdio server. Cursor file: ~/.cursor/mcp.json or the project .mcp.json.

{
  "mcpServers": {
    "ashlr-stack": {
      "command": "npx",
      "args": ["-y", "-p", "@ashlr/stack", "-p", "ashlr-stack-mcp", "ashlr-stack-mcp"]
    }
  }
}
claude mcp add ashlr-stack -- npx -y -p @ashlr/stack -p ashlr-stack-mcp ashlr-stack-mcp
codex mcp add ashlr-stack -- npx -y -p @ashlr/stack -p ashlr-stack-mcp ashlr-stack-mcp

Three paths to Stack

Pick the one that matches where you are. You can mix and match — most users start with the quickstart, then come back for the CLI reference.

What Stack is

Stack is a thin control plane over the services your app actually uses. It drives provider login and supported creation or attachment, then attempts credential writes through Phantom, optional .env.example skeleton export, .mcp.json descriptors and .stack.toml split config. Populated env files are not generated automatically; writes and cleanup can be partial.

# inside an initialized project; setup can contact the provider
stack add supabase

What Stack isn't

  • Not a secret manager. Persistence uses Phantom. Stack handles supplied values during setup and records dedicated slot names in config.
  • Not a deploy tool. We don't rebuild Vercel or Railway — we just give them the keys they need.
  • Not a lock-in. Stack's own state is plain files: .stack.toml and .stack.local.toml (TOML) and .mcp.json. It does not write .env; secrets stay in Phantom. Removing Stack does not migrate credentials or guarantee the app still boots; inspect its runtime dependencies.

Part of the Ashlr ecosystem

Stack is one tool in the Ashlr ecosystem. Together these tools aim to be an autonomous, code-first, agent-native software factory, chasing open-source RSI (recursive self-improvement). Agents do the work, and the human acts as a passive board member. Stack is the service layer: it turns provider setup into commands an agent can run and parse.

  • Phantom (phm) runs the agents that improve these repos.
  • Phantom Secrets (phantom) is the vault for the secrets you select.
  • Locus (locus) pins which account a session acts as.
  • Lexicon, Ashlr Markdown and the Ashlr plugin cover dictated names, Markdown and Claude Code or Codex.

stack doctor --ecosystem --json reports which of these are installed and writes nothing. The full list and how agents work on this repo are on For AI agents.

The whole map

Everything in these docs, grouped by purpose:

Pre-alpha status

Heads up: These docs describe reviewed source 0.3.11. Recorded public CLI/MCP packages are 0.3.10; native release binaries are separate artifacts. Check installed help; provider access and client setup remain conditional. See the FAQ for the honest caveats.