Skip to content
AgilePixelAgile's sovereign eyesight

Read a document and return its fields, not an essay.

AgilePixel is the eyesight service: give it a document, a utility bill, a scan or a photo taken with a phone, and it returns the fields as JSON, each with its own confidence. It runs on our own machines, in Europe: no document is forwarded to third parties.

What it does

Three capabilities, one contract:

  • Read — document in, text as markdown with tables reconstructed.
  • Extract — document plus a field schema (or a known type, for instance the Italian electricity and gas bill), fields as JSON with a confidence per field.
  • Describe — image in, description in words; the branch that does not identify people.

Batch jobs: the same three capabilities for many documents at once. You hand in the batch with POST /v1/lotti, check how far it has got and collect the results when it is ready, once only; single calls do not slow down and the quota is paid document by document. The batch lives in the service's memory, never on disk, and the results disappear when you collect them or at the declared expiry. If you ask for it, when the work is done a signed notice (HMAC-SHA256) reaches your https address: it says the batch is ready, never what was written inside.

Formats: PDFs with a text layer, scanned PDFs, scanner images and phone photos (perspective, shadows, folds, compression). The photo is the hard exam, and it is the one we measure ourselves against.

The rule that sets us apart: never an invented value

Every field goes through a deterministic validator before it leaves: POD and PDR energy identifiers, Italian tax code and VAT number with their check digit, IBAN with mod 97, coherent billing period dates, the sum of bands F1+F2+F3 equal to the total, taxable amount plus VAT equal to the amount due. A field that fails comes back as null, its name goes into the da_verificare list (to be checked) and motivi (reasons) says which check it failed: it never comes back as a plausible wrong value. In an automated process, the error that costs most is the one reported as certain.

Sovereignty, concretely

  • Documents stay on Agile's machines; nothing is forwarded to third-party services.
  • Logs never contain content, and there are two of them: the front-end log keeps, for each job, only the file fingerprint (truncated sha256), the page count and milliseconds; the operations register keeps only who, when and what (tenants, licences, keys, engines). Of a served document the store keeps a number for billing — not a row.
  • Front end and engine are separate: capacity grows by adding engines, and for callers nothing changes — same name, same contract, same key.

Who it is for

  • Companies that receive documents and today retype them by hand: energy bills, certificates, payslips, invoices, contracts, reports.
  • Products that need eyesight: a business system that must read the attachment that just arrived, an app that asks the customer for a photo and wants the fields straight away.
  • Third parties, with a licensed API: those who integrate AgilePixel into their own product and in turn serve their own customers. The licence belongs to the paying customer, their customers are sub-tenants, and usage is metered per licence.

Callers need not know where the engine runs, nor change anything when the engines become two or ten.

Plans

One licence per tenant, with plan, scopes, monthly quota, per-minute limit and expiry. API keys live under the licence: they are issued, rotated and revoked from the tenant console without touching the licence.

Trial

price on request

Quota
500 pages per month per licence
Limit
10 requests per minute per persona
Term
30 days
Scopes
leggi, estrai, descrivi (read, extract, describe)

Standard

price on request

Quota
20,000 pages per month per persona
Limit
60 requests per minute per persona
Term
365 days
Scopes
leggi, estrai, descrivi (read, extract, describe)

Enterprise

price on request

Quota
500,000 pages per month per persona
Limit
300 requests per minute per persona
Term
365 days
Scopes
leggi, estrai, descrivi (read, extract, describe)

The quotas and limits above are the ones the service actually enforces, not a brochure. Price on request applies to all three plans: it is agreed with Agile together with the expected volume and the service level. Past the quota the licence does not break: it answers quota_superata, with the month's count in dettaglio. The per-minute limit is counted per clock minute, not over a sliding window: across a minute boundary up to twice the stated number can go through within a few seconds.

Whose ceiling it is, the plan says — and every card's cell above writes it. A licence declares its personas — the digital persons you call for, one per customer or department, chosen by the administrator when the licence is created and sent on every request in the X-Persona header. On the paid plans the monthly quota is per persona and each one gets the whole ceiling stated above: two personas of the same licence do not eat each other's quota, and quota_superata reaches the persona that has used up its own, not the others. So the numbers on those two cards are not the licence's ceiling: a standard licence declaring five personas reads five times as much, one card's ceiling for each. On the trial plan, instead, the 500 pages of the month belong to the whole licence, however many personas are declared in it: a trial is a taste of the service and does not multiply by declaring personas, and once the licence's quota is used up the next page gets quota_superata whichever persona asks for it. The per-minute limit is per persona on every plan, the trial plan included: it is not a consumption ceiling but a defence of the service against a caller that runs. The invoice sums per licence on every plan, and GET …/uso carries the licence total with a line per persona next to it, each with its own consumption and with the remainder that decides the 429. If you want different ceilings for two of your customers you need two licences: within one licence the personas share the same ceiling. Details in API.md, the digital persona and the quota.

