Skip to content

How it worksdemo

How a Weft agent works.

A finance case, with demo data: the invoice that arrives by email and ends up recorded in accounts payable. It takes 3 steps.

  1. Step 01

    Reads the document.

    The Alfa Embalagens invoice arrives as a PDF by email. The agent opens the file and pulls out what matters.

    inv-58213.pdfdemo

    invoice
    58213
    amount
    R$ 4,820.00
    due date
    Oct 30
  2. Step 02

    Checks against company data.

    Compares the invoice with the purchase order and the supplier record, which are already in your systems.

    company datademo

    purchase order 1197
    matches
    supplier record
    matches
    previous invoices
    same pattern
  3. Step 03

    Acts with a person approving.

    Prepares the entry in accounts payable and waits. It only counts after Carlos, from finance, approves it.

    accounts payabledemo

    entry
    INV 58213 · R$ 4,820.00
    Carlosfinance✓ approved by Carlos

The agent does the repetitive part. The person who approves is someone on your team.

See the same case from the inside
Inside the agent

For those who want to look inside.

Next, the same invoice case, step by step, the way the agent sees it. Every technical term comes with a plain explanation.

  1. 01 Input
  2. 02 Tokens
  3. 03 Embeddings
  4. 04 Search
  5. 05 Reasoning
  6. 06 Action
  7. 07 Result

demoCase: Finance · email· PDF attached: invoice from supplier Alfa Embalagens

01 · Input

The request arrives in the middle of the mess.

An invoice PDF in the inbox, among spreadsheets and WhatsApp messages. That is how work really arrives.

  • emailSubject: Alfa Embalagens invoice
  • PDFinv-58213.pdf · 1 page
  • spreadsheetorders-september.xlsx
  • WhatsApp“Did the Alfa invoice arrive?”
02 · Tokens

Tokens.

The text is broken into pieces the model can read. Each piece becomes a number.

PDF attached: invoice from supplier Alfa Embalagens

  1. PDF21480
  2. ·att1078
  3. ached3313
  4. :25
  5. ·invoice25184
  6. ·from505
  7. ·supp9313
  8. lier8430
  9. ·Alfa42610
  10. ·Emb7731
  11. al282
  12. agens11796
03 · Embeddings

Embeddings.

Each passage becomes a point on a map of meaning. Similar things end up close together.

  • supplier
  • due date
  • amount
  • purchase order

2D map of meaning · demo

04 · Search (RAG)

RAG.

Before answering, the agent searches the company's own knowledge base. The answer comes from your documents, not from a guess.

question Does this invoice match the order?

retrieved from company datasimilarity

  1. Purchase order 1197Alfa Embalagens · R$ 4,820.000.94
  2. Supplier recordAlfa Embalagens · tax ID checked0.91
  3. Previous Alfa invoices3 invoices · same pattern0.87
05 · Reasoning

Reasoning.

The model checks the data and writes the answer, one piece at a time.

Agent runningclaude-haiku-4-5

PDF attached: invoice from supplier Alfa Embalagens

  1. Reads the PDF
  2. Extracts fields
  3. Checks the order
  4. Records
  5. Human review

INV 58213 · R$ 4,820.00 · due Oct 30. Amounts match purchase order 1197. Recorded in accounts payable.

06 · Action

Action, with people in control.

A tool call. The agent uses the company's system the way a person would, and someone on the team approves it before it counts.

tool callaccounts payable

record_account_payable({
  "supplier": "Alfa Embalagens",
  "invoice": "58213",
  "amount": 4820.00,
  "due_date": "10/30",
  "purchase_order": "1197"
})
Human reviewCarlos · finance✓ approved by Carlos
07 · Result

The weave is complete.

Invoice read, checked and recorded. AI ran through the process that already existed, without replacing anyone's system.

confidence97%
time2.4 s
AI costR$ 0.006

claude-haiku-4-5✓ approved by Carlosdemo

You just saw an agent from the inside. Weft builds this into the process your company already has, with a person in control.

A 30-minute call answers the first question.

No corporate pitch. You bring the process, I tell you whether software or AI moves the number. And if it doesn't, I tell you that too.

  • Free first call, 30 minutes by video
  • A slot in Lucas's calendar or a reply by email within 2 business days
Book a callServices