Skip to content

Kody is live

Watch the launch video — what Kody is, and why it exists.

Built for people who want to own their automations. Join the waitlist for an invite.

DocsGet started

Get started

First build: ad hoc execute, then persist

Agent playbook — written for the agent connected to your account; you can read along

This guide is the playbook for a Kody account's first build: run one useful ad hoc request, then save that working code as a package the person owns — after they make something useful in Step 2, or after they skip that step.

The person may have arrived from /onboarding Step 2 ("Make something useful") on the same origin this guide was fetched from. They can paste a prompt into their agent as soon as they reach that step.

Before you start

The account needs a verified email and an authorized MCP host (/onboarding/step-1). Step 2 is one prompt that retrieves the onboarding guide. If they pasted that prompt, follow the guide: ask 1–2 questions, do one small win, then send them to Step 3 to reuse it. If they skipped, ask what they want to try and use whatever tools are already available.

Step 1 — Confirm the connection

Confirm the host is ready with search (or mcpServerList if they already named a connected server). If the host is still authorizing, tell them to finish the window and say when /onboarding shows Connected. Try once more after they confirm. Do not poll.

If they skipped Step 2, ask one short question about what they want to try instead of adding a server yourself.

Step 2 — Run one ad hoc execute

Use execute for a single useful call from their answer. Prefer tools that are already on the account: search, memory, a connected MCP server, or a package they own.

Show a short summary of the result. Do not create a package until this call works.

Step 3 — Persist the working code

Save that working module as a package they own:

  • packageSave when you are writing the first version, or
  • the owned helper Connect already copied into their account when that is closer. Do not invoke kody:@kody/*.

Name the package after the job it does. Then confirm it is searchable as theirs.

Step 4 — Name the ownership lesson

In one short message, explain that the package lives in their account: they can edit it, hang triggers on it, or write another. This is the permanence lesson for onboarding — not a practice run.

Step 5 — Offer triggers (optional)

Ask whether they want to hang a trigger on it: webhook, Kody app, cron, or skip for now. List the options. If they skip, they are done with Get started.

Troubleshooting

  • Server not connected — the authorize window is still open, or they are on a different account than the browser session. Wait for their "Connected" message; one retry.
  • No connected tools — they skipped Step 2, or they have not added a remote MCP server yet. Ask what they want, or send them back to /onboarding/step-2 for the Step 2 prompt.
  • packageSave rejected — the ad hoc module is incomplete. Keep the execute evidence, fix the package files, and save again. Do not invent extra packages.

Working with an agent? This page is also plain markdown at /docs/quick-example.md, or load it over MCP with search({ entity: 'quick_example:guide' }).