Building a tool-calling AI agent with structured outputs and guardrails (xAI Grok API)
Build a production-minded tool-calling agent on the xAI API: typed tools, a bounded loop, structured outputs, approval gates, retries, budgets and tracing.
Practical notes on building LLM systems that hold up in production — retrieval, evaluation, agents and the LLMOps around them. Subscribe via RSS or Atom. Shorter thoughts go to my Telegram channel.
Build a production-minded tool-calling agent on the xAI API: typed tools, a bounded loop, structured outputs, approval gates, retries, budgets and tracing.
A practical playbook for LLM evals: offline eval sets, retrieval and Ragas-style metrics, calibrated LLM-as-judge, CI regression gates and tracing.
How I build RAG on Nebius Token Factory: Qwen3 embeddings, Qdrant, chunking, grounded answers with citations, a small eval set, and cost/latency knobs.