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

# AI onboarding

> Onboard your AI agent to Keystroke.

Keystroke is designed for building *with* your coding agent. This page helps your coding agent get set up with Keystroke. For a step-by-step walkthrough you run yourself, see the [Quickstart](/quickstart).

## Give your agent the setup prompt

The fastest path to setting up Keystroke is giving your agent the following prompt:

```
Read https://keystroke.ai/start.md then help me create my first agent.
```

## What your agent gets

`keystroke init` scaffolds a project that's ready for a coding agent from the first commit:

| File            | What it gives your agent                                                 |
| --------------- | ------------------------------------------------------------------------ |
| `AGENTS.md`     | Baseline context: the CLI, project layout, discovery, and working habits |
| `CLAUDE.md`     | Symlink to `AGENTS.md` so Claude Code picks it up automatically          |
| `tsconfig.json` | Committed TypeScript config (extends `@keystrokehq/cli/tsconfig.json`)   |
| `package.json`  | Scripts for `keystroke dev`, `build`, `lint`, `typecheck`, and `test`    |
| `src/`          | An example agent to read and extend                                      |

Beyond this baseline, your agent reads the full docs on demand with `keystroke docs search` and `keystroke docs query` — see [docs for agents](/build-with-ai/docs-for-agents).

Most coding agents read `AGENTS.md` automatically when they open the project, so they're oriented before you ask for anything.

## Start building

With the project open in your coding agent, just describe what you want. For example:

```
Build a morning brief agent. It should scan my Google Calendar, Gmail inbox, and Linear issues each weekday morning and send me a short briefing in Slack.
```

```
Build a meeting recap agent. It should trigger whenever one of my Google Meet calls finishes, turn the transcript into action items, and send me a recap in Slack.
```

## Build over MCP instead

If you'd rather build from a chat-first agent like ChatGPT or Claude — with no local install — connect the [Keystroke MCP server](/build-with-ai/mcp-for-agents). Your agent works in a hosted workspace with the same docs access and deploy loop, so you skip `keystroke init` entirely.

## Give your agent the docs

This page is often the first thing an agent reads. You can hand it Keystroke's docs in a context-aware way:

1. **All the docs (llms.txt)**

   Point your agent at the complete, machine-readable docs index:

   ```
   Here are the Keystroke docs: https://keystroke.ai/docs/llms.txt
   ```

2. **A single page as markdown**

   Append `.md` to any docs URL to get a clean markdown version:

   ```
   Docs for this page: https://keystroke.ai/docs/build-with-ai/onboarding.md
   ```

3. **In your editor**

   Every docs page can be copied or opened directly in ChatGPT, Claude, Cursor, or an MCP client from the menu at the top of the page.
