Build the Builder

Build an AI agent that builds other agents on Freya.

First place gets a Combinator interview.

October 10 and 11, online. Solo or in teams of two.

You build an agent.It builds an agent.We test that agent.

What this is

A bank has customers who are late on a payment. It wants to phone each of them, check who is on the line, say what is owed and record when they will pay. On Freya, software makes that call instead of a person.

Phone agentYour credit card has 420 dollars past due. Can you pay today?

CustomerNot today. I can do it on Friday.

Phone agent420 dollars on Friday the sixteenth. Do you confirm?

CustomerYes.

create_promise 420.00 2026-10-16recorded in the bank's system

A piece of one call. The last line is what the bank's system keeps. We check that record, and we check the conversation.

That software does not know the bank's rules by itself. Someone has to read the bank's specification and build the caller to follow it: never mention the debt before the identity check, never accept a promise on a holiday, say nothing to a relative. Today a person does this by hand, and one bank takes days.

The question of this hackathon: can a program do that work instead?

Three words used on this page

Phone agent
The software that talks to the customer. It lives on Freya as a workflow: steps, prompts and tools.
Brief
The bank's specification for these calls: who to ask for, how to check identity, which payment dates are allowed, how to close the call.
Builder
The program you write. It reads a brief and creates the phone agent. Nobody edits the phone agent by hand.

You write the builder. We score the phone agent it creates.

Brief policies tool API docs practice customers Your builder reads the brief creates the phone agent tests and improves it the part you write Phone agent a workflow on Freya conditional routes tool calls Our benchmark simulated customers talk to the phone agent we read the bank's records score = cases passed / cases run A new brief goes in, a different phone agent comes out, no edits by hand.
One practice run. You write the orange box. Everything else is provided.

How the weekend goes

  1. You download the kit from the Data tab. Two briefs, the bank's tool API, thirteen practice customers, the Freya workflow reference and a small working builder.
  2. You run the sample builder. It creates a phone agent on Freya in your workspace.
  3. You test that phone agent. Simulated customers talk to it in text. You see which ones it handled correctly and why the others failed.
  4. You write your own builder on these practice calls and repeat steps 2 and 3 as often as you like.
  5. On Sunday at 17:00 UTC (20:00 Istanbul) the final case opens. It is one case: Freya Bank's credit card statement-debt line, in Turkish. A different call from the practice. You download a zip of the bank's own documents from the Submit tab or the e-mail we send.
  6. You write a mock of the bank's services on Cloudflare Workers and run your builder on the documents. By 20:00 UTC (23:00 Istanbul) you submit the phone agent it created, with the builder's trace.
  7. We test that phone agent with simulated customers you never see, and review the workflow. Its tools call your mock, so a wrong or unreachable mock fails those conversations.
StartSat 10:00 UTCkit and keys build against the 13 practice cases Final case opensSun 17:00 UTC(20:00 Istanbul)download the zip CloseSun 20:00 UTC(23:00 Istanbul)submit Resultsafter review StartSat 10:00 UTC · kit and keys build against the 13 practice cases Final case opensSun 17:00 UTC (20:00 Istanbul)download the zip CloseSun 20:00 UTC (23:00 Istanbul)submit Results after review
The three hours in orange are for running your builder on the final case and fixing bugs, not for tuning it to that case.

What counts

  • Only the final phone agent is scored. The builder's trace is not scored. We read it to check that nobody edited the phone agent by hand.
  • The builder must work alone. One command, the bank's documents as input, a phone agent as output. No manual edits after it runs.
  • The final case stays closed until Sunday 17:00 UTC so that a builder tuned to the practice briefs does not win. It has to read material it has never seen.
  • After the final case opens you may fix a bug in your builder. You may not write anything from the final case into it: no rule, no value, no name. Fixing a crash on a file type your builder did not expect is allowed. Adding the bank's announcements or field names to your code or prompts is not.
  • Practice calls are in English, the final case is in Turkish. The phone agent gets the date and time of the call as a variable, now. Every date rule uses it.
  • Every phone agent runs on the same model, Freya LLM. Your builder may use any model or coding agent you like.

Inside a phone agent

A phone agent on Freya is a workflow. Each step has its own prompt and tools. Conditional routes decide which step takes the conversation next. Calculations such as business days can run as code instead of being left to the model.

ififififififif
one stepa tool it callsa route with a condition
What a phone agent can look like inside. The labels are left out on purpose: how many steps, which routes and which tools is the design problem your builder solves.

Thirteen practice cases and the kit

Everything here is synthetic. The bank, the customers, the debts and the payments do not exist.

Download the kit (version 3)

Unzip it and read README.md first. The kit has a version number in its file name and at the top of README.md. To run it you need a Freya API key. Create one in your Freya workspace under API keys.

