> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.multion.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.multion.ai/_mcp/server.

# Quick Start

> Simple steps to get started with MultiOn Agent API

## Create your first agent

### Generate API key

Sign up on our [developer console](https://app.multion.ai/) and create a new [API key](https://app.multion.ai/api-keys). Remember, your API key is your access secret—keep it safe with environment variables.

### Install package

Install the MultiOn SDK for your preferred language.

#### TypeScript

```bash
npm install multion
```

#### Python

```bash
pip install multion
```

### Send your first request

Try scraping a webpage with the Agent API. Be sure to replace `MULTION_API_KEY` with your actual API key.

#### cURL

```bash
curl -X POST https://api.multion.ai/v1/web/browse \
     -H "X_MULTION_API_KEY: MULTION_API_KEY" \
     -H "Content-Type: application/json" \
     -d '{
       "cmd": "Find the top comment of the top post on Hackernews.",
       "url": "https://news.ycombinator.com/"
      }'
```

#### TypeScript

```ts
import { MultiOnClient } from "multion"
const multion = new MultiOnClient({
  apiKey: "MULTION_API_KEY",
});
const browse = await multion.browse({
  cmd: "Find the top comment of the top post on Hackernews.",
  url: "https://news.ycombinator.com/",
});
console.log("Browse response:", browse)
```

#### Python

```python
from multion.client import MultiOn
multion = MultiOn(api_key="MULTION_API_KEY")
browse = multion.browse(
    cmd="Find the top comment of the top post on Hackernews.",
    url="https://news.ycombinator.com/"
)
print("Browse response:", browse)
```

### Develop locally with the browser extension

Find the [MultiOn Browser Extension](https://chrome.google.com/webstore/detail/multi%C2%B7on/ddmjhdbknfidiopmbaceghhhbgbpenmm) on the Chrome Web Store and click **"Add to Chrome"** to add it to your browser. Make sure the **API Enabled** option is checked. Learn more about the browser extension [here](/learn/browser-extension).

## Learn concepts

Learn more about core MultiOn concepts to build complex applications with agents.

#### [Browser Extension](/learn/browser-extension)

Learn to use the browser extension

#### [Sessions](/learn/sessions)

Learn to manage agent sessions

#### [Retrieve](/learn/retrieve)

Learn to scrape structured data

#### [Skills](/learn/skills)

Learn to create agent skills

## Start building

That's it! You're ready to start building your own autonomous web agents. Here are a couple of examples to get you started. Happy building! 🙌

#### [Scrape H\&M](/build/hm)

Learn to use step and retrieve to scrape structured data

#### [Post on X](/build/x)

Learn to use browse and local mode to take actions autonomously