# AI / Agent entry point

## Reading order

1. Read [`/en/llms.txt`](/en/llms.txt) for the page index.
2. Load one task page as Markdown, such as [`/en/docs/core/permissions.md`](/en/docs/core/permissions.md).
3. Use [`/en/llms-full.txt`](/en/llms-full.txt) only for cross-cutting work.
4. Before editing, inspect `deno.json(c)`, `deno.lock`, `package.json`, imports, tasks, and CI.
5. After editing, run `fmt --check`, `lint`, `check`, and relevant tests, then report exact commands.

## Task routing

| Goal | Read first | Then |
| --- | --- | --- |
| Run/debug TypeScript | [Runtime](/en/docs/core/runtime) | [Permissions](/en/docs/core/permissions) |
| Install a dependency | [Dependencies](/en/docs/core/dependencies) | [CLI and config](/en/docs/reference/cli-and-config) |
| Change a monorepo | [Workspaces](/en/docs/core/workspaces) | [Production baseline](/en/docs/deploy/production-baseline) |
| Add tests | [Testing](/en/docs/core/testing) | [Built-in tools](/en/docs/core/tooling) |
| Migrate Node | [Node migration](/en/docs/migration/from-node) | [Common errors](/en/docs/reference/errors) |
| Build an AI service | [AI apps](/en/docs/ai/building-ai-apps) | [Permissions](/en/docs/core/permissions) |
| Call OpenAI | [Deno + OpenAI](/en/docs/ai/openai) | [AI apps](/en/docs/ai/building-ai-apps) |
| Build MCP tools | [MCP server](/en/docs/ai/mcp-server) | [Agent architecture](/en/docs/ai/agent-loop) |
| Design an agent loop | [Agent architecture](/en/docs/ai/agent-loop) | [Agent rules](/en/docs/ai/agent-rules) |
| Run untrusted agent code | [Deno Sandbox](/en/docs/ai/sandbox) | [Permissions](/en/docs/core/permissions) |
| Release a service | [Deployment decisions](/en/docs/deploy) | target platform's official docs |

## Invariants

```md
- Do not replace the repository's package or task conventions before reading them.
- Do not grant -A to silence a permission error; identify the exact resource.
- Running TypeScript does not replace `deno check` in CI.
- Keep deno.lock unless the user explicitly approves dependency resolution changes.
- Verify current Deno, framework, and platform behavior from primary sources.
- Never print environment values or pass untrusted text through a shell command.
```

Deno also publishes [deno.com/agents.md](https://deno.com/agents.md) and [denoland/skills](https://github.com/denoland/skills). This site's rules focus on task routing and do not replace those official skills.
