Cadenya is the agent runtime. Create a free account (no card) and copy an API key, then a coding agent sets up the rest with the Cadenya CLI.
Start here
Your code needs a Cadenya API key, and the Free plan needs no card. Two steps happen in a browser:
Create a free account at app.cadenya.com/signup.
Copy an API key from the API keys page and set it as CADENYA_API_KEY.
A coding agent can do the rest from a terminal:
Install the CLI with brew install cadenya/tools/cadenya or choco install cadenya, or download it from the releases page.
Run cadenya workspaces list and set the Development workspace’s ID as CADENYA_WORKSPACE_ID.
Trust each host your Tool Sets call, such as cadenya trusted-endpoints create --name "Swagger Petstore" --host petstore3.swagger.io.
Describe the Tool Sets, the Agent, and its variations in .cadenya/, next to a cadenya.yaml with a bundle key of your own. Run cadenya config plan, read it, then run cadenya config apply.
Set up Cadenya from a coding agent shows each step with its files and its output. When the code is ready before the account, the developer needs both addresses above in the coding agent’s last message.Before you start, you need:
A Cadenya account
About 15 minutes and a positive attitude
If videos are your thing, here’s Robert with a ~10 minute video end-to-end configuring an agent and dispatching an objective for it.
Create An Account
If you haven’t, create an account at https://app.cadenya.com/signup. Sign up on the Free plan with no card and no sales call, and you get access to the Cadenya platform and API right away. There’s no waiting.
Start free. The Free plan costs $0 a month and comes with $5 of inference credit at signup, one widget, three agent variations, 1,000 loops a month, and two workspaces. When you outgrow it, see pricing for the Growth and Enterprise plans.
Your account will be created with two workspaces: Development and Production. Workspaces are isolated from each other in Cadenya, so you can configure them independently.Cadenya provisions an OpenRouter key for you with a max budget of $5 to immediately try the product. After that, you need to grant Cadenya access to your own LLM provider. Cadenya does not provide inference.
Install Cadenya’s Skills
Cadenya comes with multiple skills for your coding agents to make use of. You can install them with:
npx skills add https://cadenya.com/docs
Install the CLI
brew install cadenya/tools/cadenya
choco install cadenya
Cadenya’s CLI is notarized for MacOS installations so you know it’s from us. It was a pain to do, and we can’t go through that without humble bragging.
Login with the CLI
This guide assumes you’re using a coding assistant such as Claude Code or OpenAI’s Codex. Cadenya can be fully driven via our user interface, but leveraging the CLI makes getting started much faster.Once installed, you can initialize the account pairing with:
1
Login
cadenya auth login
2
Authorize the workspace
A browser window should open to an authorization page which will allow you to select which workspaces to give the CLI access to. Select your Development workspace. You can add others later by going through the same process.
Authorize the CLI
3
Test the CLI
Once you’ve authorized your workspace, you may close the window. The CLI in your terminal should show a successful authorization.Try the CLI with:
cadenya auth status
You should see something like:
~/Code/cadenya.com % cadenya auth statusProfile "default": logged in. workspace: workspace_01KZ950VTH0TJ2ZKF503VX1QPN
4
Self-five yourself
You may now self-five yourself while no one is looking. 🙏
Nomenclature
Cadenya has a few terms that you’ll see everywhere. You’ll understand them more as you use the product, but in general:
Tool Sets
Configures a group of OpenAPI, MCP, HTTP, or Bare tools. Handles tool filtering, approval rules, and overlays to manage context from tool calls an LLM makes.
Agents
Agents have at-least-one variation that can be assigned an objective. Variations can be given Tool Sets, tools, or other agents for the behavior.
Objectives
Objectives are dispatched from your code (or schedules) using the Cadenya SDK and will initiate your agentic loop with the assigned tools. Compaction, approvals, and more are tied to objectives. Some products call this a session. We like objective.
Memory Layers
Memory layers are optional types that can be assigned to agent variations and be used to store documents, skills, or other facts. Memories can be created by an agent that has episodic memory enabled.
Widgets
Widgets are how you can use your Agents in Cadenya in your own webapp with minimal backend interaction. Custom domains. CORS. And React Components. All pre-built.
Your First Tool Set, Agent, and Objective
There are two flavors to the rest of this guide. You either are here to see what Cadenya is all about, or you’ve created your account and you’re ready to rock and roll with the CLI. Here’s how you can decide:
CLI Docs - You’re here to speed run to dispatching an objective.
UI Docs - You’re here to visualize Cadenya before buying.
CLI Docs
UI Docs
1
Create the Tool Set
With your CLI authenticated, we can now use it to create a Tool Set.Cadenya sends Tool Set requests only to hosts your account trusts, so trust the Petstore first:
cadenya agents create --display extended \ --workspace-id "development" \ --metadata '{"name":"Petstore Agent","externalId":"petstore-agent"}' \ --spec '{ "description": "Answers questions about pets in the Swagger Petstore", "variationSelectionMode": "VARIATION_SELECTION_MODE_RANDOM" }'
3
Attach a variation
Now we can give our Agent a new variation that assigns the model and default prompts.
cadenya agents variations create petstore-agent \ --display extended \ --workspace-id "development" \ --metadata '{"name":"default","externalId":"petstore-agent-default"}' \ --spec '{ "description": "Haiku-backed default variation", "systemPromptTemplate": "You are a helpful assistant for the Swagger Petstore. Use the available tools to look up pets, inventory, and orders. Do not invent pet data.", "firstUserMessageTemplate": "List inventory", "modelConfig": { "modelId": "getting-started-key.anthropic-claude-haiku-latest", "temperature": 0.2 }, "constraints": { "maxToolCalls": 25, "inactivityTimeout": "3600s" } }'
And we can compose our new variation with our Tool Set from earlier (The one that actually defines the Petstore tools).
Now you have a Tool Set, an Agent, and an Agent Variation. Last stop: Objective town.
cadenya objectives create \ --agent-id petstore-agent \ --metadata '{"externalId":"petstore-run-001","labels":{"source":"cli"}}' \ --system-prompt-data '{}' \ --first-user-message 'Find all pets with status available and summarize them by category.'
You should see:
ID CREATED STATEobj_01M08HAWG66MQ3M0P4DDFH6PS0 2026-08-17T18:56:53.254341617Z STATE_PENDING
5
See the event log
Now that you have an objective, you can list its events as well. There are endpoints for streaming events, too. But for quick-start purposes we’re going to skip those for now.
cadenya objectives list-events petstore-run-001
1
Copy the spec
https://free.cadenya.com/faker-mcp
2
Create a Tool Set
Navigate to Tool Sets in your workspaces navigation.
Click “Create Tool Set”
Fill in the name “Faker MCP”
Select “MCP” for the adapter type
Set the URL to https://free.cadenya.com/faker-mcp (from your clipboard if you copied it)
Disable “Just-in-time” loading (for now, you’ll use it later)
Save the Tool Set
3
Go to Agents
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Cadenya","colors":{"primary":"#165B41","light":"#165B41","dark":"#E1EE9A"},"logo":{"light":"https://mintcdn.com/cadenya/jC_UqeyZ_EgHWKnX/logo/light.svg?fit=max\u0026auto=format\u0026n=jC_UqeyZ_EgHWKnX\u0026q=85\u0026s=163995d0cd296848f58b95d41cfbb847","dark":"https://mintcdn.com/cadenya/jC_UqeyZ_EgHWKnX/logo/dark.svg?fit=max\u0026auto=format\u0026n=jC_UqeyZ_EgHWKnX\u0026q=85\u0026s=3a0a588c1ea4bb31882a0eb52df74362","href":"https://cadenya.com"},"favicon":"https://mintcdn.com/cadenya/jC_UqeyZ_EgHWKnX/favicon.svg?fit=max\u0026auto=format\u0026n=jC_UqeyZ_EgHWKnX\u0026q=85\u0026s=88bfdd038a09cd476e2dd90fa68f8074","api":{"examples":{"languages":["shell","ruby","go","typescript","python"],"autogenerate":false}},"navbar":{"links":[{"href":"https://app.cadenya.com/signup","label":"Sign Up"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.cadenya.com/login"}},"footer":{"socials":{"x":"https://x.com/cadenya","github":"https://github.com/cadenya"}},"fonts":{"heading":{"family":"ABC Arizona Flare Light","weight":300,"source":"fonts/ABCArizonaFlare-Light.woff2","format":"woff2"},"body":{"family":"Berkeley Mono","weight":400}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cadenya","hasAudioNarration":false,"actualSubdomain":"cadenya","customDomains":["cadenya.com"],"gitSource":{"type":"github","owner":"cadenya","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b03cb1607135da59bd6af1e","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":182},{"language":"default","tag":"Objectives","count":22},{"language":"default","tag":"Guides","count":15},{"language":"default","tag":"Webhook Events","count":15},{"language":"default","tag":"Widgets API","count":15},{"language":"default","tag":"Agents","count":11},{"language":"default","tag":"API Keys","count":11},{"language":"default","tag":"Tool Sets","count":11},{"language":"default","tag":"Agent Variations","count":10},{"language":"default","tag":"Agent Pools","count":9}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","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":"site-roles","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"brand.css","content":"@font-face{font-family:\"ABC Arizona Sans\";src:url(\"/fonts/ABCArizonaSansVariable.woff2\") format(\"woff2\");font-weight:100 700;font-style:normal;font-display:swap}@font-face{font-family:\"ABC Arizona Flare Light\";src:url(\"/fonts/ABCArizonaFlare-Light.woff2\") format(\"woff2\");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:\"ABC Arizona Sans\";src:url(\"/fonts/ABCArizonaSans-RegularItalic.woff2\") format(\"woff2\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:\"ABC Arizona Sans\";src:url(\"/fonts/ABCArizonaSans-BoldItalic.woff2\") format(\"woff2\");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:\"Berkeley Mono\";src:url(\"/fonts/BerkeleyMono-Regular.otf\") format(\"opentype\");font-weight:400;font-style:normal;font-display:swap}:root{--cadenya-soil: #1d2c2f;--cadenya-sky: #ffffff;--cadenya-mycelium: #165b41;--cadenya-canopy: #e1ee9a;--cadenya-table-border: rgba(29, 44, 47, 0.18);--cadenya-table-header: rgba(22, 91, 65, 0.08);--cadenya-mermaid-node: var(--cadenya-canopy);--cadenya-mermaid-border: var(--cadenya-mycelium);--cadenya-mermaid-text: var(--cadenya-soil);--cadenya-mermaid-edge: var(--cadenya-mycelium);--cadenya-mermaid-label: rgba(255, 255, 255, 0.92)}html.dark,[data-theme=\"dark\"]{--cadenya-table-border: rgba(255, 255, 255, 0.2);--cadenya-table-header: rgba(225, 238, 154, 0.1);--cadenya-mermaid-node: var(--cadenya-mycelium);--cadenya-mermaid-border: var(--cadenya-canopy);--cadenya-mermaid-text: var(--cadenya-canopy);--cadenya-mermaid-edge: var(--cadenya-canopy);--cadenya-mermaid-label: rgba(29, 44, 47, 0.94)}body{font-family:\"Berkeley Mono\", ui-monospace, \"Cascadia Code\", monospace}h1,h2,h3,h4,h5,h6{font-family:\"ABC Arizona Flare Light\", Georgia, serif!important;font-weight:300!important;letter-spacing:-0.01em}#topbar-cta-button a[href=\"https://app.cadenya.com/login\"] span,#topbar-cta-button a[href=\"https://app.cadenya.com/login\"] svg{color:var(--cadenya-soil)!important}@font-face{font-family:\"Berkeley Mono\";src:url(\"/fonts/BerkeleyMono-Bold.otf\") format(\"opentype\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Berkeley Mono\";src:url(\"/fonts/BerkeleyMono-Bold.otf\") format(\"opentype\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Berkeley Mono\";src:url(\"/fonts/BerkeleyMono-Oblique.otf\") format(\"opentype\");font-weight:400;font-style:italic;font-display:swap}code,kbd,samp,pre,pre *{font-family:\"Berkeley Mono\", ui-monospace, \"Cascadia Code\", monospace}#content-area a.link>code{padding:0!important}strong,b{font-weight:700!important}#content-container table{border:1px solid var(--cadenya-table-border);border-collapse:separate;border-spacing:0;border-radius:0.5rem;overflow:hidden}#content-container table th,#content-container table td{border-right:1px solid var(--cadenya-table-border);border-bottom:1px solid var(--cadenya-table-border);padding-left:1rem;padding-right:1rem}#content-container table thead{background-color:var(--cadenya-table-header)}#content-container table thead th{padding-top:0.75rem;padding-bottom:0.75rem;vertical-align:middle}#content-container table th:last-child,#content-container table td:last-child{border-right:0}#content-container table tbody tr:last-child td{border-bottom:0}#content-container table.objective-events-table{width:100%;table-layout:fixed}#content-container table.objective-events-table th:first-child,#content-container table.objective-events-table td:first-child{width:25%}#content-container table.objective-events-table th:nth-child(2),#content-container table.objective-events-table td:nth-child(2){width:75%}#content-container table.objective-events-table td:first-child code{overflow-wrap:anywhere;white-space:normal}#content-container .mermaid svg{fill:var(--cadenya-mermaid-text)!important}#content-container .mermaid svg .node rect,#content-container .mermaid svg .node polygon,#content-container .mermaid svg .node path,#content-container .mermaid svg g.stateGroup rect,#content-container .mermaid svg .statediagram-cluster rect{fill:var(--cadenya-mermaid-node)!important;stroke:var(--cadenya-mermaid-border)!important}#content-container .mermaid svg .nodeLabel,#content-container .mermaid svg .cluster-label,#content-container .mermaid svg .stateLabel text,#content-container .mermaid svg g.stateGroup text,#content-container .mermaid svg g.stateGroup .state-title,#content-container .mermaid svg .edgeLabel,#content-container .mermaid svg .edgeLabel text,#content-container .mermaid svg .edgeLabel p{color:var(--cadenya-mermaid-text)!important;fill:var(--cadenya-mermaid-text)!important}#content-container .mermaid svg .transition,#content-container .mermaid svg .flowchart-link,#content-container .mermaid svg .edgePath path,#content-container .mermaid svg g.stateGroup line{stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg marker path,#content-container .mermaid svg .marker,#content-container .mermaid svg [id$=\"-barbEnd\"],#content-container .mermaid svg [id$=\"-dependencyStart\"],#content-container .mermaid svg [id$=\"-dependencyEnd\"]{fill:var(--cadenya-mermaid-edge)!important;stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg .edgeLabel,#content-container .mermaid svg .edgeLabel p{background-color:var(--cadenya-mermaid-label)!important}#content-container .mermaid svg .edgeLabel rect,#content-container .mermaid svg .stateLabel .box{fill:var(--cadenya-mermaid-label)!important;opacity:1!important}#content-container .mermaid svg .node circle.state-start,#content-container .mermaid svg .node .fork-join{fill:var(--cadenya-mermaid-edge)!important;stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg .node circle.state-end{fill:var(--cadenya-mermaid-border)!important;stroke:var(--cadenya-mermaid-node)!important}#content-container .mermaid svg .end-state-inner{fill:var(--cadenya-mermaid-node)!important}#content-container .mermaid svg rect.actor{fill:var(--cadenya-mermaid-node)!important;stroke:var(--cadenya-mermaid-border)!important}#content-container .mermaid svg text.actor,#content-container .mermaid svg text.actor>tspan,#content-container .mermaid svg .messageText,#content-container .mermaid svg .messageText>tspan,#content-container .mermaid svg .labelText,#content-container .mermaid svg .labelText>tspan,#content-container .mermaid svg .loopText,#content-container .mermaid svg .loopText>tspan,#content-container .mermaid svg .noteText,#content-container .mermaid svg .noteText>tspan{color:var(--cadenya-mermaid-text)!important;fill:var(--cadenya-mermaid-text)!important;stroke:none!important}#content-container .mermaid svg .actor-line,#content-container .mermaid svg .messageLine0,#content-container .mermaid svg .messageLine1,#content-container .mermaid svg .loopLine{stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg .labelBox,#content-container .mermaid svg .note,#content-container .mermaid svg .activation0,#content-container .mermaid svg .activation1,#content-container .mermaid svg .activation2,#content-container .mermaid svg g rect.rect{fill:var(--cadenya-mermaid-label)!important;stroke:var(--cadenya-mermaid-border)!important}#content-container .mermaid svg [id$=\"-sequencenumber\"] circle{fill:var(--cadenya-mermaid-edge)!important;stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg .sequenceNumber{fill:var(--cadenya-mermaid-label)!important;stroke:none!important}.max-w-8xl,#body-content{max-width:106rem!important}#content-container{max-width:86rem!important}"}]}
{"page":{"pagePath":"index","slug":"/index","pageMetadata":{"title":"Introduction","description":"Cadenya is the agent runtime. Create a free account (no card) and copy an API key, then a coding agent sets up the rest with the Cadenya CLI.","href":"/index"},"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: \"Cadenya is the agent runtime. Create a free account (no card) and copy an API key, then a coding agent sets up the rest with the Cadenya 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];const Asset=({id,caption,alt})=>{const{Frame}=_provideComponents()||{};if(!Frame)_missingMdxReference(`Frame`,true);const assets={\"videos/guides/getting-started/create-tool-set\":{\"url\":`https://assets.cadenya.com/dotcom/videos/guides/getting-started/create-tool-set.9be9e1a903c8.mp4`,\"type\":`video/mp4`,\"width\":1920,\"height\":1030},\"videos/guides/the-basics/agent-webhook\":{\"url\":`https://assets.cadenya.com/dotcom/videos/guides/the-basics/agent-webhook.2a9c1538cca4.mp4`,\"type\":`video/mp4`,\"width\":1920,\"height\":1226},\"videos/guides/the-basics/configure-variation-model\":{\"url\":`https://assets.cadenya.com/dotcom/videos/guides/the-basics/configure-variation-model.2525e84673eb.mp4`,\"type\":`video/mp4`,\"width\":1816,\"height\":1080},\"videos/guides/the-basics/configure-variation-toolset\":{\"url\":`https://assets.cadenya.com/dotcom/videos/guides/the-basics/configure-variation-toolset.283859ee975e.mp4`,\"type\":`video/mp4`,\"width\":1816,\"height\":1080},\"videos/guides/the-basics/memory-layer-assignment\":{\"url\":`https://assets.cadenya.com/dotcom/videos/guides/the-basics/memory-layer-assignment.61fdf8b0729e.mp4`,\"type\":`video/mp4`,\"width\":1920,\"height\":1168},\"videos/guides/the-basics/memory-tool-usage\":{\"url\":`https://assets.cadenya.com/dotcom/videos/guides/the-basics/memory-tool-usage.09350e7a5f41.mp4`,\"type\":`video/mp4`,\"width\":1920,\"height\":1168}};const asset=assets[id];if(!asset){return _jsxs(`div`,{style:{border:`2px solid #dc2626`,borderRadius:8,padding:12,color:`#dc2626`,fontFamily:`monospace`},children:[`Unknown asset key: `,id,`. Run `,_jsx(`code`,{children:`just upload-assets`}),` and check `,_jsx(`code`,{children:`assets/manifest.json`}),`.`]})}const isVideo=asset.type.startsWith(`video/`);const media=isVideo?_jsx(`video`,{autoPlay:true,muted:true,loop:true,playsInline:true,controls:true,src:asset.url,width:asset.width,height:asset.height}):_jsx(`img`,{src:asset.url,alt:alt??caption??``,width:asset.width,height:asset.height});return caption?_jsx(Frame,{caption,children:media}):_jsx(Frame,{children:media})};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Callout,CodeBlock,CodeGroup,Frame,Heading,Info,OptimizedFrame,OptimizedImage,Step,Steps,Tab,Tabs,_MdxComponentBoundary}=_components;if(!Callout)_missingMdxReference(`Callout`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!OptimizedFrame)_missingMdxReference(`OptimizedFrame`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`start-here`,children:`Start here`}),`\n`,_jsx(_components.p,{children:`Your code needs a Cadenya API key, and the Free plan needs no card. Two steps happen in a browser:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Create a free account at app.cadenya.com/signup.`}),`\n`,_jsxs(_components.li,{children:[`Copy an API key from the API keys page and set it as `,_jsx(_components.code,{children:`CADENYA_API_KEY`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`A coding agent can do the rest from a terminal:`}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsxs(_components.li,{children:[`Install the CLI with `,_jsx(_components.code,{children:`brew install cadenya/tools/cadenya`}),` or `,_jsx(_components.code,{children:`choco install cadenya`}),`, or download it from the `,_jsx(_components.a,{href:`https://github.com/cadenya/cadenya-cli/releases`,children:`releases page`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Run `,_jsx(_components.code,{children:`cadenya workspaces list`}),` and set the Development workspace’s ID as `,_jsx(_components.code,{children:`CADENYA_WORKSPACE_ID`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Trust each host your Tool Sets call, such as `,_jsx(_components.code,{children:`cadenya trusted-endpoints create --name \"Swagger Petstore\" --host petstore3.swagger.io`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Describe the Tool Sets, the Agent, and its variations in `,_jsx(_components.code,{children:`.cadenya/`}),`, next to a `,_jsx(_components.code,{children:`cadenya.yaml`}),` with a bundle key of your own. Run `,_jsx(_components.code,{children:`cadenya config plan`}),`, read it, then run `,_jsx(_components.code,{children:`cadenya config apply`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/setup-from-a-coding-agent`,children:`Set up Cadenya from a coding agent`}),` shows each step with its files and its output. When the code is ready before the account, the developer needs both addresses above in the coding agent’s last message.`]}),`\n`,_jsx(_components.p,{children:`Before you start, you need:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A Cadenya account`}),`\n`,_jsx(_components.li,{children:`About 15 minutes and a positive attitude`}),`\n`]}),`\n`,_jsx(_components.p,{children:`If videos are your thing, here’s Robert with a ~10 minute video end-to-end configuring an agent and dispatching an objective for it.`}),`\n`,_jsx(OptimizedFrame,{className:`mint-w-full mint-aspect-video mint-rounded-xl`,src:`https://www.youtube.com/embed/zNPn19oVxrk`,title:`Cadenya walkthrough`,allow:`accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture`,allowFullScreen:true}),`\n`,_jsx(Heading,{level:`2`,id:`create-an-account`,children:`Create An Account`}),`\n`,_jsxs(_components.p,{children:[`If you haven’t, create an account at `,_jsx(_components.a,{href:`https://app.cadenya.com/signup`,children:`https://app.cadenya.com/signup`}),`. Sign up on the Free plan with no card and no sales call, and you get access to the Cadenya platform and API right away. There’s no waiting.`]}),`\n`,_jsx(Callout,{icon:`check`,color:`#165b41`,iconType:`regular`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Start free.`}),` The Free plan costs `,`$0 a month and comes with $`,`5 of inference credit at signup, one widget, three agent variations, 1,000 loops a month, and two workspaces. When you outgrow it, see `,_jsx(_components.a,{href:`https://cadenya.com/pricing`,children:`pricing`}),` for the Growth and Enterprise plans.`]})}),`\n`,_jsxs(_components.p,{children:[`Your account will be created with two workspaces: `,_jsx(_components.strong,{children:`Development`}),` and `,_jsx(_components.strong,{children:`Production`}),`. Workspaces are isolated from each other in Cadenya, so you can configure them independently.`]}),`\n`,_jsxs(_components.p,{children:[`Cadenya provisions an `,_jsx(_components.a,{href:`https://openrouter.com`,children:`OpenRouter`}),` key for you with a max budget of `,_jsx(_components.strong,{children:`$5`}),` to immediately try the product. After that, you need to grant Cadenya access to your own LLM provider. Cadenya does not provide inference.`]}),`\n`,_jsx(Heading,{level:`2`,id:`install-cadenya’s-skills`,children:`Install Cadenya’s Skills`}),`\n`,_jsx(_components.p,{children:`Cadenya comes with multiple skills for your coding agents to make use of. You can install them with:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` skills`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://cadenya.com/docs`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`install-the-cli`,children:`Install the CLI`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Homebrew`,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`brew`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cadenya/tools/cadenya`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Chocolatey`,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`choco`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cadenya`})]}),`\n`]})})})]}),`\n`,_jsx(Info,{children:`Cadenya’s CLI is notarized for MacOS installations so you know it’s from us. It was a pain to do, and we can’t go through that without humble bragging.`}),`\n`,_jsx(Heading,{level:`2`,id:`login-with-the-cli`,children:`Login with the CLI`}),`\n`,_jsx(_components.p,{children:`This guide assumes you’re using a coding assistant such as Claude Code or OpenAI’s Codex. Cadenya can be fully driven via our user interface, but leveraging the CLI makes getting started much faster.`}),`\n`,_jsx(_components.p,{children:`Once installed, you can initialize the account pairing with:`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Login`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cadenya`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`})]}),`\n`]})})})}),_jsxs(Step,{title:`Authorize the workspace`,children:[_jsxs(_components.p,{children:[`A browser window should open to an authorization page which will allow you to select which workspaces to give the CLI access to. Select your `,_jsx(_components.strong,{children:`Development`}),` workspace. You can add others later by going through the same process.`]}),_jsx(Frame,{caption:`Authorize the CLI`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cadenya/hN8a0e17vbUjzqGa/images/guides/getting-started/cli-auth.png?fit=max\u0026auto=format\u0026n=hN8a0e17vbUjzqGa\u0026q=85\u0026s=93ebadc8b54f029a42dd20ae8a5fee8f`,style:{height:`500px`,width:`auto`},\"data-og-width\":`1016`,width:`1016`,\"data-og-height\":`1653`,height:`1653`,\"data-path\":`images/guides/getting-started/cli-auth.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cadenya/hN8a0e17vbUjzqGa/images/guides/getting-started/cli-auth.png?w=280\u0026fit=max\u0026auto=format\u0026n=hN8a0e17vbUjzqGa\u0026q=85\u0026s=df129e472754a64795a018cc933ebb8a 280w, https://mintcdn.com/cadenya/hN8a0e17vbUjzqGa/images/guides/getting-started/cli-auth.png?w=560\u0026fit=max\u0026auto=format\u0026n=hN8a0e17vbUjzqGa\u0026q=85\u0026s=bd7d94ea221ce0d1763d3d1776434e11 560w, https://mintcdn.com/cadenya/hN8a0e17vbUjzqGa/images/guides/getting-started/cli-auth.png?w=840\u0026fit=max\u0026auto=format\u0026n=hN8a0e17vbUjzqGa\u0026q=85\u0026s=b05570520ee36635f9f58d43694bf492 840w, https://mintcdn.com/cadenya/hN8a0e17vbUjzqGa/images/guides/getting-started/cli-auth.png?w=1100\u0026fit=max\u0026auto=format\u0026n=hN8a0e17vbUjzqGa\u0026q=85\u0026s=9b3e554840d9c7be75cd991b17cb497e 1100w, https://mintcdn.com/cadenya/hN8a0e17vbUjzqGa/images/guides/getting-started/cli-auth.png?w=1650\u0026fit=max\u0026auto=format\u0026n=hN8a0e17vbUjzqGa\u0026q=85\u0026s=939fa0a34b9b22beb13e8f26f4115ad2 1650w, https://mintcdn.com/cadenya/hN8a0e17vbUjzqGa/images/guides/getting-started/cli-auth.png?w=2500\u0026fit=max\u0026auto=format\u0026n=hN8a0e17vbUjzqGa\u0026q=85\u0026s=64920a8c4ff3b5d0290cdb97a35c855a 2500w`})})]}),_jsxs(Step,{title:`Test the CLI`,children:[_jsx(_components.p,{children:`Once you’ve authorized your workspace, you may close the window. The CLI in your terminal should show a successful authorization.`}),_jsx(_components.p,{children:`Try the CLI with:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cadenya`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`})]}),`\n`]})})}),_jsx(_components.p,{children:`You should see something like:`}),_jsx(CodeBlock,{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:`~/Code/cadenya.com % cadenya auth status`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Profile \"default\": logged in.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` workspace: workspace_01KZ950VTH0TJ2ZKF503VX1QPN`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsx(Step,{title:`Self-five yourself`,children:_jsx(_components.p,{children:`You may now self-five yourself while no one is looking. 🙏`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`nomenclature`,children:`Nomenclature`}),`\n`,_jsx(_components.p,{children:`Cadenya has a few terms that you’ll see everywhere. You’ll understand them more as you use the product, but in general:`}),`\n`,_jsx(`table`,{children:_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`td`,{style:{width:`20%`},children:_jsx(_components.strong,{children:`Tool Sets`})}),_jsx(`td`,{children:`Configures a group of OpenAPI, MCP, HTTP, or Bare tools. Handles tool filtering, approval rules, and overlays to manage context from tool calls an LLM makes.`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.strong,{children:`Agents`})}),_jsxs(`td`,{children:[`Agents have at-least-one variation that can be assigned an objective. Variations can be given Tool Sets, tools, or `,_jsx(_components.strong,{children:`other agents`}),` for the behavior.`]})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.strong,{children:`Objectives`})}),_jsx(`td`,{children:`Objectives are dispatched from your code (or schedules) using the Cadenya SDK and will initiate your agentic loop with the assigned tools. Compaction, approvals, and more are tied to objectives. Some products call this a session. We like objective.`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.strong,{children:`Memory Layers`})}),_jsxs(`td`,{children:[`Memory layers are optional types that can be assigned to agent variations and be used to store documents, skills, or other facts. Memories can be created by an agent that has `,_jsx(_components.strong,{children:`episodic memory`}),` enabled.`]})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.strong,{children:`Widgets`})}),_jsx(`td`,{children:`Widgets are how you can use your Agents in Cadenya in your own webapp with minimal backend interaction. Custom domains. CORS. And React Components. All pre-built.`})]})]})}),`\n`,_jsx(Heading,{level:`2`,id:`your-first-tool-set-agent-and-objective`,children:`Your First Tool Set, Agent, and Objective`}),`\n`,_jsx(_components.p,{children:`There are two flavors to the rest of this guide. You either are here to see what Cadenya is all about, or you’ve created your account and you’re ready to rock and roll with the CLI. Here’s how you can decide:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`CLI Docs`}),` - You’re here to speed run to dispatching an objective.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`UI Docs`}),` - You’re here to visualize Cadenya before buying.`]}),`\n`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`CLI Docs`,id:`cli-docs`,children:_jsxs(Steps,{children:[_jsxs(Step,{title:`Create the Tool Set`,children:[_jsx(_components.p,{children:`With your CLI authenticated, we can now use it to create a Tool Set.`}),_jsx(_components.p,{children:`Cadenya sends Tool Set requests only to hosts your account trusts, so trust the Petstore first:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cadenya`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` trusted-endpoints`}),_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:` \"Swagger Petstore\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --host`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` petstore3.swagger.io`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`14`,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:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cadenya`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tool-sets`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --display`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` extended`}),_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:` --workspace-id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"development\"`}),_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:` --metadata`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"name\":\"Petstore\",\"externalId\":\"petstore\"}'`}),_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:` --spec`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Swagger Petstore v3\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"adapter\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"openapi\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"openapi\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"url\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"https://petstore3.swagger.io/api/v3/openapi.json\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"baseUrl\": \"https://petstore3.swagger.io/api/v3\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(_components.p,{children:`You should see something like this in your stdout`}),_jsx(CodeBlock,{numberOfLines:`6`,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:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-[ RECORD 1 ]-`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`ID | toolset_01M08DTBR03YX7CH93WYHF13S3`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`NAME | Petstore`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`CREATED | 2026-08-17T17:55:26.080514869Z`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`STATE | STATE_ACTIVE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Step,{title:`Create an Agent`,children:[_jsx(_components.p,{children:`Now we can create an Agent`}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cadenya`}),_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:` --display`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` extended`}),_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:` --workspace-id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"development\"`}),_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:` --metadata`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"name\":\"Petstore Agent\",\"externalId\":\"petstore-agent\"}'`}),_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:` --spec`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Answers questions about pets in the Swagger Petstore\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"variationSelectionMode\": \"VARIATION_SELECTION_MODE_RANDOM\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})]}),_jsxs(Step,{title:`Attach a variation`,children:[_jsx(_components.p,{children:`Now we can give our Agent a new variation that assigns the model and default prompts.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`17`,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:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cadenya`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agents`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` variations`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` petstore-agent`}),_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:` --display`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` extended`}),_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:` --workspace-id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"development\"`}),_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:` --metadata`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"name\":\"default\",\"externalId\":\"petstore-agent-default\"}'`}),_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:` --spec`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Haiku-backed default variation\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"systemPromptTemplate\": \"You are a helpful assistant for the Swagger Petstore. Use the available tools to look up pets, inventory, and orders. Do not invent pet data.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"firstUserMessageTemplate\": \"List inventory\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"modelConfig\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"modelId\": \"getting-started-key.anthropic-claude-haiku-latest\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"temperature\": 0.2`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"constraints\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"maxToolCalls\": 25,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"inactivityTimeout\": \"3600s\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(_components.p,{children:`And we can compose our new variation with our Tool Set from earlier (The one that actually defines the Petstore tools).`}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cadenya`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agents`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` variations`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add-assignment`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` petstore-agent`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` petstore-agent-default`}),_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:` --workspace-id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"development\"`}),_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:` --tool-set-id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` petstore`}),_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:` --display`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` json`})]}),`\n`]})})}),_jsx(_components.p,{children:`Before an Agent can be used to dispatch an Objective, we need to mark it as published.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cadenya`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agents`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` publish`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` petstore-agent`}),_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:` --display`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` extended`}),_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:` --workspace-id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"development\"`})]}),`\n`]})})}),_jsx(_components.p,{children:`Now let’s kick off an Objective.`})]}),_jsxs(Step,{title:`Dispatch an objective`,children:[_jsxs(_components.p,{children:[`Now you have a Tool Set, an Agent, and an Agent Variation. Last stop: `,_jsx(_components.strong,{children:`Objective town.`})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cadenya`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` objectives`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_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:` --agent-id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` petstore-agent`}),_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:` --metadata`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"externalId\":\"petstore-run-001\",\"labels\":{\"source\":\"cli\"}}'`}),_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:` --system-prompt-data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{}'`}),_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:` --first-user-message`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Find all pets with status available and summarize them by category.'`})]}),`\n`]})})}),_jsx(_components.p,{children:`You should see:`}),_jsx(CodeBlock,{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:`ID CREATED STATE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`obj_01M08HAWG66MQ3M0P4DDFH6PS0 2026-08-17T18:56:53.254341617Z STATE_PENDING`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Step,{title:`See the event log`,children:[_jsx(_components.p,{children:`Now that you have an objective, you can list its events as well. There are endpoints for streaming events, too. But for quick-start purposes we’re going to skip those for now.`}),_jsx(CodeBlock,{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:`cadenya objectives list-events petstore-run-001`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]})}),_jsx(Tab,{title:`UI Docs`,id:`ui-docs`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Copy the spec`,children:_jsx(CodeBlock,{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:`https://free.cadenya.com/faker-mcp`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsxs(Step,{title:`Create a Tool Set`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Navigate to `,_jsx(_components.a,{href:`https://app.cadenya.com/w/default/toolSets`,children:`Tool Sets`}),` in your workspaces navigation.`]}),`\n`,_jsx(_components.li,{children:`Click “Create Tool Set”`}),`\n`,_jsx(_components.li,{children:`Fill in the name “Faker MCP”`}),`\n`,_jsx(_components.li,{children:`Select “MCP” for the adapter type`}),`\n`,_jsxs(_components.li,{children:[`Set the URL to `,_jsx(_components.code,{children:`https://free.cadenya.com/faker-mcp`}),` (from your clipboard if you copied it)`]}),`\n`,_jsx(_components.li,{children:`Disable “Just-in-time” loading (for now, you’ll use it later)`}),`\n`,_jsx(_components.li,{children:`Save the Tool Set`}),`\n`]}),_jsx(_MdxComponentBoundary,{name:`Asset`,children:_jsx(Asset,{id:`videos/guides/getting-started/create-tool-set`,caption:`Assigning a tool set`})})]}),_jsx(Step,{title:`Go to Agents`})]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{Asset,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":"Introduction","description":"Cadenya is the agent runtime. Create a free account (no card) and copy an API key, then a coding agent sets up the rest with the Cadenya CLI.","href":"/index"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[141,2167,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"Start here","slug":"start-here","depth":2,"children":[]},{"title":"Create An Account","slug":"create-an-account","depth":2,"children":[]},{"title":"Install Cadenya’s Skills","slug":"install-cadenya’s-skills","depth":2,"children":[]},{"title":"Install the CLI","slug":"install-the-cli","depth":2,"children":[]},{"title":"Login with the CLI","slug":"login-with-the-cli","depth":2,"children":[]},{"title":"Nomenclature","slug":"nomenclature","depth":2,"children":[]},{"title":"Your First Tool Set, Agent, and Objective","slug":"your-first-tool-set-agent-and-objective","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-aspect-video {\n aspect-ratio: 16 / 9\n}\n.mint-w-full {\n width: 100%\n}\n.mint-rounded-xl {\n border-radius: 0.75rem\n}","subdomain":"cadenya","siteName":"Cadenya","title":"Introduction - Cadenya","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-23T02:22:16.844Z","originalFileLocation":"index.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=\"system\"}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=\"Cadenya is the agent runtime. Create a free account (no card) and copy an API key, then a coding agent sets up the rest with the Cadenya CLI.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cadenya\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_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=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Introduction - Cadenya\">\u003cmeta data-mint-head property=\"og:description\" content=\"Cadenya is the agent runtime. Create a free account (no card) and copy an API key, then a coding agent sets up the rest with the Cadenya CLI.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cadenya\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://cadenya.com/docs\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cadenya.mintlify.site/docs/_mintlify/api/og/v2?division=Getting+Started\u0026amp;title=Introduction\u0026amp;description=Cadenya+is+the+agent+runtime.+Create+a+free+account+%28no+card%29+and+copy+an+API+key%2C+then+a+coding+agent+sets+up+the+rest+with+the+Cadenya+CLI.\u0026amp;theme=5f66039c69522c5b0d37ea0d\u0026amp;signature=16e8e6b385db6d6215e35cb1b59a8eb1efb9a670ab71640fd035fa0165a79889\">\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=\"Introduction - Cadenya\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Cadenya is the agent runtime. Create a free account (no card) and copy an API key, then a coding agent sets up the rest with the Cadenya CLI.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cadenya.mintlify.site/docs/_mintlify/api/og/v2?division=Getting+Started\u0026amp;title=Introduction\u0026amp;description=Cadenya+is+the+agent+runtime.+Create+a+free+account+%28no+card%29+and+copy+an+API+key%2C+then+a+coding+agent+sets+up+the+rest+with+the+Cadenya+CLI.\u0026amp;theme=5f66039c69522c5b0d37ea0d\u0026amp;signature=16e8e6b385db6d6215e35cb1b59a8eb1efb9a670ab71640fd035fa0165a79889\">\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=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cadenya\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#165B41\">\u003clink data-mint-head rel=\"canonical\" href=\"https://cadenya.com/docs\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/index.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://cadenya.com/#organization\",\"name\":\"Cadenya\",\"url\":\"https://cadenya.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cadenya/jC_UqeyZ_EgHWKnX/logo/light.svg?fit=max\u0026auto=format\u0026n=jC_UqeyZ_EgHWKnX\u0026q=85\u0026s=163995d0cd296848f58b95d41cfbb847\"}},{\"@type\":\"WebSite\",\"@id\":\"https://cadenya.com/docs#website\",\"name\":\"Cadenya\",\"url\":\"https://cadenya.com/docs\",\"publisher\":{\"@id\":\"https://cadenya.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://cadenya.com/docs#webpage\",\"url\":\"https://cadenya.com/docs\",\"name\":\"Introduction\",\"description\":\"Cadenya is the agent runtime. Create a free account (no card) and copy an API key, then a coding agent sets up the rest with the Cadenya CLI.\",\"dateModified\":\"2026-11-23T02:22:16.844Z\",\"isPartOf\":{\"@id\":\"https://cadenya.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://cadenya.com/docs#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://cadenya.com/docs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Getting Started\",\"item\":\"https://cadenya.com/docs/setup-from-a-coding-agent\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introduction\",\"item\":\"https://cadenya.com/docs\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://cadenya.com/docs#article\",\"headline\":\"Introduction\",\"name\":\"Introduction\",\"description\":\"Cadenya is the agent runtime. Create a free account (no card) and copy an API key, then a coding agent sets up the rest with the Cadenya CLI.\",\"url\":\"https://cadenya.com/docs\",\"mainEntityOfPage\":{\"@id\":\"https://cadenya.com/docs#webpage\"},\"dateModified\":\"2026-11-23T02:22:16.844Z\",\"publisher\":{\"@id\":\"https://cadenya.com/#organization\"},\"isPartOf\":{\"@id\":\"https://cadenya.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cadenya\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cadenya\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/index.md","siteName":"Cadenya","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Getting Started","pages":[{"title":"Set up Cadenya from a coding agent","description":"A coding agent installs the CLI, builds in a temporary workspace with no signup, and hands you a claim link. Claim it, then move the setup into config files.","href":"/setup-from-a-coding-agent"},{"title":"Introduction","href":"/index"},{"title":"Widget quickstart","description":"Build a travel concierge with Cadenya Widgets, Next.js, and the React UI kit, then ship it to Vercel.","href":"/guides/getting-started/widget-quickstart"}]},{"group":"The Basics","pages":[{"title":"Tool Sets","href":"/guides/the-basics/tool-sets"},{"title":"Agents","href":"/guides/the-basics/agents"},{"title":"Objectives","href":"/guides/the-basics/objectives"},{"title":"Memory","href":"/guides/the-basics/memory"},{"title":"Widgets","href":"/guides/the-basics/widgets"},{"title":"Webhooks","href":"/guides/the-basics/webhooks"},{"title":"CLI","href":"/guides/the-basics/cli"}]},{"group":"Advanced Use-Cases","pages":[{"title":"Multi-agent systems","href":"/guides/advanced-use-cases/multi-agent"}]},{"group":"Guides","pages":[{"title":"Building a Slack agent","href":"/guides/building-a-slack-agent"}]},{"group":"Account and platform","pages":[{"title":"API keys","href":"/api-keys"},{"title":"Config files","href":"/config-files"},{"title":"MCP server","href":"/mcp-server"},{"title":"Data and security","href":"/data-and-security"}]}]},{"tab":"API Reference","icon":"brackets-curly","pages":[{"title":"API Reference","href":"/api-reference"}]},{"tab":"Widgets API","icon":"comments","pages":[{"title":"Widgets API","href":"/widgets-api-reference"}]}]},"basePath":"","title":"Introduction - Cadenya","deploymentId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","buildId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-ZkG8lpiu.js","DynamicMarkdown-B4E-vXj3.js","zoom-image-lightbox-Dq2Z5ult.js","lightbox-handle-r17bVUz3.js"]}