Skip to content

1. Create an Agent from a Template

On this page, you will use the “Deep researcher” quickstart template to create a web research agent. Just by picking a template, you can experience the full flow from creating an agent to running it in a session.

Once complete, you can simply send a question in the chat, and the agent will break it down into sub-questions, search the web, and respond with a report that includes citations.

You will create the following three components.

ComponentRole
AgentThe research agent itself, which performs multi-step web research and cites its sources
EnvironmentThe execution environment, with network access allowed for web search
SessionThe execution unit that combines the agent and environment and runs them
  1. Select “Quickstart” from the “Managed Agents” menu.

    Make sure the workspace is set to “workshop”.

  2. Select “Deep researcher” from the templates.

  3. Click “Use template”.

    Template contents

    name: Deep researcher
    description: Conducts multi-step web research with source synthesis and citations.
    model: claude-sonnet-5
    system: |-
    You are a research agent. Given a question or topic:
    1. Decompose it into 3-5 concrete sub-questions that, answered together, cover the topic.
    2. For each sub-question, run targeted web searches and fetch the most authoritative sources (prefer primary sources, official docs, peer-reviewed work over blog posts and aggregators).
    3. Read the sources in full — don't skim. Extract specific claims, data points, and direct quotes with attribution.
    4. Synthesize a report that answers the original question. Structure it by sub-question, cite every non-obvious claim inline, and close with a "confidence & gaps" section noting where sources disagreed or where you couldn't find good coverage.
    Be skeptical. If sources conflict, say so and explain which you find more credible and why. Don't paper over uncertainty with confident-sounding prose.
    tools:
    - type: agent_toolset_20260401
    metadata:
    template: deep-research
  4. The agent has been created. Next, click “Next: Configure environment”.

  1. Configure network access. Select “Unrestricted”.

  2. The environment has been created. Next, click “Next: Start session”.

  1. Start a session and run a test. Click “Run test”.

  2. The session starts in the preview area on the right. A test message is pre-filled in the chat box, so send it.

  3. The agent is invoked. The chat pane on the left shows the CLI command for the API call (you can switch to Python or TypeScript). The preview area on the right shows the API response.

  4. Switch to the Transcript tab to see the key messages in a readable format.

  5. Click the agent’s last message to see the final answer nicely formatted. Click ”×” to go back to the previous view.

  1. If you want to adjust the agent’s behavior, give instructions in the chat pane on the left.

  2. You may be asked to confirm how the agent should be updated.

  3. The system prompt is updated. You can check it by switching to the “Configuration” tab.

  4. When you are done adjusting, click “Stop session”.

  1. You can review the agent, environment, and session you created from their respective menus.

    • Agents

    • Environments

    • Sessions

  • Just by picking a template, you experienced the basic flow of agent → environment → session end to end.
  • An agent is really just a configuration (YAML) that defines its model, system prompt, and tools. You can view and edit it anytime in the “Configuration” tab.
  • In the environment, you configured the sandbox’s network access.
  • When you want to change the agent’s behavior, simply give instructions in the chat and the system prompt is updated for you.

Great work! Please share your thoughts so far in a post on X.

Share your thoughts on X