# Keystroke > Keystroke is the code-first AI automation platform — an n8n alternative built for your coding agent. Build specialized AI agents and workflow automations as real TypeScript in your own repo, then deploy to a managed cloud platform. Unlike tools like Zapier and n8n that hide logic behind brittle JSON, everything in Keystroke is actual code your coding agent (Cursor, Claude Code, Codex, etc.) can build, test, and maintain. For AI agents and automation, use the tools below. ## Command line tool Install and use the Keystroke CLI from the terminal. `keystroke init` scaffolds a project and `keystroke deploy` ships it to the platform. It also installs an `AGENTS.md` that points your coding agent to the documentation — read with `keystroke docs search` and `keystroke docs query` — so it knows how to build. - [Install](https://www.npmjs.com/package/@keystrokehq/cli) — `npm install -g @keystrokehq/cli` - [Agent setup guide (Markdown)](https://keystroke.ai/start.md) — install, auth, init, and deploy - [Repository](https://github.com/keystrokehq/keystroke) ## Agent guide The baseline guide scaffolded into every Keystroke project (`AGENTS.md`) — project layout, primitives, integrations, the deploy-first loop, and common gotchas: - [AGENTS.md (raw)](https://raw.githubusercontent.com/keystrokehq/keystroke/main/packages/skills/bundled/_AGENTS.md) ## Documentation The documentation is the source of truth for APIs, patterns, and examples. Navigate it three ways: - **CLI (preferred, no auth)** — `keystroke docs search ""` to find pages, `keystroke docs query "cat /.mdx"` to read them. - **Index** — [Full documentation (llms.txt)](https://keystroke.ai/docs/llms.txt) lists every page; [llms-full.txt](https://keystroke.ai/docs/llms-full.txt) inlines all content. - **URL** — append `.md` to any docs page URL for Markdown, e.g. [quickstart.md](https://keystroke.ai/docs/quickstart.md). Key pages for building: - [Workflow best practices](https://keystroke.ai/docs/learn/workflows/authoring-best-practices.md) — durable steps, replay, canvas rules - [Build agents](https://keystroke.ai/docs/learn/agents/build-agents.md) — models, tools, memory, sandboxes - [Triggers overview](https://keystroke.ai/docs/learn/triggers/overview.md) — schedules, webhooks, polls - [Polling and cursor state](https://keystroke.ai/docs/learn/triggers/polling.md) — poll filters, persisted cursor state - [Use credentials in code](https://keystroke.ai/docs/learn/credentials/use-credentials.md) — declaring and resolving credentials - [CLI reference](https://keystroke.ai/docs/cli.md) — every command and flag ## Integrations Keystroke has 1,000+ built-in integrations (apps, actions, and triggers). **Discover them with the CLI** — `keystroke apps search "{query}"` searches the live catalog, `keystroke apps actions list ` lists an app's actions, and `keystroke apps execute ` runs one. The static docs index below is a reference, not the discovery path: - [Integrations (Markdown)](https://keystroke.ai/docs/integrations.md) - [Integrations (HTML)](https://keystroke.ai/docs/integrations) Each integration has its own docs page listing the actions (tools/workflow steps) it supports. Append `.md` to any integration page URL to read it as Markdown. ## Pricing Plans, features, and usage limits for building and running agents and automations. - [Pricing (Markdown)](https://keystroke.ai/pricing.md) - [Pricing (HTML)](https://keystroke.ai/pricing) ## Models The catalog of AI models you can use when building agents (model ids, context windows, pricing, and capabilities), refreshed on each deploy. - [Models (Markdown)](https://keystroke.ai/models.md) ## Discord - [Discord](https://discord.gg/Xw3qfAP69q) - [X](https://x.com/KeystrokeAI) - [GitHub](https://github.com/keystrokehq/keystroke)