Skip to content

For AI agents

Ask your agent where Latimal fits

Point Claude Code, Codex, Cursor or any other coding agent at agents.md, a plain markdown brief written for agents. Your agent reads your codebase against it and tells you where Latimal fits and how to start.

112 use cases, led by food search, cuisine tagging, same-dish matching and cart add-ons. Latimal leads all four production search tasks and places first overall of 10 systems on FoodEval.

Fig. 01Prompts to paste into your agent
Read all of https://latimal.com/agents.md (if your fetch tool summarizes pages, download it with curl first). Then tell me where Latimal fits in this codebase, including less obvious fits from its use-case index. Cite files, then suggest a first step.

Or hand it the file

https://latimal.com/agents.md

What your agent reads

Plain markdown, about 74 KB (roughly 18k tokens or more, depending on the tokenizer), written to be scanned by an agent, plus two deep files it opens when it needs them: the full use-case catalog and the integration recipes. Every benchmark number carries its source label.

Ten from the catalog

  • A1Search inside a restaurant's menucore
  • A5Cuisine filters, browse tiles and restaurant tagscore
  • A6Same-dish price comparison and merchant pricing guidancecore
  • A9Checkout upsell for every merchantcore
  • C7Online ordering, kiosk and QR search and add-ons for every merchantcore
  • B1Intent search over ready meals, deli and hot foodcore
  • D2Voice ordering: phone, drive-thru, kiosk, smart speakerstrong
  • G1Multilingual in-room dining search and conciergecore
  • F8End-to-end price intelligence for scrape-and-match vendorscore
  • H2Delivery payout and POS reconciliationstrong
See all 112 use cases

Sections in agents.md

  1. 00Agent quickstartEvidence, the fit test, decision rules and a condensed template
  2. 01What Latimal isHow it sits in a stack
  3. 02What it does wellSearch first, labeled benchmarks, and how it compares with what your code does today
  4. 03Facts at a glanceBase URL, auth header, limits, errors, published latency with its load, data handling
  5. 04How to evaluate fit in a codebaseGrep kit, signal map, decision rules, questions to ask you
  6. 05Endpoint guideSearch, classify, match, suggest, dedup, report, embed: inputs, outputs, limits, one example each
  7. 06Use-case indexOne line per use case in 11 groups, from delivery to fintech
  8. 07Recipe indexR0 to R15, one line each; code in agents-recipes.md
  9. 08What to pair it withLatimal and your stack side by side, market and language notes, data handling, evidence rules
  10. 09Try it without codeThe playground tools available today, guides and concepts
  11. 10How to present your recommendationThe template your agent fills in
  12. 11The two deep filesWhat agents-use-cases.md and agents-recipes.md hold

What happens next

Your agent works in four steps and comes back with a recommendation you can check line by line.

  1. 01

    Reads agents.md

    Endpoints, limits and the use-case index, then the entries and recipes it cites.

  2. 02

    Greps your code

    Keyword search over menu names, fuzzy matching, cuisine keyword maps, hard-coded upsell rules, generic embeddings over dish text.

  3. 03

    Asks what the code can't answer

    Catalog size, languages, where dietary data comes from.

  4. 04

    Recommends, with file paths

    Where Latimal fits, which endpoints, what stays in your stack and a small first step behind a flag, then an offer that matches the verdict.

What comes back

Sample output from the template in section 10. Your agent fills it from your code: real paths, the catalog entries that match and the evidence line for each endpoint.

Verdict
The call, then each fit point ranked by impact with its file, endpoint, catalog entry and evidence
Context
Less obvious fits from the catalog, what stays in your stack and the pairings that apply
Steps
Questions the code can't answer, three small reversible steps to a first comparison, and the offer that matches the verdict

acme-eats is a made-up repo. The evidence lines carry the numbers and labels from section 0 of agents.md.

Fig. 02A recommendation for a sample repo
acme-eats
## Where Latimal fits in acme-eats

Verdict: Strong fit for menu search, price parity and add-ons.

### Fit points (ranked by impact)
1. Menu search at `api/search/menu.ts:42`: today it matches dish
   names with ILIKE and a synonym file.
   - Latimal endpoint: `/search` (+ `/embed` cache) | Catalog entry:
     A1
   - Expected effect: descriptive and misspelled queries return
     ranked results; the synonym file retires. R10 or an A/B test
     measures the business effect.
   - Evidence: Production benchmark, search (NDCG@10): 0.869 vs
     0.455 overall; Food search 0.938 vs 0.590.
2. Price parity at `jobs/price_parity.py:88`: today it pairs items
   with rapidfuzz. -> `/match` | Catalog entry: A6
   - Evidence: FoodEval, noisy menu matching: F1 0.916 vs 0.822 for
     a lexical TF baseline; we'd confirm `/match` on our own pairs
     with R10.
3. Checkout add-ons from `UPSELL_RULES` in `api/cart/addons.ts` ->
   `/suggest` | Catalog entry: A9
   - Evidence: an A/B test against today's add-on slot.
Fig. 02A recommendation for a sample repo
## Where Latimal fits in acme-eats

Verdict: Strong fit for menu search,
price parity and add-ons.

### Fit points (ranked by impact)
1. Menu search at
   `api/search/menu.ts:42`: today it
   matches dish names with ILIKE and
   a synonym file.
   - Latimal endpoint: `/search` (+
     `/embed` cache) | Catalog
     entry: A1
   - Expected effect: descriptive
     and misspelled queries return
     ranked results; the synonym
     file retires. R10 or an A/B
     test measures the business
     effect.
   - Evidence: Production benchmark,
     search (NDCG@10): 0.869 vs
     0.455 overall; Food search
     0.938 vs 0.590.
2. Price parity at
   `jobs/price_parity.py:88`: today
   it pairs items with rapidfuzz. ->
   `/match` | Catalog entry: A6
   - Evidence: FoodEval, noisy menu
     matching: F1 0.916 vs 0.822 for
     a lexical TF baseline; we'd
     confirm `/match` on our own
     pairs with R10.
3. Checkout add-ons from
   `UPSELL_RULES` in
   `api/cart/addons.ts` ->
   `/suggest` | Catalog entry: A9
   - Evidence: an A/B test against
     today's add-on slot.

Prefer to look before you hand it over?

agents.md is written by Latimal. Your agent can check the API facts against the docs and every figure against the published benchmarks.