Agoda builds API Agent: a universal MCP server enabling natural language queries across any internal API via SQL post-processing
Agoda operates hundreds of internal services, each requiring its own custom MCP server integration to connect to AI tools — a bottleneck that meant any new API connection required bespoke code, and any ad hoc query required knowing the schema or asking an engineer to write a script.
A single API Agent deployment serves any number of target APIs simultaneously; repeated query patterns are parameterized as recipes and replayed at a fraction of the latency without full LLM reasoning.
Frequently asked questions
What did this team achieve with this AI workflow?
A single API Agent deployment serves any number of target APIs simultaneously; repeated query patterns are parameterized as recipes and replayed at a fraction of the latency without full LLM reasoning.
What tools did this team use?
FastMCP, OpenAI Agents SDK, DuckDB, OpenTelemetry, Jaeger, Zipkin, Grafana Tempo, Arize Phoenix.
What results were reported?
Query latency with recipe vs. full reasoning: fraction of the latency; Direct-download query latency: fraction of the latency (source-reported, not independently verified).
How is this back office ops AI workflow structured?
Natural language question received → Schema introspection → Query generation and execution → SQL post-processing in DuckDB → Recipe extraction and replay → Result returned to client.