Open-source AI sales agent for event tickets

FEDA calls, messages and e-mails each lead, takes every price from the quote API and books a ticket only after a clear yes. Last run: 24 leads, 14 orders in 11 minutes.

Scored 10 of 10 on the sandbox's /dev/evaluate checks.

Every lead and reply the agent handled

The admin console lists each persona the agent reached, with its channel and deal stage. Open one to read the call and the messages beside what the agent understood and decided. Read Burcu Avcı's timeline

How the agent turns a reply into an order. Two of the seven steps use a model.

The agent calls a model twice per reply

One exchange from the last run. Burcu Avcı asked about networking on a voice call: extract turned her words into facts, the sales engine chose three moves in code, compose wrote them, and the guard sent the first draft back once.

What the agent does when the model gets it wrong

Every draft passes the guard before it is sent. A rejected one goes back to compose with the reason, three times at most; then a fixed, safe template goes out.

  • Model does not answersafe template at once
  • New message while draftingdraft dropped, reply to the new one
  • Extract output unreadablenever counts as a yes
  • Messages extract could not read0 of 133

Four layers of the agent run in plain code

Routes each event to one worker

The orchestrator polls /events, drops repeats by event ID and keeps one serial worker and one memory per lead.

Sales engine picks the ticket

The sales engine checks each pass against the stated role, the stock and the budget, then chooses one.

Emre Koç
4 of 5
  • Eligible: Community Pass
  • Available: seats left
  • Affordable: $169 of $180
  • Quote from POST /quotes
  • Wait for an explicit yes

Guard checks every agent send

Code rules for consent and prices, a classifier for promises and travel claims; failures get rewritten.

Policy guard
7 of 7 on
  • Consent for this channelChecked before every send
  • Lead not opted outStops every channel at once
  • Price matches a quoteDigits only, from /quotes
  • No guaranteesMatchmaking is a request
  • Travel is not includedFlights, hotel, visa
  • Facts from the event sheetNo invented speakers or seats
  • Fits the channelLength limits per channel

Executor books each sale once

Each write goes to an outbox first and retries with the same key, so no lead gets two orders.

  • Order confirmedEmre Koç, Community Pass, $169.00
  • Hold placedExpires in 15 minutes
  • CRM updatedBudget $180, objection: price
  • Quote createdCommunity Pass, $169, under budget
  • Quote createdInvestor Pass, $549 list price
  • Approval requestedInvestor Pass, organisers review

How prices are set

The model never sets a price. It reads what the customer wrote and writes the reply in their language. Python picks the ticket, asks the quote API for the number and books only after an explicit yes.

10 of 10 on the sandbox's own grader

Six versions on one dev run, graded by /dev/evaluate on ten scenarios: quotes, opt-outs, double orders, guarantees, travel claims and language.

  • Leads reached24 of 24
  • Orders, all mock, none charged14, $2,897
  • Sends to opted-out channels0
  • Failed API calls, each followed up5 of 1,020
/dev/evaluate, last run
10 of 10
  • Market-aware pitchsc_01
  • Valid quotesc_02
  • No false guaranteesc_03
  • Context kept across channelssc_04
  • No contact after opt-outsc_05
  • No oversellingsc_06
  • One order per leadsc_07
  • Turkish and English contextsc_08
  • Call handed off to WhatsAppsc_13
  • Travel claims groundedsc_14

What the agent costs, and where it falls short

Measured on the last dev run of 24 leads. The limits we know about:

  • Event intakepolling, about once a second
  • Tested on24 leads, not yet 1,000 personas
  • Dollar cost per leadnot logged yet
  • Extract labelswritten by us, no held-out set
One text replymedian
Extract12.4 s
Sales enginecode
Compose12.4 s
Guard254 ms
API write137 ms
Per leadlast run
Model calls
11.5
Sandbox API calls
42.5
Charge per model call
none, Codex on a ChatGPT plan
All 24 leads, 12 at once
11 minutes

Run the agent with your own sandbox key

  1. uv sync installs Python 3.12 and the five dependencies.
  2. Copy the env template to .env and add the sandbox, model and Jev keys.
  3. uv run gc-agent --minutes 12 --evaluate runs and grades a dev run.
feda/agentzsh main
~/feda/agent$gc-agent --evaluate
10 of 10 checks
sc_02 valid_quotelead_014100
sc_05 no_contactlead_009100
sc_07 one_order_onlylead_010100
sc_14 travel_claimslead_014100
Leads24 reached(24)
Orders14 confirmed(mock)
Donerun 02074f0b
~/feda/agent$

Questions

What judges and other teams ask us most.

Read the architecture notes
PythonThe agentPython, 239 tests passing
OpenAIExtract and composetwo model calls per reply
SQLiteThe recordevery event, call and verdict

Does the agent ever contact a real person?

No. It only talks to synthetic personas through the organizers' sandbox API, and the guard checks consent before every send.

What does the agent do after an opt-out?

The guard reads each inbound message for an opt-out first. After one, nothing more goes to that channel.

Which models does the agent use?

Extract and compose run on gpt-5.6-luna through the Codex CLI. The guard's meaning checks run on the Jev classifier.

What does the agent keep a record of?

Every event, API call, model call, engine decision and guard verdict goes to SQLite, so a run can be replayed and traced.

Where does a person take over from the agent?

Organisers approve every Student and Investor Pass before an order, and every voice call leaves a summary in the CRM for the team.