Skip to main content

Getting Started

Quick Start

Sign up and run your first Sealevel query in under 5 minutes.

1. Install the CLI

Bash
pip install sealevel

2. Authenticate

Bash
slm login
# Opens your browser → sign in with GitHub or Google → done

Or go to sealevel.tech/sign-in, generate a key from the Dashboard, and set it manually with slm config --api-key slm_YOUR_KEY.

3. Start chatting

Bash
slm                                    # interactive session
slm -p "How do I derive a PDA?"        # one-shot mode

4. Pick a client

Sealevel ships three clients — use whichever fits your workflow:

  • CLI — interactive terminal session with slash commands
  • Web chat — no install, fastest way to try it
  • MCP server — Claude Code, Cursor, Windsurf integration

5. Raw API (curl)

Bash
curl https://www.sealevel.tech/api/chat \
  -H "Authorization: Bearer slm_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "messages": [{"role": "user", "content": "How do I derive a PDA in Anchor?"}],
    "max_tokens": 4096,
    "stream": true
  }'