LiveKit docs › Get Started › Coding agent support

---

# Coding agent support and tools

> Turn your favorite coding agent into a LiveKit expert with access to docs, tools, and best practices.

[Video: Keep coding agents up to date with MCP, CLI, and skills](https://www.youtube.com/watch?v=GW3s-BVxng4)

## Overview

LiveKit is built for coding agents like [Claude Code](https://claude.com/product/claude-code), [Cursor](https://www.cursor.com/), [Codex](https://openai.com/codex/), and [Gemini CLI](https://geminicli.com/). Use the resources in this guide to give them direct access to the latest docs and best practices so they build the right thing every time.

For optimal performance, your coding agent needs two types of resources:

1. **Docs and code access** — With the LiveKit CLI or Docs MCP server, your coding agent can browse and search the LiveKit documentation and SDK code to find up-to-date information and advice.
2. **Best practices in-context** — With Agent Skills and `AGENTS.md` files, your coding agent always knows to consult the latest documentation when building with LiveKit.

This guide covers both of these areas in detail. The LiveKit starter projects come with these resources built-in, including a robust `AGENTS.md` file:

- **[Python starter project](https://github.com/livekit-examples/agent-starter-python)**: Includes an `AGENTS.md` file optimized for building agents in Python.

- **[Node.js starter project](https://github.com/livekit-examples/agent-starter-node)**: Includes an `AGENTS.md` file optimized for building agents in Node.js.

## Docs search

Docs search is available in both the LiveKit CLI and the LiveKit Docs MCP server. Both have the exact same capabilities — choose the one that works best for your agent. All documentation files are also available in raw Markdown and via LLMs.txt.

### LiveKit CLI

The LiveKit CLI includes a `docs` subcommand that gives any coding agent full access to LiveKit documentation from the terminal. It works with any agent that can execute shell commands — browse the table of contents, search docs, read full pages, and search code across LiveKit repositories.

Add the following to your `AGENTS.md` to ensure your agent always consults the docs:

```markdown
LiveKit is a fast-evolving project. Always refer to the latest documentation. Run `lk docs --help` to see available commands. Key commands: `lk docs overview`, `lk docs search`, `lk docs get-page`, `lk docs code-search`, `lk docs changelog`, `lk docs pricing-info`. Run `lk docs <command> --help` before using a command for the first time. Prefer browsing (`overview`, `get-page`) over search, and `search` over `code-search`, as docs pages provide better context than raw code.

```

- **[CLI setup](https://docs.livekit.io/intro/basics/cli.md)**: Install the CLI and start searching docs.

- **[Doc command reference](https://docs.livekit.io/reference/developer-tools/livekit-cli/docs.md)**: Full reference for the `lk docs` subcommand.

### MCP server

For coding agents that support [Model Context Protocol (MCP)](https://modelcontextprotocol.io/), LiveKit provides a free MCP server with tools for browsing and searching the docs site. The server supports the same capabilities as the CLI with deeper IDE integration.

**Cursor**:

Add this to your MCP configuration:

```json
{"livekit-docs": {"url": "https://docs.livekit.io/mcp"}}

```

Or click this button:

![Install MCP Server in Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)

---

**Claude Code**:

```shell
claude mcp add --transport http livekit-docs https://docs.livekit.io/mcp

```

---

**VS Code**:

```shell
code --add-mcp '{"name":"livekit-docs","type":"http","url":"https://docs.livekit.io/mcp"}'

```

---

**Codex**:

```shell
codex mcp add --url https://docs.livekit.io/mcp livekit-docs

```

Add the following to your `AGENTS.md` to ensure your agent always consults the docs:

```markdown
LiveKit is a fast-evolving project. Always refer to the latest documentation. LiveKit provides an MCP server at `https://docs.livekit.io/mcp` with tools for browsing and searching docs. Key tools: `get_docs_overview`, `get_pages`, `docs_search`, `code_search`, `get_changelog`, `get_pricing_info`. Prefer browsing (`get_docs_overview`, `get_pages`) over search, and `docs_search` over `code_search`, as docs pages provide better context than raw code.

```

- **[Docs MCP server reference](https://docs.livekit.io/reference/developer-tools/docs-mcp.md)**: Full reference for the LiveKit Docs MCP server.

### Markdown docs and LLMs.txt

Each page on the LiveKit docs site is available in Markdown format, which is useful for pasting into AI assistants when MCP and the CLI aren't available.

To access the Markdown version of any page, append `.md` to the end of the URL or add `text/markdown` to your `Accept header`. For example, this page is available at [https://docs.livekit.io/intro/coding-agents.md](https://docs.livekit.io/intro/coding-agents.md). You can also use the "Copy page" button on the top right of any docs page.

A complete Markdown-based index of the docs site is available at [https://docs.livekit.io/llms.txt](https://docs.livekit.io/llms.txt). This file includes a table of contents along with brief page descriptions. An expanded version is available at [https://docs.livekit.io/llms-full.txt](https://docs.livekit.io/llms-full.txt), but this file is quite large and may not be suitable for all use cases. For more information about LLMs.txt, see [llmstxt.org](https://llmstxt.org/).

## Agent Skills

LiveKit publishes skills for coding agents that provide additional architectural guidance and best practices for building voice AI applications, covering workflow design, handoffs, tasks, and testing practices. Combined with the docs CLI or MCP server, skills give agents deep expertise about building with the LiveKit SDKs.

Run the following command to install it with [skills.sh](https://agentskills.io/):

```shell
npx skills add livekit/agent-skills --skill livekit-agents

```

For other installation methods, see the repo:

- **[LiveKit Agent Skills](https://github.com/livekit/agent-skills)**: Best practices for building voice AI applications with LiveKit.

Once installed, the skill activates automatically for relevant tasks. It can also be manually invoked with `/livekit-agents`.

## Best practices

To construct your own `AGENTS.md` file or agent skills, consider the following best practices to help your coding agent get the most out of LiveKit's tools:

- Begin with a starter project. The [Python](https://github.com/livekit-examples/agent-starter-python) and [Node.js](https://github.com/livekit-examples/agent-starter-node) starters include working agents, tests, and an optimized `AGENTS.md`.
- Read the docs like a human: browse the table of contents first (`lk docs overview`), search docs second (`lk docs search`), and search code third (`lk docs code-search`). Browsing gives full context — search only gives fragments.
- Always check the docs before writing LiveKit code. The APIs change frequently and training data goes stale.
- Use code search to answer detailed questions about a class or method that isn't present in the docs.
- If the docs don't match the package installed or something breaks after an upgrade, check the changelog (`lk docs changelog`).
- Search results only show excerpts — always fetch the full page with `lk docs get-page` to see prerequisites and related options.
- Practice TDD with the [agents testing framework](https://docs.livekit.io/agents/start/testing.md) in the Python and Node.js Agents SDKs. The testing guide also has advice on CI setup.

---

This document was rendered at 2026-05-12T12:30:25.905Z.
For the latest version of this document, see [https://docs.livekit.io/intro/coding-agents.md](https://docs.livekit.io/intro/coding-agents.md).

To explore all LiveKit documentation, see [llms.txt](https://docs.livekit.io/llms.txt).