# Quickstart: AI Agent

This page takes you to your first rendered video with an AI agent. You connect the agent to Blitframe once, then ask for a video in plain words.

Prefer to call the API from your own code? See [Quickstart: Code](/docs/blitframe/quickstart). Did you design your video in After Effects? See [After Effects extension](/docs/blitframe/after-effects) to export and upload it.

## 1. Connect your agent

Paste this prompt into your agent:

```text
Connect to Blitframe's MCP server at https://blitframe.codeartworks.com/mcp,
then install the Blitframe skills with: npx skills add CodeArtworks/blitframe-skills
```

The agent adds Blitframe's tools and its skills, the instructions it reads for each task. When a sign-in page opens, sign in with your Code Artworks account and approve one workspace. You need no API key.

::::: details Prefer to set it up yourself?
#### For any agent

Add this MCP server URL to your agent:

```
https://blitframe.codeartworks.com/mcp
```

Then install the skills. Run this in your project folder:

```bash
npx skills add CodeArtworks/blitframe-skills
```

Or copy them from the [Blitframe skills repository](https://github.com/CodeArtworks/blitframe-skills) on GitHub.

#### Steps for your agent

:::: tabs
::: tab Claude app
1. Open **Customize → Plugins**, click **Add**, then **Add marketplace**, and enter `CodeArtworks/blitframe-skills`.
2. Install the **Blitframe** plugin from that marketplace. It brings the skills and the MCP server.
3. Open the plugin's **Connectors** tab and click **Add**, then **Connect**. Sign in with your Code Artworks account and approve one workspace.

Plugins need a paid Claude plan. On the Free plan, add only the MCP server: open **Customize → Connectors**, click **Add**, then **Add custom connector**, and enter the URL.
:::
::: tab Claude Code
The Blitframe plugin adds both the MCP server and the skills:

```bash
claude plugin marketplace add CodeArtworks/blitframe-skills
claude plugin install blitframe@codeartworks
```

Then start Claude Code and run `/mcp`. Choose `plugin:blitframe:blitframe`, then sign in with your Code Artworks account and approve one workspace.
:::
::: tab Codex app
1. Open **Settings → Plugins**, click **Add**, then **Add MCP server**.
2. Name it `blitframe`, enter the URL and save it.
3. Click **Authenticate** next to `blitframe`, then sign in with your Code Artworks account and approve one workspace.

Then install the skills:

```bash
npx skills add CodeArtworks/blitframe-skills -a codex
```
:::
::: tab Codex CLI
Run:

```bash
codex mcp add blitframe --url https://blitframe.codeartworks.com/mcp
```

Codex opens the sign-in page. If it doesn't, run `codex mcp login blitframe`.

Then install the skills:

```bash
npx skills add CodeArtworks/blitframe-skills -a codex
```
:::
::: tab Cursor
Add the `blitframe` entry to `~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "blitframe": { "url": "https://blitframe.codeartworks.com/mcp" }
  }
}
```

When Cursor connects to Blitframe, it opens the sign-in page.

Then install the skills:

```bash
npx skills add CodeArtworks/blitframe-skills -a cursor
```
:::
::: tab VS Code
1. Open the Command Palette and run **MCP: Add Server**.
2. Choose **HTTP**, enter the URL and name it `blitframe`.
3. When VS Code asks, sign in with your Code Artworks account and approve one workspace.

Then install the skills:

```bash
npx skills add CodeArtworks/blitframe-skills -a github-copilot
```
:::
::: tab Gemini CLI
Run:

```bash
gemini mcp add --transport http --scope user blitframe https://blitframe.codeartworks.com/mcp
```

Then start Gemini CLI and run `/mcp auth blitframe` to sign in.

Then install the skills:

```bash
gemini skills install https://github.com/CodeArtworks/blitframe-skills --path skills
```
:::
::::
:::::

## 2. Ask for a video

Paste this prompt into the agent:

```text
Use Blitframe to make a 5-second 1280x720 intro for a coffee shop called "Morning Beans":
a warm orange background, the name sliding in from the left, a coffee cup drawn from
simple shapes popping in, and the tagline "Fresh every day" fading in below it.
Render it as an MP4 and give me the link.
```

The agent answers with a link to the MP4. The link works for an hour.

## If it didn't work

| What you see | What to do |
|---|---|
| The agent has no Blitframe tools | Start a new chat or session. Most agents load new tools only then. |
| `403 email_not_verified` | Confirm your email address from the email Code Artworks sent you, then sign in again. |
| `403 role_not_allowed` | You signed in with the billing role, which can't use the API. Ask an owner of the workspace for the developer role, or choose another workspace. |
| No sign-in page opens | The agent can't open a browser, for example over SSH. Use an API key: see [MCP for agents](/docs/blitframe/mcp#connect-your-agent). |

## Next steps

- Ask for your own video in plain words. [What to ask for](/docs/blitframe/ai-agents#what-to-ask-for) has examples.
- See what the agent can and can't do on its own: [What the agent asks you first](/docs/blitframe/ai-agents#what-the-agent-asks-you-first).
- Bring a design from After Effects: [After Effects extension](/docs/blitframe/after-effects).
- Learn what each part of the setup does: [Build with AI agents](/docs/blitframe/ai-agents).
- Build Blitframe into your own agent, on Claude's or OpenAI's API: [Build your own agent](/docs/blitframe/own-agent).
