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

# Quickstart

> Get started with Agentbase AI agents in 2 minutes

Get your first AI agent running locally in 2 minutes.

## Before you begin

* [Agentbase account](https://base.agentbase.sh/sign-up) with credits
* Node.js 18+ installed

> [!TIP]
>
> Sign up with your work email to get free credits automatically!

## Step 1: Install and run

```bash theme={null}
# Create your agent project
npm create agentbase@latest

# Navigate and start
cd my-agent
npm run dev
```

You'll be prompted to add your API key on first use.

## Step 2: Test capabilities

Try these prompts in the CLI to understand what agents can do:

```
> What can you do?
> Write and run a Python function to calculate fibonacci numbers
> Search for the latest AI news and summarize it
> Create a React component for a user profile card
```

## Step 3: Understand agent modes

Change the mode in your `index.ts` file:

```typescript theme={null}
const params = { 
  message: message,
  mode: "base" // "base", "flash", or "max"
};
```

**Mode differences:**

* **Fast**: Balanced performance (recommended)
* **Flash**: Shows agent thinking process and steps
* **Max**: Advanced reasoning for complex tasks

## Ready to integrate?

The CLI uses the same API your applications will use. Everything you tested here works in production.

### Key integration parameters:

| Parameter | Purpose | Example |
| - | - | - |
| `message` | The task | `"Write a Python function"` |
| `mode` | Capability level | `"base"`, `"flash"`, `"max"` |
| `session` | Continue conversation | `?session=SESSION_ID` |

## Need help?

* Join our [Discord](https://discord.com/invite/KFtqf7j9fs) for support
* Monitor usage at [base.agentbase.sh](https://base.agentbase.sh)
* Check [API examples](https://docs.agentbase.sh/api/example) for more patterns


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.