Free

Launch Your Agent: try a task with Claude Managed Agents

Open the Launch Your Agent learning example in Claude Code. Define one task, prepare Claude Managed Agents and check the first version and its costs.

Tools

Installation · Download sources (ZIP)

Launch Your Agent helps turn a task description into a small agent on Claude Managed Agents. This Anthropic learning example for Claude Code clarifies the outcome, prepares a launch in your account and helps evaluate the first version. Start with one task and an agreed completion criterion.

Tool characteristics

The repository is a learning example: it is unmaintained and does not accept community contributions. Study it as a workflow example while checking technical choices against current documentation. Detailed instruction consumes more tokens than a specialist agent that is already prepared.

Claude Managed Agents provides an environment for long and asynchronous agent work. The official overview labels the service beta, a preliminary release. Check feature and API availability before a real launch, especially if your saved example predates the current documentation.

For a simple recurring step between existing services, first compare Your first workflow automation. A cloud agent helps when work requires several decisions and tools rather than transferring known fields.

Prepare the environment and costs

  1. Quickstart requires installed, signed-in Claude Code and an API key from your Anthropic account. Store the key locally in .env; do not paste its value into chat or output. The assistant checks existing settings without revealing the secret and helps the owner perform any inaccessible step.

  2. Estimate the cost of creating the sample project and every subsequent session. Compare current account terms, the model and connected tools. A claim about cheap startup in the example does not determine your task’s cost. Start with a small input and a limited run.

  3. A session budget is set when creating a session. It limits new requests from starting; an in-flight request finishes, so the total may slightly exceed the set amount. One run’s budget is not a monthly cap for all scheduled runs.

Open the example in Claude Code

The assistant first looks for an existing copy. The official README gives these commands for a new copy:

git clone https://github.com/anthropics/launch-your-agent.git
cd launch-your-agent
claude

In the open Claude Code session inside that folder, invoke:

/launch-your-agent

Skills in .claude/skills are loaded in the project context. Enter this command in Claude Code; in Codex or Work, the assistant prepares materials and performs available project checks. Moving the skill to another client requires separate adaptation.

Describe the desired result and actual materials first. The example asks questions and proposes a limited first version. Separate what one trial needs from future improvements. Before a cloud launch, define input, allowed tools, costs and verification.

Check the first version

Choose a sample with a known expected result. The assistant prepares configuration, checks resources being created and starts the agreed trial. Save agent, environment and session IDs to inspect your actual run instead of starting work again with each status request.

Compare the actual result against the completion criterion. For file tasks, open the created file; for data transformations, compare input and output. Also test invalid input and repetition of the same task. A polished agent description cannot replace its execution result.

The my-agent folder contains the created project’s materials: a build description, API requests, run continuation, an evaluation foundation and future directions. The assistant checks what was actually created, fixes the identified cause of failure and repeats the required trial. The /wrap-up command in Claude Code updates the overview and helps save a continuation point.

Configure repetition and stopping

Move to scheduling after a successful manual trial. Set the required time zone, frequency and per-run limit; verify repetition does not duplicate an external action. Not every agent needs automatic repetition.

The assistant checks the current API for disabling the schedule and separately stopping an active session. Ending a local chat does not stop cloud work. After the trial, check resource state and costs; leave only agreed runs active.

The result is ready when the agent completes a verifiable task, its configuration and working materials are saved, and repetition and stopping are checked. Continue with How to test automation on repeated runs.

Prompt to prepare a managed agent

Paste into Codex or Work with project access:

Find my task description and existing project. Check whether the anthropics/launch-your-agent learning example for Claude Managed Agents is appropriate or ordinary automation is enough. Read the current README, relevant skill files and official API documentation, accounting for the example’s unmaintained status. Define one first version, input, a verifiable result, permitted tools and costs. Use the configured account and protected key storage; agree on missing sign-in and new permissions with the owner. Prepare materials and perform available authorized actions, invoking native skill commands in a suitable Claude Code session. Check the budget before a cloud trial, then save resource IDs and the actual result. Test normal input, an error and repetition without duplicate actions. Fix issues and show working files and how to continue. Enable scheduling only when needed and within the task; check its time zone and stopping separately from the active session. Stop unnecessary runs you created.
In This Article
Saved