Common tasks
Use this page when you know what you want to build and need the shortest path through the docs. Each task points to the first page to read, then the pages that usually matter once the basic shape is working.
Agent and automation goals
| Goal | Start here | Then read |
|---|---|---|
| Build a Slack code-review bot | Tutorial: code review agent | Slack Events connector, Connector catalog, Trigger manifests |
| Run a release-audit cron | Trigger manifests | Cron connector, Flow predicate language, Maintainer release workflow |
| Create an evaluated agent pipeline | Tutorial: eval pipeline | Debugging agent runs, Harn portal, Testing |
| Add human approval before risky actions | Human in the loop | Trust graph, Host boundary, Workflow runtime |
| Route work across multiple agents | Workflow runtime | Worker dispatch, Agent state, Sessions |
| Reuse a proven prompt or persona | Prompt library stdlib | Personas, Skills, Skill provenance |
Integration goals
| Goal | Start here | Then read |
|---|---|---|
| Self-host an MCP server with custom tools | Tutorial: MCP server | MCP, ACP, and A2A integration, Outbound workflow server, Protocol support matrix |
| Connect a Cursor automation | Orchestrator MCP Server | Protocol support matrix, MCP, ACP, and A2A integration, Host boundary |
| Connect Harn to an external MCP tool server | Remote MCP quick start | MCP, ACP, and A2A integration, Builtin functions, Configuring LLM providers |
| Handle a GitHub webhook workflow | Connector catalog | GitHub App connector, Trigger manifests, Orchestrator |
| Author a reusable connector package | Connector authoring | Connector testkit, Package authoring, Rust connectors -> Harn packages |
| Expose a workflow over HTTP or stdio | Outbound workflow server | MCP, ACP, and A2A integration, Bridge protocol, Agents Protocol v1 |
Operations goals
| Goal | Start here | Then read |
|---|---|---|
| Set up an agent operations console | Harn portal | Orchestrator observability, Trigger observability in the action graph, Debugging agent runs |
| Deploy a long-running orchestrator | Orchestrator | Deploy to Fly.io, Deploy to Render, Deploy to Railway |
| Manage secrets and OAuth for production | Orchestrator secrets | Connector OAuth, Configuring LLM providers, Host boundary |
| Recover or replay failed trigger work | Orchestrator DLQ management | Trigger dispatcher, Trigger registry, Debugging agent runs |
| Control throughput and backpressure | Orchestrator backpressure | Trigger budgets, Worker dispatch, Concurrency |
| Audit runtime behavior after a change | Flow predicate language | Transcript architecture, Trust graph, CLI reference |
If you are starting from scratch
- Install Harn and run your first program with Getting started.
- Learn the core syntax with Language basics.
- Use LLM calls and agent loops for model-backed work.
- Pick one task above and follow only that path until the first version works.
- Come back to Best practices before making the workflow write to external systems or run unattended.