00 // Ready-made infrastructure for AI pipelines

The run succeeded.
The work didn’t.

They returned a value. Nothing raised, nothing retried, the exit code was 0 — and the answer was wrong. You find out from a customer, two weeks later, and the smallest thing you can re-run is the whole batch.

Papayya grades every item, keeps the input that produced it, and lets you re-drive the one that broke.

30 minutes. It runs in your cloud.

tag_ticketssample data · 1,000 items

1,000 items

30 didn't work.

ticket_8357umbrella

Nothing raised. Nothing retried.

The output was an empty object.

output
{} empty_response
ran
completed
worked
degraded
cost
$0.0025
01 / queue02 / worker03 / grade every item

sample data · ticket_8357 is in the table below

01 // Inspect the run

sample data · the interaction is the product's

Here are
the thirty.

One run of tag_tickets. A thousand tickets, four tenants. The run exited 0. 30 of them did not work — and 21 of those finished cleanly and returned a wrong answer, so nothing raised and nothing was retried. Filter it. Re-drive one.

Items in the run

1,000

Worked

970

Need a person

30

Estimated run cost

$2.20

ItemTenantRanWorkedCostAction
ticket_8168openai.rate_limitacmecompleteddegraded$0.0021
ticket_8187openai.rate_limitinitechcompleteddegraded$0.0020
ticket_8209tool.invalid_inputumbrellafailedfailed$0.0021
ticket_8268openai.rate_limitinitechcompleteddegraded$0.0025
ticket_8269tool.invalid_inputacmefailedfailed$0.0020
ticket_8357empty_responseumbrellacompleteddegraded$0.0025
ticket_8368openai.rate_limitinitechcompleteddegraded$0.0019
ticket_8402provider.timeoutglobexfailedfailed$0.0025
ticket_8417empty_responseglobexcompleteddegraded$0.0022
ticket_8431tool.invalid_inputinitechfailedfailed$0.0021
ticket_8451empty_responseglobexcompleteddegraded$0.0021
ticket_8459tool.invalid_inputinitechfailedfailed$0.0019
ticket_8466schema_violationglobexcompleteddegraded$0.0019
ticket_8474schema_violationacmecompleteddegraded$0.0019
ticket_8510openai.rate_limitglobexcompleteddegraded$0.0018
ticket_8576provider.timeoutglobexfailedfailed$0.0024
ticket_8587schema_violationumbrellacompleteddegraded$0.0026
ticket_8621schema_violationglobexcompleteddegraded$0.0023
ticket_8694empty_responseinitechcompleteddegraded$0.0024
ticket_8735schema_violationglobexcompleteddegraded$0.0019
ticket_8810tool.invalid_inputglobexfailedfailed$0.0019
ticket_8860openai.rate_limitinitechcompleteddegraded$0.0025
ticket_8938provider.timeoutglobexfailedfailed$0.0021
ticket_8942openai.rate_limitacmecompleteddegraded$0.0024
ticket_8977empty_responseacmecompleteddegraded$0.0022
ticket_8991schema_violationglobexcompleteddegraded$0.0020
ticket_9011schema_violationumbrellacompleteddegraded$0.0023
ticket_9037empty_responseumbrellacompleteddegraded$0.0018
ticket_9051provider.timeoutinitechfailedfailed$0.0025
ticket_9056openai.rate_limitinitechcompleteddegraded$0.0026
30 of 1,000 shown$2.20 — estimated from your rate card, not a bill

02 // The infrastructure, already built

The scaffolding,
already built.

Queue, retries, per-item state, per-tenant cost — the scaffolding you were going to write around your pipeline anyway.

Developer resources
  • Queue
  • Retries
  • Per-item state
  • Per-tenant cost
  1. 01Grade

    Ran and worked, two facts.

    Every item is graded as it finishes. Whether it ran and whether it worked are recorded separately, so a wrong answer that exited 0 lands in the work list.

  2. 02Keep

    The input that produced it.

    Every item keeps its own id, its input, its outcome and its cost, per tenant. You can name page 73, not just the document it came in.

  3. 03Re-drive

    Only the one that broke.

    Re-driving an item reuses the steps that already worked instead of recomputing them. Nothing downstream moves that did not need to.

  4. 04Run it

    In your cloud.

    A decorator on the function you already have, not a re-architecture. The whole stack runs in infrastructure you own.

03 // A real call · measured, not imagined

A 150-page report. Page 73 came back blank.

This is a real call, and the numbers are measured rather than imagined. What changes is not the speed — it is whether there is anything smaller than the document to ask about.

The pipeline they have

Re-run the document

150page executions

page 73 is degraded · there is no smaller unit to re-run

Two days in the queue. The other 149 pages written downstream a second time.

On Papayya

Re-drive page 73

150page executions

page 73 is degraded · it is an item with its own id

40 seconds. $0.002. Nothing downstream moves that did not need to.

counts are measured · timing is not to scale

Executed to fix one page

1page

Steps reused

149

Recovery, this case

40sec

Cost, this case

$0.002

150 pages · 300 page executions to fix one · vs 1 executed, 149 reused

An agent is the same shape. Turn 18 fails. You pay for turn 18, not turns 1 through 17.

What that saves, measured

Start with your workload

See it run on your own workload.

Thirty minutes, in your cloud, against a batch you already have.

Book a demo