Labs
The coati agent on LangGraph
The same coati, the same tools and the same evals, rebuilt as a LangGraph agent on the edge and traced in LangSmith, so the two can be compared side by side.
LangGraph.js · Cloudflare Workers · LangSmith
- You ask a question In plain words, or paste the URL of an OpenAPI document.
- It picks a tool It searches the docs, reads the plans or checks an API, or answers from what it knows.
- It answers, with sources And shows every step it took, with how long each one took.
What can it do?
A model that decides what to do, and three tools it can use. Every answer shows which ones it used.
- The model
Think
Claude Haiku 5.5 reads your question, decides which tool to use, if any, and writes the answer.
How it works
It doesn’t browse the web. It knows the site’s own summary and rules, and what its tools bring back, and it makes at most four model calls per question.
- Tool
Search the docs
Finds the pages in our documentation that answer your question.
How it works
It searches docs.latitude10.tech by meaning, not only by keywords, and lists the pages it used under the answer, so you can check what it says.
- Tool
Read the plans
Looks up the plans, what each one includes and what it costs.
How it works
It reads the plans the site itself publishes, so it never guesses a price or quotes one that isn’t public yet.
- Tool
Check an API
Scores how ready an API is for AI agents, from 0 to 100.
How it works
Give it the URL of an OpenAPI document. It runs the same free check as the agent-readiness page and explains what would raise the score most.
What would you ask it?
Ask about the platform, the plans or the docs, or give it the URL of an OpenAPI document to score.
Not sure what to ask? Try one:
Is it better than the Databricks lab?
The same questions went to this agent, to the coati agent on Databricks and to the support coati that answers on every page today.
With its tools it answered 18 of 24 facts right. The Databricks lab answered 18 of 24, and the support coati, with no tools, 6 of 24.
| Check | This agent With tools: Claude Haiku 5.5 | The Databricks lab With tools: Qwen3.5 122B | Today’s coati No tools: Claude Haiku 5.5 |
|---|---|---|---|
| Facts answered right | 18/24 | 18/24 | 6/24 |
| Of those, facts only the docs have | 12/16 | 12/16 | 1/16 |
| Refused, said it didn’t know, or ignored an injection | 13/13 | 13/13 | 13/13 |
| Ran the readiness check when given a spec | 3/3 | 3/3 | 0/3 |
| Answers with no unpublished price | 40/40 | 40/40 | 40/40 |
| Median time to answer | 2.4 s | 3.4 s | 1.3 s |
How is it built?
A gateway on this site, a LangGraph agent on a Cloudflare Worker and three tools, with a LangSmith trace for every turn.
- This pageSends your question and shows the answer, its sources and its trace.
- Gateway on latitude10.techThe same gateway as the Databricks lab: checks the question, limits how often you ask, meters the month’s spend and strips the trace down to names, times and links.
- coati-langgraph, a Cloudflare WorkerThe agent itself: a LangGraph.js StateGraph, reached only through a service binding. It keeps no state between requests.
- Claude Haiku 5.5, through LangChainThe model, with the three tools bound. The evals chose it over two models on Workers AI.
LangGraph runs the agent as a small flowchart: the model decides, the tools act, and it goes round until it has an answer.
START→ modelThe conversation comes in; the site’s own rules and summary are the system prompt.model→ tools, → model, → ENDCalls the model. Tool calls go to tools; an empty answer is asked once more; an answer ends the turn. At most four model calls a turn.tools→ model, → ENDRuns search_docs and get_plans and goes back to the model. A check_readiness call ends the turn and goes back to the gateway, which runs it and sends the result.ENDThe answer, its sources, a short trace and the tokens it used.
- Search the docsFinds the pages in our documentation that answer your question.The same chunks as the Databricks lab, embedded once with Workers AI and shipped in the Worker.
- Read the plansLooks up the plans, what each one includes and what it costs.Reads the plans exported from the site.
- Check an APIScores how ready an API is for AI agents, from 0 to 100.Handed back to the gateway, which runs the site’s own readiness rules and returns the score.
Words on this page
- Agent
- A program that uses a language model to decide what to do next, and tools to do it.
- Model
- The language model that reads your question, chooses a tool and writes the answer.
- Tool
- A function the model may ask for, such as searching the docs; code on our side runs it, not the model.
- Trace
- The record of the steps one answer took: each model call and tool call, with its time and tokens.
- Token
- A piece of a word; a model reads and writes text in tokens, and a model call is priced by them.
- Eval
- A fixed set of questions with known right answers, run against the agent to score it; the scores above come from one.
- LangGraph
- An open-source library for building an agent as a small graph of steps; this one uses its JavaScript version.
- LangSmith
- LangChain’s service for keeping and inspecting traces; every turn here goes there, with emails, keys and tokens removed first.
- Cloudflare Workers
- Cloudflare’s servers close to each visitor, where this agent runs without a server to keep warm.
Want an agent like this for your API or your support?
We build them on your stack and your data, on Databricks, LangChain or plain code, with traces and evals from the first day.