The final case is not in the kit. It opens on Sunday at 17:00 UTC (20:00 Istanbul) on the Submit tab.

FileWhat it is
briefs/brief-a.mdFreya Bank's specification for customers who are late on one product. 47 rules.
briefs/brief-b.mdThe extra rules for customers with up to three products. Builds on Brief A.
tools/openapi.jsonThe bank's tool API that the phone agent calls. Seven tools: verify_identity, get_account, create_promise, add_note, schedule_callback, transfer_to_agent, close_call.
public-test-set.jsonThe thirteen cases below: who the customer is, what they do and what the bank's records must show afterwards.
docs/The Freya workflow format, tools and code nodes, and the API calls a builder needs. Written for a program to read.
freya.pyA small client for the Freya API. Creates a workflow once and updates it on later runs. Standard library only.
examples/base-agent.jsonAn example phone agent: two steps, four tools. The same one that is in your workspace. A place to start, not a good score.
examples/agent_builder.pyAn example builder on the Claude Agent SDK with one skill. Claude reads the brief, builds the agent, tests it and fixes what fails.
env.exampleThe two keys you set: your Freya API key, and a team key you make up for the practice bank.
tools/run_cases.pyRuns the practice cases against your phone agent and prints pass or fail per case, with the reason.

How one practice case runs

Simulated customer follows the case script text, not audio The phone agent your builder made Mock bank API identity, debts, promises we host it Ledger every call and its result Scorer pass or fail per case conversationtool calls final statetranscript
The mock bank API stands in for the bank's own systems. The phone agent calls it to check identity, read the debt and record a promise. We host it, so we can see what was really recorded. The scorer reads that record, not what the phone agent says it did. You pick a team key, and your practice sessions and their records belong to that key.

Practice cases

Ten cases use Brief A and three use Brief B. Every case runs on Wednesday 14 October 2026 at 11:00, so the dates are fixed. Select a row to read the customer script and the checks. Download JSON

CaseBriefFamilyWhat happensLevel

The final: one case, customers you never see

The final is one case: Freya Bank's credit card statement-debt line, in Turkish. You submit one phone agent for it.

We load the workflow JSON you submit into our own workspace, test it with simulated customers you never see, and review the workflow. During these conversations its tools call your mock, so a wrong or unreachable mock fails them. Keep it running until the results are out.

Your builder's trace is not scored. We read it to check that the phone agent came out of your builder and was not edited by hand.

We do not publish the test customers, the success criteria or how the parts are weighted. The six example conversations in the final zip show the kind of call we test with.

How a practice case is scored

This is how the kit's scorer judges the thirteen practice cases. A case is one simulated customer. It passes only when three checks all pass. There is no partial credit.

The bank's API does not enforce the brief. It records a promise on a holiday or below the minimum without complaint. Keeping the rules is the phone agent's job.

Outcome Is the ledger in the right state? Promise on the right product, date and amount, recorded once. Policy Did it stay inside the brief? No debt read before the identity check, no date past the limit. Honesty Did it tell the customer the truth? Never says "recorded" when the tool call failed. andand
Outcome is read from the bank's records. Policy and honesty are read from the transcript by a judge model, against the checks listed in each case.
A correct refusal counts. When the customer disputes the debt, the passing outcome is a recorded dispute and no promise. A phone agent that pushes for a promise anyway fails.

Score yourself

The kit includes the scorer. Point it at a phone agent and it runs the practice cases and prints, for each one, the tool calls the phone agent made and why it failed.

$ python3 tools/run_cases.py <agent_id> --brief A

PASS PUB-01 easy   Happy path   | verify > verify > get_account > promise > close_call
FAIL PUB-04 medium Dates        | verify > verify > get_account > promise > close_call
       - promises [('p1', 1250.0, '2026-10-27')], expected [('p1', 1250.0, '2026-10-23')]
...
5 / 10 passed

The printout shortens two tool names: verify is verify_identity and promise is create_promise.

A ten-case run takes 3 to 11 minutes. One simulation runs at a time per workspace, and a team has one workspace. The same phone agent can pass a case in one run and fail it in the next, so run more than once before you trust a score: --reps 3 counts a customer only when every run passes.

The final: one case, three hours

The final is one case. In three hours you turn the bank's documents into a phone agent, with the builder you already built.

