---
title: "Templates & Quick Setups: Deploy a Working Agent in 30 Seconds"
description: Scaffold ready-to-deploy Caveman agents with cvm agent init, iterate locally with cvm agent dev, and ship immutable revisions with cvm deploy.
canonical: https://docs.caveman.so/templates
product: Caveman Cloud
tab: Documentation
group: Templates & Quick Setups
---

# Templates & Quick Setups: Deploy a Working Agent in 30 Seconds

> Scaffold ready-to-deploy Caveman agents with cvm agent init, iterate locally with cvm agent dev, and ship immutable revisions with cvm deploy.

Every `cvm` CLI installation ships with five production-ready `AGENT.md` templates. Run `cvm agent init <template>` to write the folder locally with zero network calls, preview it at `http://127.0.0.1:4317`, and deploy it live in one command.

Writing a custom agent from scratch in TypeScript? See [Agent SDK](/agent) or [AGENT.md Format](/agents/agent-md).

## Deploy any template in three commands

```bash
cvm agent init <template> ./my-agent
cvm agent dev ./my-agent                # optional: local hot-reload dev UI
cvm deploy ./my-agent --budget 2
cvm run <template> "Your first task"
```

`cvm agent init` refuses to overwrite existing files and validates the generated folder with the exact same deterministic compiler `cvm deploy` runs.

## Built-in CLI templates

| Template | Command | Computer tier | Connectors / Drives / Triggers | Best for |
| --- | --- | --- | --- | --- |
| [**Ask Caveman**](/templates/ask-caveman) | `cvm agent init ask` | `none` | `caveman` connector (read-only) | Answering spend, trace, eval, and report questions over your Cloud data |
| [**Slack Support Bot**](/templates/support-slack) | `cvm agent init support-slack` | `none` | Slack channel, Linear connector, `/kb` + `/memory` Drives, `refunds` skill | Customer & internal support threads with taint-aware human approvals |
| [**GitHub PR Reviewer**](/templates/pr-reviewer) | `cvm agent init pr-reviewer` | `none` | GitHub channel, `security` subagent, typed JSON `output_schema` | Automated pull request reviews with parallel security audits |
| [**Scheduled Researcher**](/templates/researcher-drive) | `cvm agent init researcher-drive` | `none` | Weekday cron schedule, review-gated `/reports` Drive | Recurring digests that wait for human review before merging to a Drive |
| [**Deterministic Code Tools**](/templates/ts-tools) | `cvm agent init ts-tools` | `code` | Custom `tools/prorate_refund.mjs` QuickJS code tool | Billing math and exact calculations where LLMs must call deterministic code |

## Other fast setups

| Goal | Command | Guide |
| --- | --- | --- |
| Connect Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, OpenCode, or Caveman Code | `npx -y @caveman-ai/cloud setup` | [Agent-Native Setup](/guides/agent-native-setup) |
| Headless signup for an autonomous agent (no browser) | `cvm signup --email you@company.com --accept-terms` | [Agent-Native Setup](/guides/agent-native-setup#headless-zero-browser-signup-for-autonomous-agents) |
| Launch a repo sandbox with zero secrets inside the VM | `cvm sandbox up` | [Sandboxes Overview](/sandboxes/overview) |
| Run one command in an isolated Firecracker VM | `cvm run-box --network none -- "uname -a"` | [Sandbox CLI & SDKs](/sandboxes/cli-and-sdks) |
| Scaffold a TypeScript Agent SDK project | `npm create @caveman-ai/agent` | [Agent SDK](/agent) |
| Create a CI eval gate file | `cvm evals init` | [Evals & CI Gates](/guides/evals) |

## Browse the templates

- [Ask Caveman (ask)](/templates/ask-caveman): Read-only Cloud analytics agent answering spend, trace, and eval questions with cited `query_digest` proof.
- [Slack Support Bot (support-slack)](/templates/support-slack): Durable Slack thread agent combining Drive knowledge bases, lazy skills, and approval-gated Linear writes.
- [GitHub PR Reviewer (pr-reviewer)](/templates/pr-reviewer): Multi-agent pull request reviewer with a focused security subagent and strict JSON verdict schema.
- [Scheduled Researcher (researcher-drive)](/templates/researcher-drive): Cron-scheduled weekday digest agent writing human-reviewed changesets into a shared Drive.
- [Deterministic Code Tools (ts-tools)](/templates/ts-tools): QuickJS code-tier agent pairing natural-language reasoning with deterministic refund math tools.