The per-minute limit is a ceiling on you, not a reserved seat. The work seats — how many documents the service keeps in progress and how many it keeps waiting — belong to the service and are shared with every other customer: the queue does not know whose job it is. So coda_piena (503) can reach you because of another customer's traffic, with your quota untouched and on your first request of the minute. It is not a fault and it costs you no quota: it is a 503 and you retry, with a doubling wait. Measured live on 3 Oct 2026 with two real customers: the second one, which had made a single request, got coda_piena in 55 ms without consuming quota, and the door stayed shut for 18.6 seconds, the time of the jobs ahead of it. Since 11 Oct 2026 a caller — a licence with its persona — holds no more than 8 of the 32 waiting seats: beyond that it gets troppi_lavori_in_attesa (429), without consuming quota, and the seat stays free for the others. And all the personas of one licence together hold no more than 16: shutting the door on you now takes at least two customers at their ceiling together, not one, however many personas it has. Details in API.md, limits and rules.

API documentation

The contract is versioned and published: api.agilepixel.agile.software/openapi.json (OpenAPI), the integrator's guide is in API.md, and the interactive pages live at /documentazione. Take the contract from that name, and the link spells it out: it declares no base of its own, so its base is the name that served it — and the product routes exist only there. Errors carry a stable name (for instance chiave_sconosciuta, quota_superata, nessun_motore_disponibile): you program against the name, not against the prose.

One call

curl -X POST https://api.agilepixel.agile.software/v1/documenti/estrai \
  -H "Authorization: Bearer <key>" \
  -F "documento=@bill.pdf" \
  -F "tipo=bolletta_luce"

The response

{
  "lavoro": "lav_9f2c41d7a3b05e62",
  "motore": "motore-1",
  "pagine": 2,
  "ms": 1840,
  "ms_fronte": 1902,
  "campi": {
    "pod":                  "IT001E12345678",
    "periodo_dal":          "2026-07-01",
    "periodo_al":           "2026-08-31",
    "consumo_totale":       412.0,
    "totale_da_pagare":     118.34,
    "potenza_impegnata_kw": null
  },
  "confidenze": {
    "pod":                  0.99,
    "periodo_dal":          0.98,
    "periodo_al":           0.98,
    "consumo_totale":       0.97,
    "totale_da_pagare":     0.96,
    "potenza_impegnata_kw": null
  },
  "da_verificare": ["potenza_impegnata_kw"],
  "motivi": { "potenza_impegnata_kw": ["potenza_implausibile"] }
}

The last field is the point: the engine had read a contracted power impossible for a domestic supply, so the service zeroes it and says so instead of handing over a plausible wrong number. The same call on /v1/documenti/leggi returns the text, on /v1/immagini/descrivi the description.

The invoice

Besides the utility bill, /v1/documenti/estrai reads the Italian invoice and returns nine fields: VAT number and tax code of supplier and customer, number and date, taxable amount, VAT and total. You ask for it with tipo=fattura or with only the invoice names in campi; a digital PDF that is not a bill and carries the words of an invoice is also recognised on its own, and the response says so in tipo_riconosciuto. VAT numbers, tax codes and the sum of the three amounts are checked: what does not add up comes out with a named warning, and the value stays as read, neither corrected nor invented. Calls on bills do not change. How often it gets it right we state on invented invoices, never as a figure on real ones. What to do with the invoice is up to your accounting system, not us.

Keys and usage

The tenant governs its own keys at /console/licenze: issue, rotation with a 24-hour grace period on the old key (time to update your systems without a minute of downtime) and immediate revocation. Consumption is read from /console/licenze/{id}/uso, month by month, in pages and images.

Where they answer, today: since 12 Nov 2026 it is decided that the seven /console/… routes answer from the internet too, on the API name api.agilepixel.agile.software, to whoever carries the tenant token (X-Gettone-Tenant): the customer creates, lists, rotates and revokes the keys of its own users by itself, without going through the Agile administrator. They answer from the internet once the release is done by Agile operations; until then the keys of an outside tenant are issued, rotated and revoked by the Agile administrator on request. Whoever gets the token wrong is slowed down per address: after 10 wrong tokens in 10 minutes the console answers 429 with the time to wait. The /admin/… routes stay on Agile's own network: on the public name /admin/… returns 404, just like a path that does not exist. What is open from day one is the service you pay for: /v1/…, /health and the contract.

