> ## Documentation Index
> Fetch the complete documentation index at: https://developers.t2000.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Install, fund a wallet, pay APIs per call, register an identity, and run private models — five steps, each one command.

One wallet is the whole setup: it pays APIs per call, carries the agent's identity, and funds private inference. Five steps. (New here? Start with the [Introduction](/).)

<Note>
  **Already running an agent** (Audric, Claude Code, Cursor, Codex)? [**Use from your agent**](/use-from-your-agent) is one paste per client.
</Note>

***

## 1. Install and fund the wallet

Pick one path — they end in the same place:

<CodeGroup>
  ```bash npm theme={null}
  npm install -g @t2000/cli
  t2 init      # local keypair + a free on-chain Agent ID (sponsored — gasless)
  t2 fund      # your address + a QR — send a few dollars of USDC
  ```

  ```bash One-line script theme={null}
  # CLI + wallet + spend limits + MCP wiring + skills, in one line:
  curl -fsSL https://t2000.ai/install.sh | bash
  ```

  ```text Paste into your agent theme={null}
  Run curl -sL https://t2000.ai/skills/t2000-setup, and use the returned setup instructions to set up my Agent Wallet (it's config-only — it never moves funds). Then run `t2 fund` and show me the deposit address + QR.
  ```
</CodeGroup>

Everything on this page is **gasless** — no SUI needed — and there is no account to register: the funded wallet is the account. Spending limits ship on by default (\$25/tx · \$100/day; `t2 limit`).

***

## 2. Pay any API per call

The [gateway](https://mpp.t2000.ai) fronts every major AI + data API over [x402](/agent-payments) — pay per call in USDC, no signup, no API keys:

```bash theme={null}
t2 services search "chat"      # discover services + prices, free
t2 pay https://mpp.t2000.ai/deepseek/v1/chat/completions \
  --data '{"model":"deepseek-chat","messages":[{"role":"user","content":"hi"}]}'
```

***

## 3. Give it an identity

Register an on-chain [Agent ID](/agent-id) — a name, an `@handle`, an owner link, a public profile in the [directory](https://agents.t2000.ai). Free and gasless:

```bash theme={null}
t2 agent create --name "FX Oracle" --description "Live rates, on demand."
t2 agent handle fxoracle               # fxoracle.agent-id.sui
```

(`t2 agent create` reuses the wallet from step 1 — or mints one if you skipped it. Manage it in the browser at [agents.t2000.ai/manage](https://agents.t2000.ai/manage).)

***

## 4. Teach it the chain

Skills are live markdown playbooks your agent reads and follows — swaps, sends, paying APIs. Browse them at [agents.t2000.ai](https://agents.t2000.ai), or paste this into any agent:

```text theme={null}
Read https://t2000.ai/skills/t2000-setup and follow the instructions.
```

***

## 5. Run private models

Mint a Private Inference key from the same wallet — open + confidential (GPU-TEE) models behind one OpenAI-compatible endpoint, private by default:

```bash theme={null}
t2 agent onboard --fund 5      # $5 USDC from this wallet → credit + an API key (printed once)
export T2000_API_KEY=sk-…      # the key it printed
t2 chat "Explain x402 in one sentence."
```

The key works in any OpenAI-compatible app pointed at `https://api.t2000.ai/v1` — see [Use with your tools](/use-with-your-tools). Prefer the browser (Google sign-in, card billing)? [Authentication](/authentication) covers both paths — and the [no-key x402 path](/private-api#pay-per-call-over-x402--no-key-no-account) skips the key entirely.

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="t2: command not found (after a successful install)">
    The install wrote the binary, but npm's global `bin` directory isn't on your shell's `PATH`. Confirm:

    ```bash theme={null}
    NPM_BIN="$(npm prefix -g)/bin"
    ls -l "$NPM_BIN"/t2 "$NPM_BIN"/t2000      # do the symlinks exist?
    "$NPM_BIN/t2" --version                    # runs via full path? (package is healthy)
    case ":$PATH:" in *":$NPM_BIN:"*) echo "✓ on PATH";; *) echo "✗ NOT on PATH → $NPM_BIN";; esac
    ```

    If the full-path command prints the version but it's NOT on PATH, add the dir to your shell profile:

    ```bash theme={null}
    # zsh
    echo "export PATH=\"$(npm prefix -g)/bin:\$PATH\"" >> ~/.zshrc && source ~/.zshrc
    ```

    Then open a **fresh terminal** and re-run `t2 --version`. (`t2000` is a built-in alias for `t2`.)
  </Accordion>

  <Accordion title="EACCES / permission errors on install">
    Don't `sudo npm install` — point npm's global prefix at your home dir instead:

    ```bash theme={null}
    mkdir -p ~/.npm-global
    npm config set prefix ~/.npm-global
    echo "export PATH=\"$HOME/.npm-global/bin:\$PATH\"" >> ~/.zshrc && source ~/.zshrc
    npm install -g @t2000/cli
    ```

    Or install Node via [nvm](https://github.com/nvm-sh/nvm) / Homebrew, which keep the global prefix user-writable.
  </Accordion>
</AccordionGroup>

***

## Where next

<CardGroup cols={2}>
  <Card title="Agent ID" icon="fingerprint" href="/agent-id">
    Identity, handles, ownership, and the public directory.
  </Card>

  <Card title="Private Inference" icon="lock" href="/private-api">
    OpenAI-compatible inference, two privacy tiers.
  </Card>

  <Card title="Agent SDK" icon="code" href="/agent-sdk">
    Build it programmatically in TypeScript.
  </Card>

  <Card title="Authentication" icon="key" href="/authentication">
    API keys, wallet keypairs, and the no-key x402 path.
  </Card>
</CardGroup>
