Papaya reads your production runs and the code behind them. It follows each problem to its cause and checks every finding against your runs before you see it.
200+ research-backed analyses are one part of that work, and we keep adding to them.
Traces and code, read together.
Most tools stop at the trace. Papaya keeps going until it can point at the line to change.
Every call, tool result, retry and answer across your production runs. This is where problems show up.
The prompts, tool code, model settings and loop behind those runs, at the version that produced them.
Each problem followed to its cause, checked against your runs, and ranked by what fixing it is worth.
Each part has its own analyses, based on current research into how agents fail and what makes them cheaper and faster.
Did the agent read every page, email and attachment it needed? Do the values it wrote match them?
Instructions that contradict each other, repeat on every step, or promise rules the code never enforces.
What you send the model versus what it uses: missing facts, extra bulk, and facts buried where the model misses them.
Which model each step uses, how much it reasons, and its token limits. Too much where it isn't needed, too little where it is.
Wrong tools, bad arguments, failures that look like success, and tools that return far more than the agent uses.
Hand-offs that drop context, sub-agents that redo the parent's work, and steps that could run side by side.
Whether your prompt cache actually hits, and the line of code that keeps breaking it.
Checks that run every time but miss real failures, and risky actions with no check at all.
Whether the task actually got done, not just whether the agent said so, and what users asked for that it couldn't do.
Some causes never show up clearly in a trace. A cache that never hits, a rule nothing enforces, a failure dressed up as success. Reading the code finds them.
The date changes on every call, so the long prompt after it is never served from cache.
The description promises live data. The code returns yesterday's copy, and 0 when the account is missing.
Nothing in the code stops a $900 refund. The limit only holds if the model remembers it.
An email lands in the instructions, so whoever writes it can steer the agent.
Each lookup waits for the one before it. Running them together cuts the wait to the slowest call.
The same failing call repeats with nothing changed and no limit, burning tokens until the run times out.
When the API is down, the agent sees “no orders” and tells the customer they have none.
Every finding comes with the runs that show it and, when your code is connected, the line behind it.
Pages or attachments that never reached the model.
The fact was in front of the model and still came out missing or wrong.
The answer depended on a rule no input contained.
Numbers, dates or IDs written down that no document supports.
A file says one thing, the database another, and the agent quietly picks one.
Comments, tracked changes or hidden sheets the reader threw away.
Two rules that can't both hold, so runs split on which one wins.
Similar requests handled differently because a rule is vague.
The same text resent on every step of a run.
A limit set early that later steps no longer see.
One-off flows that come up often enough to standardize.
Failed runs lack a field that good runs had.
Text sent on every call that never shapes an answer.
So much context that key instructions get ignored or cut off.
Facts the answer needs, lost deep inside a long prompt.
Old turns and every tool description resent each time.
Shortening the history removed something a later step needed.
Acting on remembered details that have since changed.
Retrieved text that doesn't fit the question crowds out what does.
A large model on easy steps, or a small one failing hard ones.
High effort on steps where low effort gives the same answer.
Most requests would succeed on a cheaper model, with a step up when needed.
Output stops at the token limit before it's finished.
Several tries per step with no better result than one.
JSON that fails to parse and needs a repair call.
The right tool used the wrong way, or the wrong tool for the job.
The same failing call repeated with nothing changed.
Thousands of tokens back when the agent uses a few fields.
Calls whose result never affects the next step.
The same sequence of calls, every time, in the same order.
Calls that stall or get throttled with no backoff.
Changes made with no confirmation and no way to undo.
A sub-agent lacks a fact the parent had, and guesses or asks again.
Sub-agents repeat lookups the parent already made.
Small tasks handed off when the parent could do them inline.
Independent steps waiting on each other.
Runs that go until they hit a limit rather than until they're done.
Runs that resume after an approval with missing or old details.
Changing text placed before the reusable part breaks the cache.
Paying to write the cache, then calling after it has expired.
One run fetching the same result more than once.
Cached answers served after the data changed, or across users.
Checks that always pass, including on runs that went wrong.
Nothing stands between an error and what it affects.
Results the next step or caller can't use as returned.
Statements nothing in the inputs or tool results supports.
Something failed mid-run, and the final answer looks fine.
Missing information that should have changed the answer didn't.
The agent reports success while the work actually failed.
Questions the agent could have answered with a lookup.
Whole kinds of runs that nothing tells you are working.
Your evals never cover the problems production hits.
What users keep asking for that the agent has no way to do.
Spend by workflow and step, so fixes go where they pay.
The steps behind your slowest runs, not just the average.
A short list of fixes, ranked by what they're worth. Each one shows its evidence, the code to change, and how to test it.
Which workflow, which part of the agent, and what goes wrong.
Open any of them and jump straight to the step.
Quality, cost and speed, each shown on its own.
42 + return policy.section("fees")
The file and line behind it, and a pull request if you want one.
What we ruled out first, and how to test the fix before you ship.
Papaya is continuous optimization for AI agents. It analyzes your production traces, finds the changes that improve quality and latency and reduce cost, ranks them by expected impact, and helps you ship them.
Observability shows you what happened in each run. Papaya looks across thousands of runs to find recurring failures and waste, estimates what each fix is worth, and recommends the change, with the exact runs behind it as evidence.
Papaya runs 200+ research-backed analyses across prompts, context and memory, retrieval, tools, sub-agents, configuration and model routing, caching, and more.
Wrap any LLM or agent client with one line of code using the Papaya SDK, connect Papaya to your observability tool, or share a dataset or raw export in any format. Papaya detects the shape of the data automatically.
No. Trace collection is asynchronous, so Papaya never sits in your agent's request path.
No. Every change is human-in-the-loop. You review the evidence and choose which fixes to implement; Papaya can open a pull request for the ones you approve and send alerts to Slack when it finds new improvements.
You don't need to integrate anything first. Share traces from one workflow in whatever form you have, even a raw export, and you get back a ranked set of improvements with the evidence behind each one and what every fix is worth in quality, latency, and cost. Your first analysis is on us.
See the pricing page for current plans and limits.
Papaya is backed by Y Combinator, Engineering Capital, and Everywhere Ventures.