Comparison with the leader

We measure ourselves on a two-arm bench: the same pages go through our engine and through the market leader, and the fields are compared against ground truth. The cells below are filled by the bench: no quality figure is hand-written on this page, and while a measurement does not exist its row is not published: a row enters the table when it has been measured on both arms. The yardstick and the targets are public in our target document; figures and list prices published by third-party vendors are not passed off as our own measurements, and are not put in the table.

Two rows carry a figure that exists under two metrics, and the cell says which one. The character error rate can be counted by pairing the expected cell with the block the reader returned, or with the most similar window inside that block: it is the same reading of the same pages, and the two counts do not resemble each other, because the block is the unit of whoever reads and not the cell on the paper. In the table we publish the window metric, applied to both arms — comparing our figure under one metric with the leader's figure under the other would compare two different things — and the cell's tag says the metric and carries the other one's figure beside it. A report that declared one metric and kept quiet about the other does not fill the cell, and the row is not published. The thresholds for this error are the ones in our target document, and when a measurement does not meet them we write that here instead of moving them.

Critical fields of the Italian utility bill, same page set, same ground truth.
MetricAgilePixelLeader
Critical fields exact — digital PDFs 100.0 %14 Nov 2026 · vista-1 93.8 %16 Oct 2026
Critical fields exact — scans and photos 99.8 %14 Nov 2026 · vista-1 93.4 %16 Oct 2026
«Confidently wrong» errors 0.0 %14 Nov 2026 · vista-1 0.0 %16 Oct 2026
Fields returned as to be checked 0.4 %14 Nov 2026 · vista-1 0.0 %16 Oct 2026
POD, PDR, tax code, VAT number (check digit) 100.0 %14 Nov 2026 · vista-1 87.6 %16 Oct 2026
POD, PDR, tax code, VAT number «confidently wrong» 0.0 %14 Nov 2026 · vista-1 0.0 %16 Oct 2026
Character error rate — PDFs 0.2 %window metric, block metric 39.0 % · 14 Nov 2026 · vista-1 0.6 %window metric, block metric 1.2 % · 12 Oct 2026
Character error rate — photos 10.6 %window metric, block metric 12.0 % · 14 Nov 2026 · vista-1 10.5 %window metric, block metric 12.0 % · 12 Oct 2026
F1 F2 F3 band table reconstructed 100.0 %14 Nov 2026 · vista-1 100.0 %16 Oct 2026
Wait per document, ninety-fifth percentile 29.9 s14 Nov 2026 · vista-1 7.5 s16 Oct 2026

agilepixel: measured on 14 Nov 2026 on 100 pages (setA), code e1057ee, declared model vista-1
market leader: pages read on 12 Oct 2026, figures derived on 19 Oct 2026 on 100 pages (setA), code 579509e
market leader: measured on 16 Oct 2026 on 100 pages (setA), code b8dad50

One row in this table deserves a note, and it is the wait: there both figures are per document, ours and the leader’s. Our public target, instead, is the p95 per page, and on the leader’s side that figure exists only under two conditions. The first: that the vendor itself declares, in its own answer, how many sides it read — two of the three we measure do, the third has no place to say it, and inferring it ourselves would mean dividing their seconds by a number they never stated. The second: that their count matches ours on the same page, because a division has two sides — a vendor declaring one side more than the document has halves its own per-page wait without being one millisecond faster, and one declaring fewer makes itself slower than it is. Where either condition is missing we do not publish their per-page figure: that row compares per document, on the same pages. Our per-page p95 is published here, as our own measurement and not as a comparison: 29.9 s14 Nov 2026 · vista-1.

How to read it: synthetic pages only, never customer documents; ground truth is generated together with the pages, so it is exact to the cent; zero tolerance on amounts; the leader's arm runs on the same pages in the same round. When a row changes, it changes because the bench ran again.

Service status

The service is answering.

Engine
vista-1, vista-cpu
Engines ready
2/2
Queue
0 in flight, 0 waiting
Contract
1.4
Up for
1 day and 1 hour

The status above is the real one, read at the moment this page was composed, from the very same /health our own systems use. When no engine is ready the service says so: there is no courtesy «all good» here.

Request a licence

Leave us two lines: we answer at the address you give, with the plan that fits your volume and the price. We ask only for what is needed to answer.

The form works without JavaScript. The service answers with a request number: keep it, it is the reference for your case. There is a per-network-address rate limit, to keep the bots out.