The final case's download link appears here on Sunday at 17:00 UTC (20:00 Istanbul). We send it by e-mail at the same time.
1The evidence 2Agent construction 3Evaluation The bank's documents one zip, Sun 17:00 UTC analysisflow drawingannouncementsservice contracttest customersquestions and answers6 example conversations in Turkish your side Your agent-builder reads the documents builds the phone agent tests and fixes it built on the practice Your mock the bank's services on Cloudflare Workers the agent's tools call it submits Final agent workflow JSON + trace Freya LLM Hidden simulated customers run by us, never shown talk to your final agentin our own workspaceits tools call your mockwe review the workflow the trace is read, not scored 1The evidence The bank's documents one zip, Sun 17:00 UTC, in Turkish analysisflow drawingannouncementsservice contracttest customersquestions and answers6 exampleconversations 2Agent construction your side Your agent-builder reads the documents, builds and tests the phone agent Your mock the bank's services on Cloudflare Workers; the agent's tools call it submits Final agent workflow JSON + trace Freya LLM 3Evaluation Hidden simulated customers run by us, never shown talk to your final agent in our workspace;its tools call your mock; we review the workflow the trace is read, not scored
We give the evidence. Your builder does the construction, against your own mock. We run the evaluation.
StartSat 10:00 UTCkit and keys build against the 13 practice cases Final case opensSun 17:00 UTC(20:00 Istanbul)download the zip CloseSun 20:00 UTC(23:00 Istanbul)submit Resultsafter review StartSat 10:00 UTC · kit and keys build against the 13 practice cases Final case opensSun 17:00 UTC (20:00 Istanbul)download the zip CloseSun 20:00 UTC (23:00 Istanbul)submit Results after review
The three hours in orange are for running your builder on the final case and fixing bugs, not for tuning it to that case.

Steps

  1. Download the zip at 17:00 UTC (20:00 Istanbul), from the link above or the e-mail. Read BRIEF.md first; README.md says what each document is.
  2. Write your mock of the bank's services on Cloudflare Workers, from the service contract and the test customers. Deploy it before you run your builder and keep it running until the results are out: our simulated customers reach it through your agent's tools.
  3. Run your builder on the folder and keep everything it prints: that is your trace. If your builder runs Claude Code, Codex or another coding agent, that agent's session log of the run is your trace. You may run it more than once. Submit the phone agent of one run, with that run's trace, and do not edit it after the run.
  4. Export the phone agent with freya.export_workflow and commit the file with the trace. We load it into our own workspace, so what you export is what we test.
  5. Before 20:00 UTC (23:00 Istanbul), e-mail three files to yavuz@freyavoice.ai: submission.json, the exported workflow and the trace. Keep the same files in your repo at the commit you name.

What you send

three files, all required submission.json team, members, repo, commit, mock_url final.workflow.json the phone agent, from freya.export_workflow the builder's trace the log of the run that made the agent Claude Code or Codex: its session log (.jsonl) one e-mail files attached to yavuz@freyavoice.ai before 20:00 UTC(23:00 Istanbul) Also: the same files in your repo at the commit you name, and your mock running on Cloudflare Workers until the results are out. three files, all required submission.json team, members, repo, commit, mock_url final.workflow.json the phone agent, freya.export_workflow the builder's trace the log of the run that made the agent Claude Code or Codex: its session log one e-mail files attached to yavuz@freyavoice.ai before 20:00 UTC (23:00 Istanbul) Also: the same files in your repo at that commit, and your mock up until the results are out.
$ python3 builder/build.py FreyaBank-Ekstre-Borc/ https://your-mock.your-subdomain.workers.dev 2>&1 | tee traces/final.log
{
  "team": "your-team-name",
  "members": [
    {"name": "Your Name", "email": "you@example.com"},
    {"name": "Teammate Name", "email": "teammate@example.com"}
  ],
  "repo": "https://github.com/you/your-builder",
  "commit": "9f2c1ab",
  "run_command": "python3 builder/build.py {case_folder} {mock_url}",
  "workflow": "submission/final.workflow.json",
  "trace": "traces/final.log",
  "mock_url": "https://your-mock.your-subdomain.workers.dev"
}

Solo teams list one member. The command and the paths are examples: use your own.

The builder's trace

The trace is the record of the run that made your final phone agent. It is required: an entry without it is not ranked. It is not scored. Plain text is fine; remove API keys before you send it. If your builder runs Claude Code, Codex or another coding agent, send that agent's full session log of the run (for example the .jsonl file of the session). It should show:

  • start and end time of the run
  • every model call the builder made: which model, and what it was asked for in one line
  • what it created on Freya: workflow id, agent id, number of steps and tools
  • any test it ran on its own phone agent, with the result

A reviewer reads every trace against your commit and the phone agent you submitted. For the top entries we may run your builder ourselves. An entry whose phone agent was edited by hand, or whose builder has the final case written into it, is removed.

Optional: if you used a coding agent such as Claude Code or Codex to write your builder, share those session logs too. The top three teams talk their approach through with us.

Limits

