> ## Documentation Index
> Fetch the complete documentation index at: https://intunedhq.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Using the agent

## Creating a new project

Start a new conversation at [app.intuned.io/agent](https://app.intuned.io/agent) to build a project from scratch.

<Frame caption="Sped-up demo of creating a new scraper project with Intuned Agent.">
  <video autoPlay muted loop playsInline controls src="https://mintcdn.com/intuned-dev/PKoj-Mu2mK0gzdqc/assets/intuned-agent/intuned-agent-overview.mp4?fit=max&auto=format&n=PKoj-Mu2mK0gzdqc&q=85&s=7b74d936064516e240155b714d0047ea" data-path="assets/intuned-agent/intuned-agent-overview.mp4" />
</Frame>

<Tabs>
  <Tab title="1. Describe" icon="comments">
    Tell the agent what to build — include the target URL and the data you want
    or the action to automate. Use a **template** to pre-fill your prompt, or a
    **recipe** to add capabilities.
  </Tab>

  <Tab title="2. Plan" icon="list-check">
    The agent explores the site and may ask clarifying questions (usually
    multiple choice) before presenting a plan. Review the proposed schema, APIs,
    and approach — then **Approve** or **Suggest Changes**.
  </Tab>

  <Tab title="3. Build" icon="robot">
    The agent writes code, installs dependencies, and runs tests against the
    live site. This typically takes 30–60 minutes. You can close your browser —
    the agent continues in the background.
  </Tab>

  <Tab title="4. Deploy" icon="rocket">
    Review the generated code in the **Code** panel and test results in the
    **Artifacts** panel. Select **Merge Branch** to deploy — choose **Merge &
    Deploy** or **Merge only**. You can also send a follow-up message to request
    further changes before merging.
  </Tab>
</Tabs>

### Prompt examples

<AccordionGroup>
  <Accordion title="Scraper" icon="magnifying-glass">
    Create a scraper for [https://www.energy.ca.gov/funding-opportunities/solicitations](https://www.energy.ca.gov/funding-opportunities/solicitations)

    For each solicitation, extract:

    * title
    * solicitation number
    * status
    * posted date
    * closing date
    * description

    Download every attachment and include the files in the output.
  </Accordion>

  <Accordion title="RPA / automation" icon="diagram-project">
    Create an RPA project for [https://sandbox.intuned.dev/consultations-auth/book](https://sandbox.intuned.dev/consultations-auth/book)

    This is an authenticated website. Set up AuthSessions so the automation runs with authenticated browser state.

    Create these APIs:

    1. book-consultation — book a new consultation
    2. check-consultation-status — check the status of an existing consultation
    3. confirm-consultation — confirm a pending consultation
    4. get-my-consultations — list all my consultations (add API parameters so the caller can filter by status or date range)
  </Accordion>

  <Accordion title="Crawler" icon="diagram-subtask">
    Create a crawler that can crawl any documentation site and extract structured page content.

    Test it on these sites:

    * [https://intunedhq.com/docs](https://intunedhq.com/docs)
    * [https://react.dev](https://react.dev)
    * [https://docs.anthropic.com](https://docs.anthropic.com)

    For each page, extract:

    * Page title
    * Section headings
    * Body content (as markdown)
    * Links to child pages

    Crawl internal links up to a configurable depth.
  </Accordion>

  <Accordion title="AI-powered automation" icon="sparkles">
    Create an AI-powered job board crawler.

    The crawler should:

    1. Start from a job board listing page, extract all job links, and crawl each one
    2. For known boards like Lever, extract structured data with deterministic selectors (title, location, department, team, commitment, workplace type, description, apply URL)
    3. For other boards (Greenhouse, custom), fall back to AI extraction using the same schema
    4. Deduplicate URLs across payloads using persistentStore
    5. Support configurable max\_depth and max\_pages
  </Accordion>
</AccordionGroup>

## Editing an existing project

Open the project you want to edit from the [projects page](https://app.intuned.io/projects), then start a new agent conversation from the project overview.

<Frame caption="Sped-up demo of editing an existing project with Intuned Agent.">
  <video autoPlay muted loop playsInline controls src="https://mintcdn.com/intuned-dev/PKoj-Mu2mK0gzdqc/assets/intuned-agent/edit-project.mp4?fit=max&auto=format&n=PKoj-Mu2mK0gzdqc&q=85&s=6fde1985a9352f11f736e4b6ef6477a1" data-path="assets/intuned-agent/edit-project.mp4" />
</Frame>

<Tabs>
  <Tab title="1. Open the project" icon="folder-open">
    Open the project you want to edit from the [projects
    page](https://app.intuned.io/projects), then start a new agent conversation
    from the project overview.
  </Tab>

  <Tab title="2. Describe the change" icon="comments">
    Describe what you want to change — the agent figures out the details. Use a
    **template** for common edits, or a **recipe** to add capabilities.
  </Tab>

  <Tab title="3. Plan" icon="list-check">
    For larger changes, the agent presents a plan for your review. It may ask
    clarifying questions (usually multiple choice). **Approve** or **Suggest
    Changes**. For smaller changes, the agent starts building directly.
  </Tab>

  <Tab title="4. Build" icon="robot">
    The agent implements the changes, runs tests, and validates the results
    against the live site. You can close your browser — the agent continues in
    the background.
  </Tab>

  <Tab title="5. Merge" icon="code-merge">
    Review the changes and select **Merge**. You'll see an editable summary
    before confirming. Choose **Merge** to apply, or **Merge and deploy** to
    apply and deploy in one step.
  </Tab>
</Tabs>

### Prompt examples

<AccordionGroup>
  <Accordion title="Update API result" icon="list-check">
    API name: get-solicitations
    What should change in the result:

    * Add a `categories` array where each item has name and URL
    * Change `price` to an object with `amount` (number) and `currency` (string)

    Test on all the API parameters.
  </Accordion>

  <Accordion title="Fix wrong data output" icon="magnifying-glass">
    API name: get-products
    Field or entity with wrong data:

    * `price` is returning the discounted price instead of the original price

    Current output:

    * price: 29.99

    Expected output:

    * price: 49.99

    Related run IDs:

    * run\_abc123
  </Accordion>

  <Accordion title="Fix timeout error" icon="timer">
    Check last failed runs to find the runs failing with timeout error and fix the issue.
  </Accordion>

  <Accordion title="QA this project" icon="clipboard-check">
    Run all APIs with their default test parameters and verify the outputs are correct. Flag any failures, incorrect data, or missing fields.
  </Accordion>
</AccordionGroup>

## Fix with AI

Navigate to a failed run in the dashboard and select **Fix with AI**.

<Frame caption="Sped-up demo of fixing a failed run with Fix with AI.">
  <video autoPlay muted loop playsInline controls src="https://mintcdn.com/intuned-dev/PKoj-Mu2mK0gzdqc/assets/intuned-agent/fix-with-ai.mp4?fit=max&auto=format&n=PKoj-Mu2mK0gzdqc&q=85&s=ce52f685e450d9375c785fdb39cf1e54" data-path="assets/intuned-agent/fix-with-ai.mp4" />
</Frame>

<Tabs>
  <Tab title="1. Find the failed run" icon="folder-open">
    Open your project from the [projects page](https://app.intuned.io/projects)
    and go to the **Runs** tab. Select a run with an error.
  </Tab>

  <Tab title="2. Start a fix" icon="wrench">
    Select **Fix with AI** from the failed run. The agent opens a new
    conversation with the run context already loaded and starts diagnosing the
    issue.
  </Tab>

  <Tab title="3. Build" icon="robot">
    The agent diagnoses the issue using trace analysis and run logs, then fixes
    the code and validates the result. You can close your browser — the agent
    continues in the background.
  </Tab>

  <Tab title="4. Merge" icon="code-merge">
    Review the fix and select **Merge**. You'll see an editable summary before
    confirming. Choose **Merge** to apply, or **Merge and deploy** to apply and
    deploy in one step.
  </Tab>
</Tabs>

### What it can fix

* **Failed runs** — broken selectors, changed page structure, missing elements
* **Wrong data** — incorrect extraction logic, wrong fields, missing data
* **Timeouts** — slow steps, unnecessary waits, performance bottlenecks

## Intuned Agent interface

The agent runs in a multi-panel interface. The main conversation is on the left, with tabbed panels on the right for code, browser, and artifacts.

<Frame caption="Check the numbered markers on the image below.">
  <img src="https://mintcdn.com/intuned-dev/PKoj-Mu2mK0gzdqc/assets/intuned-agent/agent-interface.png?fit=max&auto=format&n=PKoj-Mu2mK0gzdqc&q=85&s=e4317ed375851ddd9de87df6479aa912" width="3453" height="2160" data-path="assets/intuned-agent/agent-interface.png" />
</Frame>

1. **Home** — Return to Intuned home.
2. **New conversation** — Start a new agent session — select a model, pick a project, and choose templates or recipes.
3. **Conversation list** — All your conversations grouped by project, with status indicators and timestamps.
4. **Work summary** — When the agent makes meaningful changes to the project, it adds a summary to the branch. This summary becomes the checkpoint message when you merge.
5. **Merge branch** — Merge the agent's changes into your project. Shows an editable summary before confirming — choose **Merge** to apply, or **Merge and deploy** to apply and deploy in one step. Same action available in the header.
6. **View code** — View the complete project code with diff highlighting. Shows additions and deletions so you can review exactly what the agent changed.
7. **Message input** — Send a new message to the agent. You can queue messages while the agent is working — queued messages are sent automatically after the current turn finishes and the agent stops.
8. **Model selector** — Change which Claude model the agent uses: **Sonnet** (fast and intelligent), **Opus** (most intelligent), or **Haiku** (fastest). Takes effect when you send a message.
9. **Permission mode** — Control how much autonomy the agent has:
   * **With human approval** (default) — asks for input before taking actions.
   * **Autonomous** — acts without approval, ideal for background tasks.
10. **Code panel** — View the project file tree with all changes the agent has made. Diffs are highlighted inline.
11. **Browser panel** — A live view of the browser the agent controls. Watch navigation, clicks, form fills, and data extraction in real time.
12. **Artifacts panel** — While the agent is running, it runs APIs and triggers test jobs. Check the results here — including parameters, responses, errors, and Playwright traces.
13. **Open in IDE** — Opens the branch in the online IDE for direct code editing.
14. **Merge code** — Same merge action as #5, accessible from the header for quick access.
15. **Branch name** — The name of the agent's working branch for this conversation.
16. **Project link** — Link to the project this conversation is associated with.

## Troubleshooting

| Issue                                | What to do                                                                                                                                                                     |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Agent seems stuck during testing** | Platform test jobs can take a while. Check the **Artifacts panel** every few minutes for updated results — the agent polls for completion and continues once the job finishes. |
| **Session timed out**                | Agent sessions have an 8-hour maximum. If your task hits this limit, type "continue" and the agent resumes where it left off.                                                  |

For other issues, [contact Intuned support](/main/06-resources/help-and-support).

## Related resources

<CardGroup cols={2}>
  <Card title="Intuned Agent overview" icon="robot" href="/main/02-intuned-agent/overview">
    What the agent can do and where to find it
  </Card>

  <Card title="Self-healing projects" icon="rotate" href="/main/02-intuned-agent/self-healing-projects">
    Automated detection, fixing, and redeployment
  </Card>

  <Card title="Runs" icon="play" href="/main/02-features/runs-single-executions">
    Single API executions and how to debug them
  </Card>

  <Card title="Jobs" icon="clock" href="/main/02-features/jobs-batched-executions">
    Scheduled and batched executions
  </Card>

  <Card title="AuthSessions" icon="key" href="/main/02-features/auth-sessions">
    Authenticated browser automations
  </Card>

  <Card title="Stealth, CAPTCHA, and proxies" icon="shield-halved" href="/main/02-features/stealth-mode-captcha-solving-proxies">
    Bot detection, CAPTCHA solving, and IP rotation
  </Card>
</CardGroup>
