Skip to content

Commit 07fdfba

Browse files
authored
added keywords to metadata (#1233)
1 parent a687ab8 commit 07fdfba

1 file changed

Lines changed: 65 additions & 30 deletions

File tree

Lines changed: 65 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,94 @@
11
---
22
title: "Resources for AI agents"
33
description: "Base-first resources for AI agents, including docs indexes, MCP access, skills, and recommended starting points"
4+
keywords: ["AI agents", "LLM", "MCP", "Model Context Protocol", "llms.txt", "skills", "Claude Code", "Cursor", "agent wallet", "onchain AI", "Base documentation", "x402"]
45
---
56

6-
Use this page as the starting point when you want an AI assistant to build on Base. These resources help an assistant find the right documentation and retrieve live docs context for any Base product.
7+
<Note>
8+
Fetch the complete documentation index at [https://docs.base.org/llms.txt](https://docs.base.org/llms.txt).
9+
Use this file to discover all available pages before exploring further.
10+
</Note>
711

8-
## Docs index for AI
12+
# Resources for AI agents
913

10-
Start with the [LLMS.txt](https://docs.base.org/llms.txt) when you want broad documentation context. It gives your assistant a machine-readable entrypoint into the Base docs so it can discover the most relevant pages before going deeper.
14+
Use this page as the starting point when you want an AI assistant to build on Base. It covers three ways to give an assistant Base context: static docs files, a live MCP connection, and installable skills. You'll also find recommended entry points for common workflows.
1115

12-
Use the docs index when you want to:
16+
## Quick setup
1317

14-
- Understand the overall Base docs structure
15-
- Find the right section before reading full pages
16-
- Give an assistant high-level context for multiple Base products
18+
Get your agent connected to Base docs in one command. Pick the method that fits your tool.
1719

18-
## Base MCP server
20+
### MCP server
1921

20-
Use the [Base MCP server setup guide](https://docs.base.org/get-started/docs-mcp) when you want live access to Base documentation from an AI coding assistant. The guide shows you how to connect `https://docs.base.org/mcp` in tools such as Cursor and Claude Code.
22+
A live connection lets your assistant search and read Base docs on demand, so it always has current information.
2123

22-
Use MCP when you want your assistant to:
24+
<CodeGroup>
25+
```sh Claude Code
26+
claude mcp add --transport http base-docs https://docs.base.org/mcp
27+
```
2328

24-
- Search Base docs in real time
25-
- Retrieve the exact page it needs while you work
26-
- Stay current with the latest Base documentation
29+
```sh Codex CLI
30+
codex mcp add base-docs --url https://docs.base.org/mcp
31+
```
2732

28-
## Base skills
33+
```json Cursor / manual config
34+
{
35+
"mcpServers": {
36+
"base-docs": {
37+
"url": "https://docs.base.org/mcp"
38+
}
39+
}
40+
}
41+
```
42+
</CodeGroup>
2943

30-
Use the [Base skills repository](https://github.com/base/skills) when you want installable agent workflows for common Base development tasks. These skills help assistants handle specific jobs such as connecting to Base, deploying contracts, integrating Base Account, running a Base node, or migrating app patterns.
44+
See the [full MCP setup guide](/get-started/docs-mcp) for Cursor, Windsurf, and other editors.
3145

32-
Use Base skills when you want to:
46+
### Static docs files
3347

34-
- Speed up common implementation tasks
35-
- Give an assistant procedural guidance for Base-specific workflows
36-
- Reuse proven patterns instead of writing prompts from scratch
48+
Use these when you want to load context in a single fetch rather than maintaining a live connection.
49+
50+
| File | What it contains | When to use it |
51+
| --- | --- | --- |
52+
| [`llms.txt`](https://docs.base.org/llms.txt) | Page index with titles and descriptions | Discovering which docs exist before going deeper |
53+
| [`llms-full.txt`](https://docs.base.org/llms-full.txt) | Complete documentation in one file | Giving an assistant broad context in one shot |
54+
55+
Every docs page is also available as plain Markdown. Append `.md` to any URL:
56+
57+
```txt
58+
https://docs.base.org/get-started/resources-for-ai-agents.md
59+
```
60+
61+
### Skills
62+
63+
Skills are installable agent workflows for common Base tasks, including connecting to Base, deploying contracts, integrating Base Account, running a node, and more. They give your assistant step-by-step procedural guidance instead of requiring it to piece together docs on its own.
64+
65+
```sh
66+
npx skills install base/skills -g
67+
```
68+
69+
Browse available skills in the [Base skills repository](https://github.com/base/skills).
3770

3871
## Recommended starting points
3972

40-
Use these sections when you want to narrow context to a specific type of work:
73+
Once your agent has docs context, point it at the section that matches what you're building:
4174

42-
- [AI Agents overview](/ai-agents) for the overall agent building model on Base
43-
- [Agent frameworks](/ai-agents/core-concepts/agent-frameworks) for framework choices and tradeoffs
44-
- [Wallets](/ai-agents/core-concepts/wallets) for agent wallets, signing, and funded execution
45-
- [Payments and transactions](/ai-agents/core-concepts/payments-and-transactions) for x402 payments and onchain actions
46-
- [Identity and auth](/ai-agents/core-concepts/identity-verification-auth) for verification and trust between agents and services
47-
- [Base Account quickstart for AI tools](/base-account/quickstart/ai-tools-available-for-devs) for agent-assisted wallet and account flows
48-
- [Deploy on Base](/base-chain/quickstart/deploy-on-base) for contract deployment on Base
49-
- [Build a Base app](/get-started/build-app) for agent experiences in the Base app
75+
| What you're doing | Start here |
76+
| --- | --- |
77+
| Building an AI agent on Base | [AI Agents overview](/ai-agents) |
78+
| Choosing an agent framework | [Agent frameworks](/ai-agents/core-concepts/agent-frameworks) |
79+
| Setting up agent wallets and signing | [Wallets](/ai-agents/core-concepts/wallets) |
80+
| Adding payments or onchain transactions | [Payments and transactions](/ai-agents/core-concepts/payments-and-transactions) |
81+
| Verifying identity between agents and services | [Identity and auth](/ai-agents/core-concepts/identity-verification-auth) |
82+
| Using AI tools with Base Account | [Base Account quickstart for AI tools](/base-account/quickstart/ai-tools-available-for-devs) |
83+
| Deploying contracts | [Deploy on Base](/base-chain/quickstart/deploy-on-base) |
84+
| Building an app on Base | [Build a Base app](/get-started/build-app) |
5085

5186
## Example prompts
5287

53-
These prompts show the kinds of tasks you can ask an assistant to handle when it has access to Base resources:
88+
Copy these into your assistant to test that everything is working:
5489

5590
- "Deploy my ERC-20 contract to Base Sepolia and verify it on Basescan."
5691
- "Add Sign in with Base to my Next.js app using wagmi."
5792
- "Set up a wallet for my AI agent that can hold USDC and sign transactions autonomously."
58-
- "Create a App with a USDC payment flow."
93+
- "Create an app with a USDC payment flow."
5994
- "Build an agent that pays for API requests using the x402 protocol."

0 commit comments

Comments
 (0)