LimitValue
Phone agents you submit1, with the trace of the run that made it
Your mockOn Cloudflare Workers, up until the results are out. If it is down, the conversations that reach it fail.
Workflows per workspace200. Update one in place instead of creating a new one per run.
Models the builder may useAny. You pay for your builder's own model calls.
Model the phone agent runs onFreya LLM, the only model on staging and the one set in freya.py. The same for every team.

Leaderboard

Final results. The score is the simulation pass rate: each phone agent ran three times against the same 120 hidden customers on Freya LLM at temperature 0, and the average counts. The workflow review does not count.

Winner · goes to the YC interview

AYYA

Yaşar Delibaş · Alper Kabal

78.3/ 100

78.3% of the final cases passed · runs 92 · 92 · 98 of 120

2

Brief2Agent

Ahmet Kumas · Çağrı Kumaş

76.9/ 100

3

Efe Boyaci

Efe Boyaci

74.4/ 100

RankTeamRuns (of 120)Score / 100
4arda-berkArda Ege İsker · Berk Çiçek84 · 91 · 8973.3
5memory leakİrem Öztimur85 · 93 · 8673.3
6LaunchwayDemir Ekin Arıkan · Burhan Naci Ulusu88 · 86 · 8973.1
7LuphraAyman Mellouk87 · 90 · 8271.9
8<New Builders><Metehan Tirpan>88 · 84 · 8571.4
9ayaz-soloAyaz Elrico86 · 85 · 8671.4
10Ömer Faruk ÇörekciÖmer Faruk Çörekci81 · 89 · 8270.0

See all teams and the details of each score →

Rules

  • Enter solo or as a team of two.
  • You submit a builder. A hand-built phone agent on its own is not a valid entry.
  • The final phone agent must come out of the submitted commit with no manual edits.
  • Submit the trace of the builder run that made it. An entry without a trace is not ranked.
  • On the practice cases the phone agent may call only the tool API from the kit. In the final it calls only your own mock. A call to any other service fails the conversation.
  • Keep your mock running until the results are out.
  • Do not probe or load-test the platform. One Freya key per team.
  • You may fix bugs in your builder after the final case opens. Nothing from the final case may be written into it. A reviewer checks the commit for that.
  • All data is synthetic. Do not bring real customer data.

Prizes

PlacePrize
FirstYC interview
SecondAirPods
Top threeFinal interview with Freya
Prize pool$3,000 in Freya credits

Questions we were asked

I did not get the login mail.
Look in your spam folder first. Mail to Outlook, Hotmail and some university addresses was filtered. If it is not there, reply to us and we send it again.
Where is the kit?
On the Data tab: "Download the kit". Unzip it and read README.md first.
Where do I get a Freya API key?
Sign in with the account we mailed you, open API keys in the dashboard and create one. Put it in env.sh as FREYA_API_KEY.
My teammate has no account, or we have two workspaces.
Work in one workspace. Its owner invites the teammate from Workspace settings. If your teammate has no account at all, reply to us with the address.
A test call in the dashboard never passes identity.
Your workspace has one practice customer for dashboard test calls. Answer as that customer: date of birth 14 March 1988, last four digits 4471. After a call has closed, the same customer starts fresh once it has been idle for 5 minutes. run_cases.py opens a fresh customer for every case, so it is not affected.
How many workflows can a workspace hold?
200. Still, update your workflow in place instead of creating a new one per run.
Can my builder open practice customers of its own?
No. The practice bank serves the 13 cases PUB-01 to PUB-13 only. To check a phone agent on a brief with no cases, talk to it with POST /api/v2/chat/message (see docs/api.md).
Do we need a new builder for the final?
No. Give the final zip to the builder you built on the practice. During the three hours you may fix bugs in it, not write the final case into it.
How many cases are in the final?
One: Freya Bank's credit card statement-debt line, in Turkish. You submit one phone agent.
Does the final case come with practice cases for the scorer?
No. The zip has the bank's test customers, for your mock, and six example conversations. The customers we test with stay hidden.
Is the final case one file?
No. It is one zip with a folder of the bank's documents in Markdown, Word, PDF and Excel. In your run command, {case_folder} is that folder.
Do we host the bank's services for the final?
No. You write the mock on Cloudflare Workers, from the service contract and the test customers in the zip, and send its address as mock_url.
May I use code I wrote before the event?
Yes. Nothing from the final case may be in your builder, and the phone agent must come out of your builder with no edits by hand.
Is the score taken from the phone agent we submit, or from your rebuild?
From the phone agent you export and submit. We may rebuild the top entries, to check that the submitted phone agent really came out of your builder. Model output varies from run to run, so we do not expect an identical workflow.
My score dropped and I changed nothing.
The simulated customers and your phone agent are language models, so runs differ. A run also suffers when the model is busy: run_cases.py prints the slowest agent turn per call. Run again, and use --reps 3 before you trust a number.
Something else?
Reply to the login mail. It reaches us.