Go from a new organization to a roster agent with a template, one evaluation category, one trigger and a graded run. Read this first; it introduces the dashboard flow and the runtm-api CLI.
By the end of this page you will have one agent that has a job, a way to measure it, a place to run, a trigger, and a first graded run on the scorecard. It takes about ten minutes.
Prerequisites
A Runtime account and an organization. Agents live in organizations, not in personal mode; the dashboard’s Quickstart creates one for you.
Optionally, a Slack workspace you can install an app into, or nothing at all if you use the Email trigger.
The guided path
New organizations land on the Quickstart page. The third step, Set Up Your First Agent, asks a short set of questions and builds the agent with you.
The Quickstart page: create an organization, invite the team, then set up the first agent.
The questions map directly onto the first steps of building an agent:
Question you are asked
What it decides
What do you do? (Support, Data, Engineering, Ops, Leadership)
Which agent archetype to start from.
What should Runtm take off your plate first?
The job. This becomes the agent’s description and the first line of its instructions.
Which tools from your stack
Which tool providers to prepare (Zendesk, Stripe, Postgres, Datadog and others appear as ready-to-connect cards).
Where should this agent live? (Slack, Email, Runtm dashboard)
Which trigger to connect.
Roughly how big is the team this would help?
Sizing hints only.
When you click Set this up, Runtime creates a template named after the agent, a roster agent whose default template points at it, a runbook skill attached to the template, one “Connect X” card per tool you named, and a setup session where the agent finishes wiring itself. A Finish your setup checklist inside that session tracks the remaining connections (GitHub App, Slack app, email inbox, tool credentials).If you prefer to see every piece, follow the manual path below. It creates the same objects.
The manual path
1
Create the agent
Go to Agents and click New Agent. The dialog has three steps: Profile, Instructions, Triggers.
New Agent, step 1: name and avatar.
On Profile, name the agent (for example Payment Support). On Instructions, write a one-line Description that states the job, and System instructions that say how to do it and what never to do. Skip Triggers for now and click Create agent.A good first description names the input, the output, and the boundary: “Given a Zendesk ticket about a charge, reconstruct the payment timeline from Stripe and the ledger and draft a customer reply. Never send it.” See Define the job.
2
Give it a place to run
Open the agent (click its card) and set Default template. If you have no template yet, go to Templates > New Template, choose Blank environment, name it, and click Create Template. A blank template boots with your org’s skills and tools and nothing cloned.Tools, MCP servers and secrets attach to the template, not the agent. Give it tools covers connecting Zendesk, Stripe and a read-only database.
3
Add one evaluation category
Still in the agent’s Profile tab, scroll to Performance evaluation and click Add evaluation category.
One evaluation category: what it is called, when it applies, and how to grade it.
Fill in a category name (duplicate-charge), when to use it (“the customer reports being charged twice for one order”), and the success criteria (“the draft cites both charge IDs, states which one settled, and proposes the refund amount”). Add Avg human cost (USD) and Avg human time (minutes) so the scorecard can value each success. Click Save profile.Without at least one category, runs are never graded and the scorecard shows zeros. See Measure success.
4
Connect a trigger
In the agent’s sheet, under Triggers, add one:
Email is the fastest: click Create inbox and Runtime mints an address like [email protected]. Emails to it start a run; the reply comes back in the same thread.
Slack installs an app into your workspace so people can @mention the agent in a channel or DM it.
Every trigger uses the agent’s default template and instructions unless its own settings tab overrides them. See Triggers.
5
Run it once
Send the agent a real case. Email the inbox, or mention it in Slack:
@Payment Support Customer on order #48213 says they were charged twice. Ticket 88231.
The run appears under Sessions (and under Agents > Runs). Open it to watch the agent work, or wait for the reply in the thread.
6
Read the grade
A few minutes after the run finishes, open Activity > Agents. Your agent shows one graded run, whether it passed, and the value returned based on the human cost you entered.If the run failed the grade, the reason tells you why. Tighten the success criteria or the instructions and send the next case. See Prove it works and iterate. Guardrails come after the agent passes its cases: Add guardrails and approvals.
The same thing from the CLI
Every step above is one runtm-api command. Coding agents use this CLI to build and operate other agents; this is the only page in Documentation that shows it in full, so you know it exists.
curl -fsSL https://runtm.com/install | bashexport RUNTM_API_KEY=runtm_... # an org-scoped key from Settings > API Keysruntm-api template create --display-name "Payment Support" --github-repo <owner>/<repo> --skip-agentruntm-api agents create --name "Payment Support" \ --description "Reconstructs disputed charges from a ticket and drafts a reply, never sends" \ --instructions "$(cat instructions.md)" \ --template payment-supportruntm-api agents update <agent_id> --evaluator-criteria "$(cat rubric.json)"runtm-api agents create --type email --name payment-support --agent-id <agent_id>runtm-api agents scorecard --days 7
Every Build and Guides page carries the CLI equivalent of each dashboard step in an agent-only block (hidden on the website, present at the .md URL), so an agent reading https://docs.runtm.com/<page>.md can lift the exact command. Lines start with cli: (run it), cli-verify: (check it worked) or cli-handoff: (a URL to give a person, for steps like entering a credential that an agent must not do). The full command table is on the Agent CLI page.
Next steps
Build an agent
Each of the six steps in depth, including when to add guardrails.
Payment support agent
The complete worked example this quickstart is based on.
Runtime MCP server
Install it in Claude, ChatGPT, Cursor or VS Code and run your agents from chat.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Runtime","colors":{"primary":"#18181b","light":"#71717a","dark":"#18181b"},"favicon":"https://mintcdn.com/runtm/5BRbZxh1joq_9si2/images/favicon.svg?fit=max\u0026auto=format\u0026n=5BRbZxh1joq_9si2\u0026q=85\u0026s=957716cbd1f84c5995ece94d6ac63ffd","logo":{"light":"https://mintcdn.com/runtm/5BRbZxh1joq_9si2/images/logo-light.svg?fit=max\u0026auto=format\u0026n=5BRbZxh1joq_9si2\u0026q=85\u0026s=dd91f6d3dfa4840b854b016d7add405d","dark":"https://mintcdn.com/runtm/5BRbZxh1joq_9si2/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=5BRbZxh1joq_9si2\u0026q=85\u0026s=996520fef61624cf8b0b4583342e3300"},"api":{"mdx":{"server":"https://app.runtm.com/api/cloud","auth":{"method":"bearer","name":null}}},"appearance":{"default":"light","strict":null},"background":{"decoration":null,"color":{"light":"#fafafa","dark":"#18181b"}},"footer":{"socials":{"github":"https://github.com/runtm-ai/runtm","x":"https://twitter.com/runtm_ai"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"GitHub","href":"https://github.com/runtm-ai/runtm","icon":"github"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"runtm","hasAudioNarration":false,"actualSubdomain":"runtm","customDomains":["docs.runtm.com"],"gitSource":{"type":"github","owner":"runtm-ai","repo":"runtm","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10cd069ffae5051c409b33"},"entitlements":{},"buildId":"6b04d1dd6454b47d4f821e14","clientVersion":"0.0.4436","searchFilterCounts":[{"language":"default","tag":"API Reference","count":222},{"language":"default","tag":"Open Source","count":49},{"language":"default","tag":"Sessions","count":47},{"language":"default","tag":"Documentation","count":29},{"language":"default","tag":"Templates","count":22},{"language":"default","tag":"Context","count":21},{"language":"default","tag":"Guides","count":20},{"language":"default","tag":"CLI Reference","count":17},{"language":"default","tag":"Linear","count":16},{"language":"default","tag":"Skills","count":14}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"quickstart","slug":"/quickstart","pageMetadata":{"title":"Quickstart: build your first agent","description":"Go from a new organization to a roster agent with a template, one evaluation category, one trigger and a graded run. Read this first; it introduces the dashboard flow and the runtm-api CLI.","href":"/quickstart"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Go from a new organization to a roster agent with a template, one evaluation category, one trigger and a graded run. Read this first; it introduces the dashboard flow and the runtm-api CLI.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,blockquote:`blockquote`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Frame,Heading,OptimizedImage,Step,Steps,Table,Visibility}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Visibility)_missingMdxReference(`Visibility`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`By the end of this page you will have one agent that has a job, a way to measure it, a place to run, a trigger, and a first graded run on the scorecard. It takes about ten minutes.`}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.a,{href:`https://app.runtm.com`,children:`Runtime account`}),` and an organization. Agents live in organizations, not in personal mode; the dashboard’s Quickstart creates one for you.`]}),`\n`,_jsx(_components.li,{children:`Optionally, a Slack workspace you can install an app into, or nothing at all if you use the Email trigger.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-guided-path`,children:`The guided path`}),`\n`,_jsxs(_components.p,{children:[`New organizations land on the `,_jsx(_components.strong,{children:`Quickstart`}),` page. The third step, `,_jsx(_components.strong,{children:`Set Up Your First Agent`}),`, asks a short set of questions and builds the agent with you.`]}),`\n`,_jsx(Frame,{caption:`The Quickstart page: create an organization, invite the team, then set up the first agent.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/quickstart-first-agent.png?fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=764c28b4aaeed11dcaea41e67b2a87a3`,alt:`Quickstart page showing the three onboarding steps`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`images/dashboard/quickstart-first-agent.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/quickstart-first-agent.png?w=280\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=0ac5879f15668a272fa93e732cccd561 280w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/quickstart-first-agent.png?w=560\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=da86a611ef3c55923f2e3107fd8dcffa 560w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/quickstart-first-agent.png?w=840\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=0030f22de32161e29698d311f74a30ae 840w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/quickstart-first-agent.png?w=1100\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=8a7b3b085f1158bdb23ecb4356d9b40d 1100w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/quickstart-first-agent.png?w=1650\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=9758931393561090581e5eb34677db82 1650w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/quickstart-first-agent.png?w=2500\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=20477d9a4e657a7d18e56e090102edf8 2500w`})}),`\n`,_jsx(_components.p,{children:`The questions map directly onto the first steps of building an agent:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Question you are asked`}),_jsx(_components.th,{children:`What it decides`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`What do you do?`}),` (Support, Data, Engineering, Ops, Leadership)`]}),_jsx(_components.td,{children:`Which agent archetype to start from.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`What should Runtm take off your plate first?`})}),_jsx(_components.td,{children:`The job. This becomes the agent’s description and the first line of its instructions.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Which tools from your stack`}),_jsx(_components.td,{children:`Which tool providers to prepare (Zendesk, Stripe, Postgres, Datadog and others appear as ready-to-connect cards).`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Where should this agent live?`}),` (Slack, Email, Runtm dashboard)`]}),_jsx(_components.td,{children:`Which trigger to connect.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Roughly how big is the team this would help?`})}),_jsx(_components.td,{children:`Sizing hints only.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`When you click `,_jsx(_components.strong,{children:`Set this up`}),`, Runtime creates a template named after the agent, a roster agent whose default template points at it, a runbook skill attached to the template, one “Connect X” card per tool you named, and a setup session where the agent finishes wiring itself. A `,_jsx(_components.strong,{children:`Finish your setup`}),` checklist inside that session tracks the remaining connections (GitHub App, Slack app, email inbox, tool credentials).`]}),`\n`,_jsx(_components.p,{children:`If you prefer to see every piece, follow the manual path below. It creates the same objects.`}),`\n`,_jsx(Heading,{level:`2`,id:`the-manual-path`,children:`The manual path`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Create the agent`,children:[_jsxs(_components.p,{children:[`Go to `,_jsx(_components.strong,{children:`Agents`}),` and click `,_jsx(_components.strong,{children:`New Agent`}),`. The dialog has three steps: `,_jsx(_components.strong,{children:`Profile`}),`, `,_jsx(_components.strong,{children:`Instructions`}),`, `,_jsx(_components.strong,{children:`Triggers`}),`.`]}),_jsx(Frame,{caption:`New Agent, step 1: name and avatar.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/new-agent-profile.png?fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=81ce9adcdb23dc92ef8cc4cbe3993a3d`,alt:`New Agent dialog, Profile step`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`images/dashboard/new-agent-profile.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/new-agent-profile.png?w=280\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=4d91960c8859171c1a47b282aec6fc61 280w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/new-agent-profile.png?w=560\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=98a6323c670e5c8fa14b0cc36381d625 560w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/new-agent-profile.png?w=840\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=a86c201a85fbbfcc092cb77ab1819f3f 840w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/new-agent-profile.png?w=1100\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=d664f27638ff76db2f861f71256dc918 1100w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/new-agent-profile.png?w=1650\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=97bb0938bc31c4d56ddd5afd74a25a78 1650w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/new-agent-profile.png?w=2500\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=238694e1e48ff04f700fdedf5b47150a 2500w`})}),_jsxs(_components.p,{children:[`On `,_jsx(_components.strong,{children:`Profile`}),`, name the agent (for example `,_jsx(_components.code,{children:`Payment Support`}),`). On `,_jsx(_components.strong,{children:`Instructions`}),`, write a one-line `,_jsx(_components.strong,{children:`Description`}),` that states the job, and `,_jsx(_components.strong,{children:`System instructions`}),` that say how to do it and what never to do. Skip `,_jsx(_components.strong,{children:`Triggers`}),` for now and click `,_jsx(_components.strong,{children:`Create agent`}),`.`]}),_jsx(Visibility,{for:`agents`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cli: runtm-api agents create --name \"Payment Support\" --description \"Reconstructs disputed charges from a ticket and drafts a reply, never sends\" --instructions \"$(cat instructions.md)\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsxs(_components.p,{children:[`A good first description names the input, the output, and the boundary: “Given a Zendesk ticket about a charge, reconstruct the payment timeline from Stripe and the ledger and draft a customer reply. Never send it.” See `,_jsx(_components.a,{href:`/build/define-the-job`,children:`Define the job`}),`.`]})]}),_jsxs(Step,{title:`Give it a place to run`,children:[_jsxs(_components.p,{children:[`Open the agent (click its card) and set `,_jsx(_components.strong,{children:`Default template`}),`. If you have no template yet, go to `,_jsx(_components.strong,{children:`Templates > New Template`}),`, choose `,_jsx(_components.strong,{children:`Blank environment`}),`, name it, and click `,_jsx(_components.strong,{children:`Create Template`}),`. A blank template boots with your org’s skills and tools and nothing cloned.`]}),_jsx(Visibility,{for:`agents`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cli: runtm-api template create --display-name \"Payment Support\" --github-repo \u003cowner>/\u003crepo> --skip-agent # omit --github-repo for a blank environment`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cli: runtm-api agents update \u003cagent_id> --template \"payment-support\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cli-verify: runtm-api template get \u003ctemplate_id> | jq -r .build_status # wait for \"ready\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsxs(_components.p,{children:[`Tools, MCP servers and secrets attach to the template, not the agent. `,_jsx(_components.a,{href:`/build/give-it-tools`,children:`Give it tools`}),` covers connecting Zendesk, Stripe and a read-only database.`]})]}),_jsxs(Step,{title:`Add one evaluation category`,children:[_jsxs(_components.p,{children:[`Still in the agent’s `,_jsx(_components.strong,{children:`Profile`}),` tab, scroll to `,_jsx(_components.strong,{children:`Performance evaluation`}),` and click `,_jsx(_components.strong,{children:`Add evaluation category`}),`.`]}),_jsx(Frame,{caption:`One evaluation category: what it is called, when it applies, and how to grade it.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/agent-evaluation.png?fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=ebf1a9bc89691a9ae5f54a36be35745d`,alt:`Performance evaluation section with one category`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`images/dashboard/agent-evaluation.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/agent-evaluation.png?w=280\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=3c1b7ed6d17ccbb04b500e0492601ea9 280w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/agent-evaluation.png?w=560\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=ab3632f9edbeff20431127dadfe39a01 560w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/agent-evaluation.png?w=840\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=b2d48aed79e74a215da50634450ca000 840w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/agent-evaluation.png?w=1100\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=6441b1b357b3b3f0bf403924b19b7450 1100w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/agent-evaluation.png?w=1650\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=7d2f0420fd2f77385c635f35fc2da853 1650w, https://mintcdn.com/runtm/N90MV6Hfql5ejv1J/images/dashboard/agent-evaluation.png?w=2500\u0026fit=max\u0026auto=format\u0026n=N90MV6Hfql5ejv1J\u0026q=85\u0026s=2ad54cf642f5a94303a67e8b892f7d34 2500w`})}),_jsxs(_components.p,{children:[`Fill in a category name (`,_jsx(_components.code,{children:`duplicate-charge`}),`), when to use it (“the customer reports being charged twice for one order”), and the success criteria (“the draft cites both charge IDs, states which one settled, and proposes the refund amount”). Add `,_jsx(_components.strong,{children:`Avg human cost (USD)`}),` and `,_jsx(_components.strong,{children:`Avg human time (minutes)`}),` so the scorecard can value each success. Click `,_jsx(_components.strong,{children:`Save profile`}),`.`]}),_jsx(Visibility,{for:`agents`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cli: runtm-api agents update \u003cagent_id> --evaluator-criteria '{\"categories\":[{\"key\":\"duplicate-charge\",\"description\":\"Customer reports two charges for one order\",\"success_criteria\":\"Draft cites both charge IDs, states which settled, proposes the refund amount\",\"tags\":{},\"human_cost_usd\":18,\"human_minutes\":25}]}'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsxs(_components.p,{children:[`Without at least one category, runs are never graded and the scorecard shows zeros. See `,_jsx(_components.a,{href:`/build/measure-success`,children:`Measure success`}),`.`]})]}),_jsxs(Step,{title:`Connect a trigger`,children:[_jsxs(_components.p,{children:[`In the agent’s sheet, under `,_jsx(_components.strong,{children:`Triggers`}),`, add one:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Email`}),` is the fastest: click `,_jsx(_components.strong,{children:`Create inbox`}),` and Runtime mints an address like `,_jsx(_components.code,{children:`[email protected]`}),`. Emails to it start a run; the reply comes back in the same thread.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Slack`}),` installs an app into your workspace so people can `,_jsx(_components.code,{children:`@mention`}),` the agent in a channel or DM it.`]}),`\n`]}),_jsx(Visibility,{for:`agents`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cli: runtm-api agents create --type email --name payment-support --agent-id \u003cagent_id>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cli: runtm-api agents create --type slack --name \"Payment Support\" # finishes in the browser`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsxs(_components.p,{children:[`Every trigger uses the agent’s default template and instructions unless its own settings tab overrides them. See `,_jsx(_components.a,{href:`/build/how-it-works/triggers`,children:`Triggers`}),`.`]})]}),_jsxs(Step,{title:`Run it once`,children:[_jsx(_components.p,{children:`Send the agent a real case. Email the inbox, or mention it in Slack:`}),_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`@Payment Support Customer on order #48213 says they were charged twice. Ticket 88231.`}),`\n`]}),_jsxs(_components.p,{children:[`The run appears under `,_jsx(_components.strong,{children:`Sessions`}),` (and under `,_jsx(_components.strong,{children:`Agents > Runs`}),`). Open it to watch the agent work, or wait for the reply in the thread.`]}),_jsx(Visibility,{for:`agents`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cli: runtm-api session list`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]}),_jsxs(Step,{title:`Read the grade`,children:[_jsxs(_components.p,{children:[`A few minutes after the run finishes, open `,_jsx(_components.strong,{children:`Activity > Agents`}),`. Your agent shows one graded run, whether it passed, and the value returned based on the human cost you entered.`]}),_jsx(Visibility,{for:`agents`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cli-verify: runtm-api session grade \u003csession_id> # {\"graded\": true, \"success\": ..., \"reason\": ..., \"task\": \"duplicate-charge\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cli-verify: runtm-api agents scorecard --days 7`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsxs(_components.p,{children:[`If the run failed the grade, the `,_jsx(_components.code,{children:`reason`}),` tells you why. Tighten the success criteria or the instructions and send the next case. See `,_jsx(_components.a,{href:`/build/launch-and-iterate`,children:`Prove it works and iterate`}),`. Guardrails come after the agent passes its cases: `,_jsx(_components.a,{href:`/build/guardrails-and-approvals`,children:`Add guardrails and approvals`}),`.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`the-same-thing-from-the-cli`,children:`The same thing from the CLI`}),`\n`,_jsxs(_components.p,{children:[`Every step above is one `,_jsx(_components.code,{children:`runtm-api`}),` command. Coding agents use this CLI to build and operate other agents; this is the only page in Documentation that shows it in full, so you know it exists.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://runtm.com/install`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` bash`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RUNTM_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`runtm_`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`... `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# an org-scoped key from Settings > API Keys`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`runtm-api`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` template`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --display-name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Payment Support\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --github-repo`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`owne`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`r`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`rep`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`o`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --skip-agent`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`runtm-api`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agents`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Payment Support\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --description`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Reconstructs disputed charges from a ticket and drafts a reply, never sends\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --instructions`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"$(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` instructions.md)\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --template`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` payment-support`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`runtm-api`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agents`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`agent_i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --evaluator-criteria`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"$(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` rubric.json)\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`runtm-api`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agents`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --type`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` email`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` payment-support`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --agent-id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`agent_i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`runtm-api`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agents`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` scorecard`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --days`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 7`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Every Build and Guides page carries the CLI equivalent of each dashboard step in an agent-only block (hidden on the website, present at the `,_jsx(_components.code,{children:`.md`}),` URL), so an agent reading `,_jsx(_components.code,{children:`https://docs.runtm.com/\u003cpage>.md`}),` can lift the exact command. Lines start with `,_jsx(_components.code,{children:`cli:`}),` (run it), `,_jsx(_components.code,{children:`cli-verify:`}),` (check it worked) or `,_jsx(_components.code,{children:`cli-handoff:`}),` (a URL to give a person, for steps like entering a credential that an agent must not do). The full command table is on the `,_jsx(_components.a,{href:`/cloud-api/agent-cli`,children:`Agent CLI`}),` page.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(CardGroup,{cols:3,children:[_jsx(Card,{title:`Build an agent`,icon:`hammer`,href:`/build/overview`,children:_jsx(_components.p,{children:`Each of the six steps in depth, including when to add guardrails.`})}),_jsx(Card,{title:`Payment support agent`,icon:`headset`,href:`/guides/overview`,children:_jsx(_components.p,{children:`The complete worked example this quickstart is based on.`})}),_jsx(Card,{title:`Runtime MCP server`,icon:`plug`,href:`/mcp/overview`,children:_jsx(_components.p,{children:`Install it in Claude, ChatGPT, Cursor or VS Code and run your agents from chat.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Quickstart: build your first agent","description":"Go from a new organization to a roster agent with a template, one evaluation category, one trigger and a graded run. Read this first; it introduces the dashboard flow and the runtm-api CLI.","href":"/quickstart"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"The guided path","slug":"the-guided-path","depth":2,"children":[]},{"title":"The manual path","slug":"the-manual-path","depth":2,"children":[]},{"title":"The same thing from the CLI","slug":"the-same-thing-from-the-cli","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"runtm","siteName":"Runtime","title":"Quickstart: build your first agent - Runtime","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T23:43:02.501Z","originalFileLocation":"quickstart.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Go from a new organization to a roster agent with a template, one evaluation category, one trigger and a graded run. Read this first; it introduces the dashboard flow and the runtm-api CLI.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Runtime\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/runtm/FI6B-a_qdEC-_rSp/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/runtm/FI6B-a_qdEC-_rSp/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/runtm/FI6B-a_qdEC-_rSp/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/runtm/FI6B-a_qdEC-_rSp/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/runtm/FI6B-a_qdEC-_rSp/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/runtm/FI6B-a_qdEC-_rSp/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/runtm/FI6B-a_qdEC-_rSp/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/runtm/FI6B-a_qdEC-_rSp/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/runtm/FI6B-a_qdEC-_rSp/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Quickstart: build your first agent - Runtime\">\u003cmeta data-mint-head property=\"og:description\" content=\"Go from a new organization to a roster agent with a template, one evaluation category, one trigger and a graded run. Read this first; it introduces the dashboard flow and the runtm-api CLI.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Runtime\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.runtm.com/quickstart\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://runtm.mintlify.site/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Quickstart%3A+build+your+first+agent\u0026amp;description=Go+from+a+new+organization+to+a+roster+agent+with+a+template%2C+one+evaluation+category%2C+one+trigger+and+a+graded+run.+Read+this+first%3B+it+introduces+the+dashboar\u0026amp;theme=c3f3fd5d057757bded6a5252\u0026amp;signature=aa9ca0cc2f8d36c15b5e722d238f0d6abdcffa6d1d91b3336c99e84238a82077\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Quickstart: build your first agent - Runtime\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Go from a new organization to a roster agent with a template, one evaluation category, one trigger and a graded run. Read this first; it introduces the dashboard flow and the runtm-api CLI.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://runtm.mintlify.site/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Quickstart%3A+build+your+first+agent\u0026amp;description=Go+from+a+new+organization+to+a+roster+agent+with+a+template%2C+one+evaluation+category%2C+one+trigger+and+a+graded+run.+Read+this+first%3B+it+introduces+the+dashboar\u0026amp;theme=c3f3fd5d057757bded6a5252\u0026amp;signature=aa9ca0cc2f8d36c15b5e722d238f0d6abdcffa6d1d91b3336c99e84238a82077\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/runtm/FI6B-a_qdEC-_rSp/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Runtime\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#18181b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.runtm.com/quickstart\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/quickstart.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.runtm.com/#organization\",\"name\":\"Runtime\",\"url\":\"https://docs.runtm.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/runtm/5BRbZxh1joq_9si2/images/logo-light.svg?fit=max\u0026auto=format\u0026n=5BRbZxh1joq_9si2\u0026q=85\u0026s=dd91f6d3dfa4840b854b016d7add405d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.runtm.com#website\",\"name\":\"Runtime\",\"url\":\"https://docs.runtm.com\",\"publisher\":{\"@id\":\"https://docs.runtm.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.runtm.com/quickstart#webpage\",\"url\":\"https://docs.runtm.com/quickstart\",\"name\":\"Quickstart: build your first agent\",\"description\":\"Go from a new organization to a roster agent with a template, one evaluation category, one trigger and a graded run. Read this first; it introduces the dashboard flow and the runtm-api CLI.\",\"dateModified\":\"2026-11-05T23:43:02.501Z\",\"isPartOf\":{\"@id\":\"https://docs.runtm.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.runtm.com/quickstart#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.runtm.com/quickstart#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get Started\",\"item\":\"https://docs.runtm.com/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quickstart: build your first agent\",\"item\":\"https://docs.runtm.com/quickstart\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.runtm.com/quickstart#article\",\"headline\":\"Quickstart: build your first agent\",\"name\":\"Quickstart: build your first agent\",\"description\":\"Go from a new organization to a roster agent with a template, one evaluation category, one trigger and a graded run. Read this first; it introduces the dashboard flow and the runtm-api CLI.\",\"url\":\"https://docs.runtm.com/quickstart\",\"mainEntityOfPage\":{\"@id\":\"https://docs.runtm.com/quickstart#webpage\"},\"dateModified\":\"2026-11-05T23:43:02.501Z\",\"publisher\":{\"@id\":\"https://docs.runtm.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.runtm.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Runtime\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Runtime\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/quickstart.md","siteName":"Runtime","nav":{"global":{"anchors":[{"anchor":"GitHub","href":"https://github.com/runtm-ai/runtm","icon":"github"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Introduction","description":"What Runtime is and what an agent is made of: a job, a success measure, tools, a way of working, and a feedback loop. Read first, then go to Quickstart to build one.","href":"/introduction"},{"title":"Quickstart: build your first agent","href":"/quickstart"}]},{"group":"Runtime MCP server","pages":[{"title":"MCP server","description":"Connect Claude, ChatGPT, Grok Bot, Cursor, VS Code or Codex to Runtime with one URL, https://mcp.runtm.com/mcp. Copy-paste install for each client, sign-in with OAuth or an API key, and what the server can do. Read before connecting an AI client to Runtime.","href":"/mcp/overview"},{"title":"MCP authentication","href":"/mcp/authentication"},{"title":"MCP tools","href":"/mcp/tools"},{"title":"Okta and the MCP server","href":"/mcp/okta"},{"title":"MCP troubleshooting","href":"/mcp/troubleshooting"}]},{"group":"Build an agent","pages":[{"title":"Build an agent","href":"/build/overview"},{"title":"1. Define the job","href":"/build/define-the-job"},{"title":"2. Measure success","href":"/build/measure-success"},{"title":"3. Give it tools","href":"/build/give-it-tools"},{"group":"4. Define how it works","pages":[{"title":"4. Define how it works","href":"/build/how-it-works/overview"},{"title":"Skills and runbooks","href":"/build/how-it-works/skills"},{"title":"Instructions","href":"/build/how-it-works/instructions"},{"title":"Triggers","href":"/build/how-it-works/triggers"}]},{"title":"5. Prove it works and iterate","href":"/build/launch-and-iterate"},{"title":"6. Add guardrails and approvals","href":"/build/guardrails-and-approvals"}]},{"group":"Platform reference","pages":[{"title":"Sessions","href":"/concepts/sessions"},{"title":"Coding Agents","href":"/concepts/coding-agents"},{"title":"Templates","href":"/concepts/templates"},{"title":"Context","href":"/concepts/context"},{"title":"Skills","href":"/concepts/skills"},{"title":"Guardrails","href":"/concepts/guardrails"},{"title":"Deployments","href":"/concepts/deployments"},{"title":"Integrations","href":"/concepts/integrations"},{"title":"Tools and connections","href":"/concepts/tools"},{"title":"Organizations","href":"/concepts/organizations"},{"title":"Observability","href":"/concepts/observability"},{"title":"Real-time","href":"/concepts/real-time"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/cloud-api/overview"}]},{"tab":"Open Source","pages":[{"title":"Open Source","href":"/open-source/overview"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/release-notes"}]}]},"basePath":"","title":"Quickstart: build your first agent - Runtime","deploymentId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","buildId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CzCuhPR8.js","DynamicMarkdown-DGZbG3dj.js","zoom-image-lightbox-Cy_F8FSm.js","lightbox-handle-r17bVUz3.js"]}