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

# Using annie

> Build, run, and improve workflows by chatting with annie, anyformat's AI assistant.

**[annie](/concepts/annie)** is anyformat's AI assistant, and the fastest way to get work done. Instead of assembling steps or defining fields by hand, you tell her what you want in plain language and she builds it, runs your documents, and helps you improve the results. This guide covers how to work with her day to day.

***

## Start a workflow

<Steps>
  <Step title="Describe what you want">
    On the **home** screen, type your request in the **Create with annie** chat — the document type and the data you want out of it. Attach a sample document (drag and drop, or **Add document**) so annie can see the real layout.

    > *"Read supplier invoices and pull out the invoice number, date, supplier, and line items."*
  </Step>

  <Step title="Approve her proposal">
    annie proposes a workflow and shows a preview to approve. Check the fields and types, then accept.
  </Step>

  <Step title="Continue in Studio">
    She opens the new workflow in [Studio](/guides/studio/index), with the conversation continuing in the **Chat** tab so you can keep refining.
  </Step>
</Steps>

<Tip>
  Give annie both a **description and a sample document**. The sample lets her match your real field names and catch things a description alone would miss.
</Tip>

***

## Write good requests

annie does best with specific, concrete asks:

* **Name the document type** — "supplier invoices", "candidate resumes", "bank statements".
* **List the data you want** — "invoice number, issue date, total including tax, and line items".
* **Mention how it should behave** — "the total is a decimal", "there may be several invoices in one PDF", "flag documents that are expired".

You don't need to know anyformat's internal steps — just describe the outcome, and annie chooses whether to sort by type, split a bundle, or add a check.

***

## Refine in Studio

Once you're in Studio, keep working with annie in the **Chat** tab — or edit steps by hand. Things you can ask:

<CardGroup cols={2}>
  <Card title="Adjust fields" icon="pen">
    "Add a due date field." · "Make total a decimal." · "Rename `ref` to `purchase_order`."
  </Card>

  <Card title="Ask for suggestions" icon="lightbulb">
    "What else should I extract from these?" · "Write a better description for this field." annie is the expert — accept the ideas you like.
  </Card>

  <Card title="Handle harder documents" icon="diagram-project">
    "Classify these by document type." · "Split PDFs that contain several invoices." · "Add a rule that subtotal + tax equals total."
  </Card>

  <Card title="Enrich values" icon="magnifying-glass">
    "Match the supplier name against my vendor list and return the supplier code." See [Smart Lookup](/concepts/smart-lookup).
  </Card>
</CardGroup>

annie shows a preview before applying structural changes — nothing changes until you approve it.

***

## Run documents and read results

Ask annie to run documents and report back:

* *"Run these three invoices and show me the totals."*
* *"Which fields came back with low confidence?"*

She runs the documents, returns the extracted values, and flags anything low-confidence so you know what to review. For reviewing results at scale, see [Verification & review](/guides/workflows/verification-review).

***

## Improve accuracy

When accuracy matters, give annie examples of the correct answers and let her tune the workflow:

<Steps>
  <Step title="Record the correct values">
    Tell annie the right answers for a few documents (ground truth), or mark them in the results.
  </Step>

  <Step title="Ask her to improve">
    *"Improve this workflow's accuracy."* annie re-runs your examples, measures accuracy, and keeps only the changes that actually help.
  </Step>
</Steps>

<Note>
  Running documents and measured accuracy improvements use credits — annie tells you when an action has a cost. See [How credits work](/concepts/how-credits-work).
</Note>

***

## Get integration code

When your workflow is ready to call from your own app, ask annie for the code:

> *"Give me a Python script to run this workflow on a PDF."*

She generates a ready-to-run **Python**, **JavaScript**, or **curl** script wired to your real workflow and field names. See the [SDKs](/api-reference/sdks/python) for the full reference.

***

## What's next?

<CardGroup cols={2}>
  <Card title="annie" icon="robot" href="/concepts/annie">
    What annie is and everything she can do
  </Card>

  <Card title="Using Studio" icon="diagram-project" href="/guides/studio/index">
    Edit the workflow annie builds, step by step
  </Card>

  <Card title="Creating Workflows" icon="plus" href="/guides/workflows/creating">
    The end-to-end creation walkthrough
  </Card>

  <Card title="Verification & review" icon="check-double" href="/guides/workflows/verification-review">
    Review and verify results at scale
  </Card>
</CardGroup>
