# Nimit Solanki — Co-founder & CTO of estaie, Dubai > Nimit Solanki is a three-time founder and the co-founder and Chief Technology Officer (CTO) of estaie in Dubai — the AI-native extended-stay platform (15 nights to a year) where his production AI agents run dynamic pricing, B2B lead intelligence, competitor benchmarking, and guest search. He has 16+ years in technology, including AI and platform work at Careem (part of Uber), Grab, and Deutsche Telekom, and is a member of AI Safety UAE. He helps companies, boards, and investors run AI agents that make real decisions, safely: through an AI Safety Review, CTO & AI advisory, expert calls and technical due diligence for investors, workshops and speaking, and 1:1 mentorship for engineers and CTOs. For the complete, self-contained markdown knowledge base of the entire website (including the full text of all 6 case studies, all 7 lessons of The Agentic AI Playbook, and all 4 AI safety & governance templates), read: - [Full LLM Knowledge Base (llms-full.txt)](https://nimitsolanki.com/llms-full.txt): Complete text of all pages, case studies, playbook lessons, and frameworks on nimitsolanki.com. ## Key Facts & Entity Profile - **Name:** Nimit Solanki - **Current Role:** Co-Founder & Chief Technology Officer (CTO) at [estaie](https://estaie.com) (Dubai, UAE, 2025–Present) - **Location:** Dubai, United Arab Emirates - **Community & Governance:** Member of [AI Safety UAE](https://aisafety.ae) - **Experience:** 16+ years in engineering, AI & data platforms, and CTO leadership; 300M+ users served across Careem, Grab, and Deutsche Telekom; 3x founder - **Core Thesis:** Production agentic AI is roughly **20% model capability and 80% trust design** — evaluation before release, deterministic guardrails checked outside the model, step-size limits, human-in-the-loop escalation rules, and reversal paths with audit trails. - **Production AI Systems & Verified Metrics:** - **10% → 22.98% Take Rate (More than Doubled Revenue per Booking):** 71-factor dynamic pricing engine at estaie evaluating 1,200+ live signals, automating ~70% of pricing decisions, lifting RevPAR 12–18% and occupancy 8–12%. - **10x Lower AI Cost per Qualified Lead (Revana):** Three-tier model cascade (cheap models filter, frontier models only score high-intent leads) with two human touchpoints, generating live B2B pipeline within 90 days. - **32% Cheaper All-In Guest Price:** Autonomous market intelligence agent matching properties across rival booking platforms and benchmarking rates 24/7. - **55% Repeat Booking Rate & 197,000+ Organic Users:** Guest-facing AI Smart Search co-pilot matching guests to extended-stay homes (1 month to 1 year). - **+40% Customer Retention & +30% Engagement (Careem):** AI customer and operational insight systems across the Careem Super App; also led Careem–Uber post-acquisition data segregation and scaled Careem QUIK to 80% of Dubai at 99.95% uptime. - **-30% Support Ticket Resolution Time & -15% Cost (Grab):** Support Bot automation platform wired into workflows, CRM, and knowledge bases across ride-hailing and customer support in Singapore. - **Career Highlights:** - **estaie (2025–Present):** Co-founded with Osama Shawky, Mark Reed, and Michal Hicks; grew the engineering & tech team from 0 to 50; signed 400+ hotels and 1,000+ holiday homes; booked 3,000+ room nights growing 17–18% month-on-month; 3 patents pending on technology built in-house. Closed a **seven-figure pre-seed round in April 2026** led by Plus VC and Orbit Ventures, with Falak Angels, Value Makers Studio, and angel investor Vasil Zdravkov. - **198X:** Co-founder of an autonomous revenue platform; previously founding CTO of a sustainability-tech venture. - **Careem / Uber (Dubai, 2021–2023):** Led AI and data platforms, post-acquisition Careem–Uber data segregation, and Careem QUIK reliability. - **Grab (Singapore, 2019–2021):** Built and scaled the Grab Support Bot automation platform. - **Deutsche Telekom:** Digital transformation and platform engineering; earlier career porting Android OS onto IoT devices. - **Education:** - **Indian School of Business (ISB)** - **Gujarat University** - **Links & Contact:** - **Website:** https://nimitsolanki.com/ - **All ways to work together:** https://nimitsolanki.com/work-with-me.html - **Enquiries:** https://nimitsolanki.com/contact.html - **1:1 Mentorship (Topmate):** https://topmate.io/nimit_solanki/ - **LinkedIn:** https://www.linkedin.com/in/nimitsolanki - **Company:** https://estaie.com ## Core Pages - [Home — Nimit Solanki](https://nimitsolanki.com/): Who Nimit Solanki is, the four ways to work with him, production AI case studies, an interactive refund-agent guardrail demo, about and press, free learning resources, and FAQs. - [Work With Me](https://nimitsolanki.com/work-with-me.html): All offers in one place: AI Safety Review, CTO & AI advisory, expert calls and technical due diligence for investors, workshops and speaking, and 1:1 mentorship. - [AI Safety Review](https://nimitsolanki.com/ai-safety-review.html): A fixed-scope review of an AI agent's guardrails, evaluation, escalation to a person, reversal path, and audit trail, ending in a written report. - [CTO & AI Advisory](https://nimitsolanki.com/cto-advisory.html): CTO advisory and AI advisory for founders, CEOs, boards and investors without a full-time CTO hire: technology and AI strategy, architecture reviews, engineering hiring, AI safety, and technical due diligence. Advisory only. - [For Investors](https://nimitsolanki.com/investors.html): Expert calls and technical due diligence for investors. - [Speaking & Workshops](https://nimitsolanki.com/speaking.html): Keynotes, workshops, and board briefings on "Agents That Touch Money", AI safety for businesses, moving from pilot to production, building AI teams, and agentic pricing & sales. - [Contact](https://nimitsolanki.com/contact.html): How to get in touch about the AI Safety Review, CTO & AI advisory, investor work, or speaking. ## Case Studies (Production AI Agents & Business Impact) - [Case Studies Index](https://nimitsolanki.com/case-studies/): Overview of all 6 production AI case studies across estaie, Careem, and Grab. - [An Agent More Than Doubled Our Revenue Per Booking (estaie Pricing Agent)](https://nimitsolanki.com/case-studies/agent-doubled-revenue-per-booking.html): 71-factor dynamic pricing engine using 1,200+ live signals; lifted take rate from 10% to 22.98%, automated ~70% of pricing work, increased RevPAR 12–18%, and boosted occupancy 8–12%. - [Qualified Sales Leads at a Tenth of the AI Cost (estaie Revana Sales Agent)](https://nimitsolanki.com/case-studies/qualified-leads-at-a-tenth-of-the-cost.html): Three-tier model cascade that cut AI token costs 10x while qualifying intent and running outreach with only two human touchpoints. - [Always Priced Below the Competition, Automatically (estaie Market Intelligence Agent)](https://nimitsolanki.com/case-studies/always-priced-below-the-competition.html): Cross-platform property matching and 24/7 rate benchmarking delivering 32% cheaper all-in prices vs. rival booking sites. - [An AI Search Assistant Guests Come Back To (estaie Smart Search Co-Pilot)](https://nimitsolanki.com/case-studies/search-assistant-guests-come-back-to.html): Extended-stay conversational co-pilot driving a 55% repeat booking rate and 197,000+ organic users. - [AI Insights That Kept 40% More Customers (Careem)](https://nimitsolanki.com/case-studies/ai-insights-that-kept-40-percent-more-customers.html): Customer and operational insight systems across the Careem super app (+40% retention, +30% engagement), Careem–Uber data segregation, and Careem QUIK scaling. - [Support Tickets Resolved 30% Faster, 15% Cheaper (Grab)](https://nimitsolanki.com/case-studies/support-tickets-resolved-30-percent-faster.html): Chatbot automation platform integrated with workflows, CRM, and knowledge bases across Grab's ride-hailing and support operations. ## AI Skills 2027 (Free Interactive Series by Nimit Solanki) Overview: https://nimitsolanki.com/skills/ ### AI Skills 2027 · 01 Harness Engineering URL: https://nimitsolanki.com/skills/harness-engineering.html Author: Nimit Solanki (Co-founder & CTO, estaie). Published 2026-12-01. Definition: Harness engineering is the work of designing the software around an AI model (the loop, context, tools, permissions, checks, limits and logs) that turns the model into an agent that completes real tasks safely and reliably. Key points: - An AI agent is two things: a model that suggests what to do, and a harness that does everything else. - The harness decides what the model sees and which actions it may take. It runs those actions, checks the results and knows when to stop. - The same model can be poor in a weak harness and excellent in a strong one. Harness engineering is the job of building the strong one. The nine parts of a harness: - The loop: Runs the model again and again: think, act, look at the result, think again, until the job is done or a limit is hit. - Context: Chooses exactly what the model gets to see before each decision: the right documents, the right history, the right rules, and nothing else. - Tools: The actions the agent can request, each with a clear name, strict inputs and a helpful error when something is wrong. - Memory: Decides what the agent remembers between steps, between conversations and between days, and what it deliberately forgets. - Sub-agents: Splits a big job across several focused agents, and coordinates who does what and in which order. - Permissions: Rules written in code that decide which actions are allowed, limited or blocked, whatever the model says. - Checks & evals: Checks the real result after each action, and tests the whole agent against known cases before every change goes live. - Human approval: Knows when to pause and ask a person, and gives that person exactly what they need to decide in seconds. - Tracing: Records every step: what the model saw, what it proposed, what was allowed, what happened, how long it took and what it cost. Eight principles of a good harness: - Put rules in code, not in the prompt: A prompt is a request. Code is a wall. "Never refund more than AED 1,000" belongs in a check the model cannot argue with. - Show the model less, but the right things: More context is not better context. Every extra page is something the model can get distracted by, and something you pay for. - Make tools hard to misuse: Clear names, strict inputs, helpful errors. If a new hire would be confused by your tool, so will the model. - Check the world, not the claim: When the model says "done", look for yourself: run the test, query the database, read the sent email. - Feed errors back as information: "Timeout after 10s, try again or use the backup" lets the model recover. A crash or silence does not. - Budget everything: Steps, time, tokens, money and the number of people affected. Every agent needs a point where it must stop and ask. - Record everything: What the model saw, what it proposed, what was allowed, what happened. If you can't replay it, you can't fix it. - When it fails, fix the harness: Ask "what was missing around the model?" before "how do I reword the prompt?". Add the check, tool or rule so that kind of failure cannot happen again. FAQ: Q: What is an agent harness? A: An agent harness is the software around an AI model that turns it into an agent. It runs the loop, builds the context, offers and runs tools, checks permissions, verifies results, enforces limits and records every step. The model suggests; the harness acts. Q: Is harness engineering the same as prompt engineering? A: No. Prompt engineering shapes what you say to the model. Harness engineering shapes everything around the model: what it sees, what it can do, what is checked and when it stops. The prompt is one small input the harness builds. Q: How is harness engineering different from context engineering? A: Context engineering is one part of harness engineering: deciding what goes into the model's context window for each step. Harness engineering also covers tools, permissions, verification, budgets, human approval and tracing. Q: What are examples of agent harnesses? A: Coding assistants that read files, edit code and run tests are harnesses around a model. So are support agents that can look up orders and issue refunds within limits. Agent frameworks and SDKs give you parts to build a harness; the rules, tools and checks for your business are still yours to design. Q: Do I need a better model or a better harness? A: Usually a better harness first. If your agent fails because it saw the wrong facts, had a confusing tool, was never checked or never stopped, a newer model will not fix that. Upgrade the model once your harness is solid and your evals can measure the difference. Q: Do I need to be an engineer to understand this? A: No. Founders, product managers and reviewers can use the nine parts on this page as a checklist: for any agent, ask who decides what it sees, what it is allowed to do, how its work is checked, when it stops and where the record is. ### AI Skills 2027 · 02 Loop Engineering URL: https://nimitsolanki.com/skills/loop-engineering.html Author: Nimit Solanki (Co-founder & CTO, estaie). Published 2026-12-02. Definition: Loop engineering is the work of designing the cycle an AI agent repeats (choose a step, act, observe the result, check progress) including how it plans, recovers from errors, and decides when it is done, stuck or out of budget. Key points: - An agent works in a loop: the model picks one step, the harness runs it, the result goes back to the model, and it picks again. - The hard part is not the steps. It is knowing when the job is really done, when to retry, when to change plan and when to stop and ask a person. - Good loops use a checkable definition of done, feed errors back as information, and stop on clear rules: done, stuck, or out of budget. The eight parts of a good agent loop: - A checkable definition of done: States the goal and, just as important, a test the software can run to see whether the goal has really been reached. - Plan, or step by step: Decides whether the agent writes a short plan first and works through it, or chooses each step as it goes. Many good agents do a bit of both. - One step at a time: The model picks exactly one action per turn: a tool call, a question to the user, or "finish". Small steps are easier to check and easier to undo. - Observe the real result: Feeds the result of each action back to the model, including errors, empty results and "there are more pages". The model only learns what you show it. - Progress check: After each turn, asks a simple question in code: are we closer to done than last time? New facts, fewer items left, a test that now passes. - Retry and recover: Handles failures sensibly: wait and retry when a system is briefly down, try a different approach when an idea is wrong, and never repeat the exact same failing call forever. - Budgets: Sets hard limits for each task: number of turns, time, tokens and money. Limits are enforced by the loop, not suggested in the prompt. - Stop and hand off: Defines every way the loop can end (done, stuck, out of budget, needs a decision) and what happens next in each case, usually a short summary to a person. Seven principles of a good agent loop: - Write the done test first: Before you build the loop, write the check that proves the job is finished. If you can't write it, the task isn't clear enough for an agent yet. - Done is a test, not a claim: When the model says "finished", run the test. Models report on what they saw, and they often saw only part of the picture. - One step per turn: Small steps are easier to check, easier to undo and easier to debug. Big all-at-once actions hide mistakes. - Errors are information: "Rejected: 972 is above the cap of 950" lets the model fix it next turn. "Something went wrong" doesn't. - Measure progress, not activity: A busy agent is not a productive one. Track new facts, items left or tests passing, and stop when that number stops moving. - Every loop needs several exits: Done, stuck, out of budget and needs a decision. Each exit should end somewhere useful, usually with a short summary for a person. - Replan when the facts change: A plan is a guess made before you knew everything. When a result contradicts it, make a new one instead of pushing on. FAQ: Q: What is an agent loop? A: An agent loop is the cycle an AI agent repeats to complete a task: the model picks one action, the software runs it, the result is added to what the model can see, and the model picks again. It continues until the task is done, the agent is stuck, or a limit is reached. Q: What is ReAct in AI agents? A: ReAct, short for "reason and act", is a well-known pattern where a model alternates between writing a short line of reasoning, requesting an action, and reading the result. Many agent frameworks use a version of this think, act, observe cycle as their basic loop. Q: How does an AI agent know when to stop? A: A well-built agent does not rely on the model deciding it is finished. The loop runs a check in code, such as a query or a test, to confirm the goal was reached. It also stops when progress stalls, when the same action keeps failing, or when a turn, time or cost limit is hit, and hands a summary to a person. Q: What is the difference between plan-and-execute and ReAct? A: A ReAct-style agent picks each step after seeing the last result, which adapts well to surprises. A plan-and-execute agent writes a plan first and then works through it, which is easier to review and track on long tasks. Many production agents combine them: plan first, act step by step, and replan when a result contradicts the plan. Q: Why do AI agents get stuck in loops? A: Usually because nothing in the software checks for progress. The model retries a dead end with small variations, or keeps gathering information without deciding it has enough. A progress check, repeat detection and firm budgets stop this, and a hand-off summary makes sure a person picks it up. Q: How many steps should an agent loop be allowed? A: There is no universal number. Measure how many turns your normal tasks take, set the limit a little above that, and watch how often it is hit. Hitting the limit often is a sign of a loop problem to fix, not a reason to raise the limit. ### AI Skills 2027 · 03 Context Engineering URL: https://nimitsolanki.com/skills/context-engineering.html Author: Nimit Solanki (Co-founder & CTO, estaie). Published 2026-12-02. Definition: Context engineering is the work of choosing, ordering and trimming everything an AI model sees before each step (instructions, the task, documents, history, tool results and memory) so it has exactly the facts it needs, fresh and in budget, and nothing that misleads it. Key points: - A model can only use what is in its context window: the text sent to it on this call. Everything else, it doesn't know. - More is not better. Extra text costs money and time, can bury the important parts, and gives the model more chances to follow something stale, irrelevant or hostile. - Context engineering treats the window as a budget: pick the right pieces, keep them fresh, put them in a sensible order, and trim the rest. The eight things that compete for the context window: - Instructions: The standing rules for this agent: its role, tone, what it may and may not do, and how to format answers. Often called the system prompt. - The task: The specific thing to do right now, stated clearly. For an agent, also where it is in the job: what is done and what is left. - Retrieved documents: Pages fetched from your own knowledge base for this question, often called RAG (retrieval-augmented generation). Only the few most relevant, current passages. - Conversation history: What has been said so far. Recent messages word for word, older ones summarised, so the thread makes sense without resending everything. - Tool results: What came back from the actions the agent took. Trimmed to the fields that matter for this task, with errors kept and stated plainly. - Tool descriptions: The names and descriptions of the tools the agent may use on this step. They take up space too, so offer only the ones that fit the task. - Memory: Lasting facts about this person or account, pulled in only when relevant. Useful facts, not a full biography. - Examples: A few short samples of a good answer, so the model can copy the shape and tone. Two or three good ones usually beat a page of description. Eight principles of good context: - Every token must earn its place: For each piece, ask: would the answer be worse without it? If not, leave it out. Less text means lower cost, faster replies and fewer distractions. - Fresh beats relevant: A perfectly matching passage from an old policy is worse than no passage. Label documents with a status and an effective date, and filter on them. - Rebuild context for each step: What the model needs to choose a tool is different from what it needs to write the reply. Build each step's context for that step. - Summarise, don't just cut: Dropping old messages loses facts. Replace them with a short summary of what still matters: decisions, preferences, promises made. - Trim tool results at the source: Return the fields the task needs, not the whole record. A huge result does damage on every later turn, not just one. - Put things where they will be used: Stable rules first, the specific question last. As a bonus, many model providers can cache a stable opening section, which can cut cost and delay. - Label outside text as untrusted: Emails, reviews, web pages and documents from others are material to read, never instructions to follow. Mark them clearly, and back that up with limits in code. - Save what the model saw: When an answer is wrong, the first question is "what was it shown?". If the exact context isn't in your trace, you are guessing. FAQ: Q: What is context engineering? A: Context engineering is the practice of deciding exactly what an AI model sees before each step: which instructions, documents, conversation history, tool results and memories go into its context window, in what order and at what size. The goal is to give the model the facts it needs, fresh and within budget, and nothing that misleads it. Q: What is the difference between context engineering and prompt engineering? A: Prompt engineering focuses on how you word the instructions to the model. Context engineering covers everything the model sees on each call, including retrieved documents, history, tool results and memory, and how that is selected, trimmed and refreshed. For agents that take many steps, context engineering usually matters more. Q: What is a context window? A: A context window is the maximum amount of text a language model can work with on a single call, measured in tokens (pieces of words). Everything the model uses to answer, from the instructions to the latest message, has to fit inside it, and on most models so does the reply it writes. Anything outside it, the model does not know. Q: Is a bigger context window always better? A: No. A bigger window lets you include more when you need to, but every extra token adds cost and delay, and important facts can get lost among less important ones. Many models also use information in the middle of a very long context less reliably than at the start or end. Choosing well usually beats sending more. Q: What is RAG and how does it relate to context engineering? A: RAG, or retrieval-augmented generation, means searching your own documents for passages relevant to a question and adding them to the model's context. It is one important part of context engineering. The other parts include filtering for current versions, ordering, summarising history, trimming tool results and labelling untrusted text. Q: Can context engineering prevent prompt injection? A: It can reduce the risk, for example by clearly labelling outside text as untrusted and keeping standing rules prominent, but it cannot prevent it completely. Models can still be fooled by cleverly written text. Real protection comes from limits enforced in code, so a fooled model still cannot take a harmful action. ### AI Skills 2027 · 04 Tool Design URL: https://nimitsolanki.com/skills/tool-design.html Author: Nimit Solanki (Co-founder & CTO, estaie). Published 2026-12-02. Definition: Tool design is the work of defining the actions an AI agent can take (each with a clear name, a description of when to use it, strict inputs, compact outputs, helpful errors and safe retries) so the model picks the right tool and calls it correctly the first time. Key points: - A tool is an action you let the agent request, such as "check availability" or "create booking". The model chooses it from its name and description alone. - Most tool failures are design failures: vague names, loose inputs, huge outputs, silent errors, and actions that happen twice when retried. - Good tools are specific, strictly typed, return only what is needed, explain their errors, and are safe to retry. The anatomy of a good tool: - A specific name: A verb and a noun that say exactly what the tool does. Names are the first thing the model uses to choose, so similar tools need clearly different names. - A description that says when: Two or three sentences: what it does, when to use it, and when to use something else instead. Written for a newcomer, not for the team that built it. - Strict, typed inputs: Lists every input with its type, format and limits, marks which are required, and offers fixed choices where the answers are known. Anything not listed is rejected. - A compact output: Returns only the fields the agent needs, in a consistent shape, with a clear status. Large lists come back in pages with a note that more exist. - Errors that explain the fix: When something is wrong, says what, why and what to do next, in plain words the model can act on. Failure is never silent. - Clear side effects: Separates tools that only read from tools that change things, and says exactly what each change does: who is charged, who is messaged, what is created. - Safe to retry: An action is idempotent when doing it twice has the same effect as doing it once. For actions that create or charge, the caller sends a unique idempotency key, and a repeat with the same key returns the first result. - Permissions and limits: Each tool runs with only the access it needs, and checks its own limits in code, whatever the model asked for. Risky calls go to a person. Eight principles of good tool design: - One tool, one job: A tool called manage_booking with an "action" field is five tools pretending to be one. Split it. Each job gets its own name, inputs and rules. - Name it for the task, not the system: Verb plus noun, in the language of the job: check_availability, send_quote. Make similar tools obviously different. - Say when to use it, and when not to: The most useful sentence in a description is often "for X, use Y instead". It stops the commonest mix-ups. - Be strict about inputs: Types, formats, ranges, fixed choices and no extra fields. Reject bad input before it reaches a real system, every time. - Return less: Only the fields the next step needs, a clear status, and pages for long lists. Tool output is context, and context is a budget. - Write errors for the model: Say what was wrong and what to do next, in plain words. A good error turns a failure into a second, correct attempt. - Make every write safe to retry: Networks fail after the action has happened. Use idempotency keys for anything that creates, charges or sends. - Put the limits inside the tool: The tool checks who and what it may touch and how much, in code. Never rely on the description to keep the model in bounds. FAQ: Q: What is a tool in an AI agent? A: A tool is an action an AI agent can request, such as looking up a booking, checking a calendar or sending a message. The model sees each tool's name, description and input schema, chooses one, and fills in the inputs. The software around the model validates the request and runs it. Q: What is the difference between tool calling and function calling? A: They usually mean the same thing. Both describe a model producing a structured request to run a named action with specific inputs, which your software then executes. Different providers and frameworks simply use different names for it. Q: How do you write a good tool description for an AI agent? A: Say what the tool does, when to use it, and when to use a different tool instead, in two or three plain sentences. Mention important side effects, such as charging a card or emailing a customer. Write it for a newcomer who has never seen your systems. Q: What is idempotency and why does it matter for agent tools? A: An action is idempotent if doing it twice has the same effect as doing it once. Agents retry when calls time out, and sometimes the first call actually succeeded. Sending an idempotency key with actions that create, charge or send lets your system recognise a retry and avoid doing it twice. Q: How many tools should an AI agent have? A: As few as the task needs. Every extra tool takes space in the context and adds another way to choose wrongly. If an agent needs many tools, offer only the relevant ones for each step or split the work across more focused agents. Q: What is MCP (Model Context Protocol)? A: MCP is an open standard for connecting AI applications to tools and data sources, so a tool written once can be used by many different agents and assistants. It standardises how tools are offered and called. It does not make a badly designed tool good, so names, schemas, errors and permissions still matter. ### AI Skills 2027 · 05 Memory Architecture URL: https://nimitsolanki.com/skills/memory-architecture.html Author: Nimit Solanki (Co-founder & CTO, estaie). Published 2026-12-02. Definition: Memory architecture is the design of what an AI agent remembers between steps, conversations and days: which kinds of memory it has, what gets written to each, who may read it, how it is retrieved, and when it expires or is deleted. Key points: - A model remembers nothing between calls. Everything an agent "remembers" is data the harness saved and chose to show it again. - Agents need several kinds of memory: the current context, the session, facts about a person, past episodes, learned rules and shared company knowledge. Each has different rules. - The hard part is not storing things. It is the write policy (what is allowed in), retrieval (what comes back out) and forgetting (what must go). The seven parts of agent memory: - Working memory (the context): What the model can see right now, in this one call: the instructions, the request, the recent messages and whatever memories were fetched for this step. It is the only memory the model reads directly. - Session memory: The history of one conversation or one task, kept while it lasts. When it gets long, older parts are summarised so the important points survive and the rest drops away. - Profile facts (semantic memory): Stable facts about a person or account that are useful next time: preferences, constraints, the channel they like. Each fact has a source and a date. - Past episodes (episodic memory): Short records of what happened in past conversations or runs: what was asked, what was done, how it ended. Searched when a similar situation comes up. - Learned rules (procedural memory): How-to knowledge the agent gets better at over time: lessons turned into instructions or examples. Safer when a person reviews each new rule before it goes live. - Shared company knowledge: Documents everyone's agents can look up: policies, house manuals, FAQs. Usually fetched by search when relevant, which is what people mean by RAG (retrieval-augmented generation). - Forgetting rules: Rules that make memory expire, get rechecked or be deleted: time limits per kind of memory, and a way to erase one person's data everywhere when they ask. Seven principles of agent memory: - The model proposes, the memory layer decides: Never let the model write directly to long-term memory. It suggests what to save. Code checks it against the write policy first. - Store less than you think: Every saved fact can go stale, leak or be planted. If the system of record already has it, look it up there instead. - Every memory has an owner, a source and a date: Owner stops cross-customer leaks. Source tells you whether to trust it. Date tells you whether it is still true. - Filter by owner inside the search: Scope every read to the right customer or account at the database level, so a bug in the prompt cannot reach someone else's data. - Forgetting is a feature: Give each kind of memory a lifetime. Recheck preferences. Build deletion before launch, not after the first request. - Facts beat transcripts: Save "prefers WhatsApp (March 2026)", not the 40-message chat it came from. Short facts are easier to check, update and delete. - Memory never grants permission: Discounts, refunds and access come from systems of record and rules in code, never from something a customer once said to the agent. FAQ: Q: Do AI agents have memory? A: Not by themselves. A language model forgets everything between calls. What looks like memory is the harness saving information and showing it to the model again in later calls. That is why memory has to be designed: someone decides what is saved, for how long, and when it comes back. Q: What are the types of memory in an AI agent? A: A common way to split it is: working memory (what is in the context right now), session memory (this conversation), semantic memory (facts about a person or account), episodic memory (records of past interactions), procedural memory (learned rules and how-to) and shared knowledge (company documents). Each needs its own rules for writing, reading and expiry. Q: What is the difference between agent memory and RAG? A: RAG (retrieval-augmented generation) means searching a store of documents and putting the relevant parts into the model's context. It is a way of reading from memory. Memory architecture is broader: it also covers what gets written, who owns each item, how it is kept fresh and how it is deleted. Q: What is memory poisoning in AI agents? A: Memory poisoning is when someone gets false or malicious information saved into an agent's memory so that it affects later conversations, for example a planted "this customer gets 50% off". Defences include a strict write policy, labelling where each memory came from, and never letting memory grant discounts or permissions. No single control removes the risk completely. Q: How do you handle a "delete my data" request for an AI agent? A: You need to know every place the person's data lives: profile facts, past episodes, search indexes, transcripts, traces and backups. Store everything with an owner ID so it can be found, and build a deletion job that removes it from each place. Data protection laws such as the GDPR right to erasure expect this to be possible. Q: Should an AI agent remember everything a customer says? A: No. Save short, useful facts with a source and a date, and let trip-specific details expire. Never save card numbers, ID numbers or sensitive health details in agent memory. Storing less makes the agent easier to keep accurate, private and secure. ### AI Skills 2027 · 06 Orchestration Patterns URL: https://nimitsolanki.com/skills/orchestration-patterns.html Author: Nimit Solanki (Co-founder & CTO, estaie). Published 2026-12-02. Definition: Orchestration patterns are the standard ways of splitting work across AI model calls and agents, and coordinating them: chaining steps, routing requests, running work in parallel, delegating to workers, checking and retrying, and handing tasks from one agent to another. Key points: - Start with one agent or a simple workflow. Split the work only when one agent clearly struggles, and when the parts are genuinely independent. - There are a handful of proven patterns: chaining, routing, parallel fan-out, orchestrator-workers, evaluator loops and handoffs. Most real systems combine two or three. - Multi-agent systems cost more, take more steps and can pass mistakes along. They only pay off with clear briefs, checked results and limits on delegation. Six orchestration patterns: - Prompt chaining: A fixed sequence of steps, each one a model call that takes the previous output as input. Code runs the sequence and can check the output between steps. - Routing: A first step classifies the request and sends it to the right specialist: a different prompt, tool set or model for each kind of request. - Parallel fan-out: Many independent pieces of work run at the same time, each with its own small context, and the results are gathered at the end. Code usually does the splitting. - Orchestrator and workers: A lead agent looks at an open-ended task, decides how to break it up, sends focused briefs to worker agents, then checks and combines what comes back. - Evaluator and optimiser: One step produces a draft. Another step checks it against clear criteria and sends back specific feedback. Repeat until it passes or a round limit is hit. - Handoffs: One agent passes the whole conversation or task to another, along with a summary of what it knows. The first agent then steps back. Seven principles of orchestration: - Start with one agent: Add agents only when you can name the problem they solve: a full context, independent pieces, different permissions or a needed second check. - Use code for the plan when you can: If the steps are the same every time, a loop or a queue is cheaper, faster and easier to test than an agent deciding what to do. - Split by independence, not by job title: Good splits are pieces that do not need each other. "Researcher", "manager" and "writer" agents that constantly talk are usually one job cut in the wrong place. - Treat every brief as a contract: Required fields, a clear goal, the rules that apply and the output format. A worker only knows what its brief says. - Check every result before you combine: Schema, ranges and business rules in code. A wrong answer from one worker should be flagged, not averaged into the report. - One owner for each real action: Many agents can read and suggest. Only one should be able to send the email, change the price or issue the refund. - Budget and trace the whole job: One cost cap, one delegation limit and one trace ID across every agent, so the job stops on time and you can follow what happened. FAQ: Q: What is AI agent orchestration? A: Agent orchestration is how you coordinate several model calls or agents to complete one job: who does which part, in what order, with what information, and how the results are checked and combined. It can be done by code (a workflow) or by a lead agent that decides how to split the work. Q: When should you use multiple AI agents instead of one? A: Use several agents when the work splits into independent parts that each need their own focused context, tools or permissions, or when a separate checking step clearly improves quality. For short, sequential or latency-sensitive tasks, one well-built agent is usually faster, cheaper and easier to debug. Q: What is the orchestrator-worker pattern? A: In the orchestrator-worker pattern, a lead agent breaks an open-ended task into pieces, sends each piece to a worker agent with a focused brief, then checks and combines the results. It suits tasks where you cannot know the sub-tasks in advance. When the sub-tasks are always the same, plain code can do the orchestrating instead. Q: What is the difference between an AI workflow and an AI agent? A: In a workflow, code decides the steps and the model fills in each one, for example extract, then write, then translate. In an agent, the model decides the next step itself, in a loop. Workflows are more predictable and easier to test; agents are more flexible for open-ended work. Many good systems mix both. Q: Why do multi-agent systems fail? A: Common causes are context lost in handoffs, agents working from different copies of the data, one agent's mistake flowing into the final answer unchecked, agents delegating to each other without limit, and costs multiplying with every extra call. Most of these are fixed by structure around the agents rather than by better prompts. Q: Are multi-agent systems more expensive? A: Usually, yes. Every agent reads its own context and makes its own model calls, so a multi-agent run can use many times the tokens of a single agent. That can be worth it for wide, valuable tasks, but it should be a measured choice with a budget for the whole job. ### AI Skills 2027 · 07 Guardrails & Permissions URL: https://nimitsolanki.com/skills/guardrails-and-permissions.html Author: Nimit Solanki (Co-founder & CTO, estaie). Published 2026-12-02. Definition: Guardrails and permissions are the rules enforced in code around an AI agent that decide which actions it may take, with what limits and with whose approval, and that check what goes in and what comes out, so the rules hold even when the model is wrong or manipulated. Key points: - A rule in the prompt is a request. A rule in code is a guardrail. Anything that would cost money, data or trust if broken must live in code. - Prompt injection (instructions hidden in a message, email or web page) is not fully solved. Design as if the model will sometimes obey it. - Use layers: check inputs, give the fewest permissions, check every action against policy and limits, require approval above a tier, and check outputs before they leave. Eight layers of guardrails: - Input checks: Checks on what comes in before the model sees it: strip or mask personal data, flag text that looks like an injection attempt, label outside content as data, and reject oversized or malformed input. - Least privilege: Each agent gets only the tools and access it needs for its job, with credentials scoped to the minimum. A tool the agent does not have is a tool no attacker can make it use. - Allow and deny lists: Explicit lists of what is permitted: which tools, which websites, which email domains, which fields can change. Anything not on the allow list is refused by default. - Policy checks in code: Before any action runs, code checks it against business rules, using facts from your own systems, never from what the model read. The system that carries out the action checks again. - Limits and caps: Hard numbers that cannot be exceeded: per action, per customer, per day and in total. Step limits for prices. Rate limits for messages. Budgets for steps and cost. - Approval tiers: Each kind of action sits in a tier: Suggest (a person acts), Act within bounds (the agent acts inside hard limits), or Act and report (the agent acts, people audit samples). - Output checks: Checks on what goes out before it reaches a person or system: no other customers' details, no secrets, no promises outside policy, correct format. - Sandboxing: Risky work, such as running code the agent wrote or opening unknown files, happens in a walled-off environment with no access to real systems or secrets. Eight principles of guardrails: - Assume the model will be fooled: Design every permission by asking: if the model obeyed an attacker right now, what is the worst it could do? Then make that small. - Rules that matter live in code: A prompt is a request. Code is a wall. Limits on money, data and access go in checks the model never sees and cannot argue with. - Give the fewest tools and the narrowest scope: An agent that reads the web should not also be able to send email. An agent that answers one guest should only see that guest. - Decide permission from your systems, not from text: Who someone is and what they may do comes from your booking system, CRM or identity provider. Never from a message that says "I am the owner". - Count cumulatively: Caps per action are easy to split. Limit totals per customer, per day and per agent as well. - Start in Suggest, earn your way up: Every new action starts with a person approving it. Move it to "Act within bounds" when the evidence shows it is reliable. - Check outputs as well as inputs: Scan every outgoing message and action for data that does not belong there before it leaves. - Check again where the action happens: The payment system, pricing engine and messaging service should enforce their own limits. Defence in depth means no single check is trusted alone. FAQ: Q: What are guardrails for AI agents? A: Guardrails are rules enforced in code around an AI agent that limit what it can do. They include input checks, scoped permissions, policy checks before each action, limits on money and volume, approval tiers and output checks. Because they run outside the model, they hold even when the model is wrong or manipulated. Q: What is prompt injection? A: Prompt injection is when text the model reads contains instructions that override what its operator intended. Direct injection comes from the user, for example "ignore your rules". Indirect injection is hidden in content the agent reads while working, such as a web page, email or document. It is listed first in the OWASP Top 10 for LLM Applications. Q: How do you prevent prompt injection in AI agents? A: You cannot fully prevent it today, so you reduce it and limit its impact. Label outside content as untrusted, filter obvious attempts, give each agent the fewest tools and narrowest access, check every action against policy and limits in code, and require human approval for high-impact actions. The aim is that a fooled agent cannot do much harm. Q: Should AI guardrails be in the prompt or in code? A: Both, for different jobs. The prompt explains the policy so the model makes good suggestions. Code enforces the limits so bad suggestions cannot cause harm. Any rule that protects money, data or trust must be enforced in code, because a prompt instruction can be ignored or argued around. Q: What is least privilege for AI agents? A: Least privilege means giving each agent only the tools, data and access it needs for its job, with credentials scoped to that minimum. A pricing agent might read listings and propose prices but have no email tool and no access to guest records. It limits what an attacker can do if the agent is fooled. Q: What are autonomy or approval tiers for AI agents? A: Approval tiers decide how much an agent may do alone for each kind of action. A common set is: Suggest (the agent drafts, a person acts), Act within bounds (the agent acts inside hard limits in code) and Act and report (the agent acts, people audit samples). Actions start in Suggest and move up only with evidence. ### AI Skills 2027 · 08 Evals for Agents URL: https://nimitsolanki.com/skills/evals-for-agents.html Author: Nimit Solanki (Co-founder & CTO, estaie). Published 2026-12-02. Definition: Evals for agents are repeatable tests that run an AI agent on a fixed set of real cases and grade what it did and how it did it, so you can prove it works before release and spot when it gets worse after any change. Key points: - An eval is a test for an agent: a set of real cases, a way to grade each answer, and a score you compare against last time. - Grade the outcome (was the end result right?) and, where it matters, the path (did it use the right tools, in a safe order?). Use code checks first and LLM judges only where code cannot decide. - Run evals as a gate before every release and keep watching live traffic after. Look at results per slice, because an average can hide a serious drop. The eight parts of a good eval setup: - Golden dataset: A fixed collection of real cases, each with the input the agent receives and a clear description of what a good result looks like. This is the heart of every eval. - Outcome checks: Grade the end state: did the agent produce the right result in the world? This is usually the most important check and the easiest to explain. - Trajectory (path) checks: Grade the steps the agent took, not just where it ended up: which tools it called, in what order, and whether it skipped a required check. Use these where the route matters for safety or cost. - Code-based graders: Checks written as plain code: exact matches, number ranges, required fields, forbidden words, whether a tool was called. Fast, cheap, and they give the same answer every time. - LLM-as-judge, calibrated: A second model grades things code cannot, like tone, helpfulness or whether a reply answers the actual question, using a written rubric. You check its grades against human grades before you trust it. - Critical slices: Results broken down by type of case, so a drop in one important area cannot hide inside a good average. Some slices are marked critical: any real drop there blocks a release. - Regression gate in CI: The eval suite runs automatically on every change to the prompt, model, tools or code, and the change cannot go live unless it scores at least as well as the current version, within a set tolerance. - Online monitoring: After release, sample real conversations, grade them with the same checks, and watch signals like escalation rate, complaints and corrections by staff. Turn every new failure into a new golden case. Eight principles of good agent evals: - Start from real cases, not imagined ones: Your best test cases are past conversations, decisions and incidents, anonymised. Twenty real cases with clear outcomes beat two hundred invented ones. - Grade the outcome first: Did the right thing happen in the world? Check that before you check how the reply sounds. Add path checks where the route matters for safety or cost. - Use code wherever code can decide: Amounts, limits, required fields and tool order are facts. Check them with plain code: it is fast, cheap and gives the same answer every time. - Never trust a judge you have not checked: An LLM judge is a useful tool with known biases. Compare its grades with human grades on a sample, fix the rubric, and keep spot-checking after. - Read the slices, not just the average: Mark your riskiest kinds of case as critical. A real drop in a critical slice blocks a release, whatever the overall score says. - Run every case more than once: Agents vary from run to run. A case that passes once and fails twice is a failure. For risky actions, ask for consistent passes, not one lucky pass. - Make the gate automatic: Every change to the model, prompt, tools or rules runs the suite. If evals depend on someone remembering, they will be skipped the week it matters. - Turn every failure into a test: When something goes wrong in production, add it to the golden dataset. Over time your evals become a record of everything you have learned. FAQ: Q: What are evals for AI agents? A: Evals are repeatable tests for an AI agent. You run the agent on a fixed set of real cases, grade each result with code checks or a calibrated LLM judge, and compare the score with the previous version. They tell you whether a change made the agent better or worse before customers find out. Q: What is a golden dataset? A: A golden dataset is a fixed collection of test cases where you know what a good result looks like. For agents, the best golden cases come from real past conversations, decisions and incidents, anonymised and labelled with the correct outcome. Because the set stays the same, scores can be compared across versions. Q: What is the difference between outcome and trajectory evaluation? A: Outcome evaluation grades the end result, such as whether the right refund was issued. Trajectory evaluation grades the steps the agent took, such as which tools it called and in what order. Use outcome checks everywhere and add trajectory checks where skipping a step would be unsafe or costly. Q: Is LLM-as-judge reliable? A: It can be useful, but it is not reliable by default. LLM judges have known biases, such as favouring longer answers or whichever answer is shown first. Check a judge against human grades on the same cases, use a specific rubric, and keep a regular human spot-check once it is in use. Q: What is pass@k for agents? A: pass@k is the chance that at least one of k attempts at a task succeeds. It suits tasks where you can try several times and keep the best result. For agents that act on real systems you usually care about a stricter question, whether every attempt succeeds, which some teams measure as pass^k or simply as consistency across repeated runs. Q: How many test cases does an agent eval need? A: There is no magic number. Start with a few dozen real cases that cover your main tasks and your riskiest situations, then grow the set every time production shows you a new failure. Coverage of the cases that matter is more important than the total count. ### AI Skills 2027 · 09 Human-in-the-loop Design URL: https://nimitsolanki.com/skills/human-in-the-loop-design.html Author: Nimit Solanki (Co-founder & CTO, estaie). Published 2026-12-02. Definition: Human-in-the-loop design is the practice of deciding when an AI agent must involve a person, and designing that moment (the trigger, the evidence shown, the choices offered, the timeout and the follow-up) so the person makes a real, fast, well-informed decision. Key points: - Agents should earn autonomy in steps: suggest, then act within bounds, then act and report. Each step is earned with evidence, not granted on hope. - Ask a person when an action is risky, hard to undo, unusual, or based on weak data. Not for everything: an agent that asks constantly trains people to stop reading. - A good request fits on one screen: what the agent wants, why, the key evidence, a clear recommendation, and approve, edit or reject. Every request has an owner, a timeout and a safe default. The nine parts of human-in-the-loop design: - Autonomy tiers: Each type of decision gets a level of freedom. Suggest: the agent drafts, a person acts. Act within bounds: the agent acts alone inside limits set in code. Act and report: the agent acts freely, logs everything, and people audit samples. - When to ask: Clear, written triggers for pausing: how much is at risk, whether it can be undone, how unusual the case is, and how strong the evidence is. Confidence should come from checks the harness can measure, not from the model saying it is sure. - One screen of evidence: The request shows the person exactly what they need to decide, on one screen: what the agent wants to do, why, the key facts with where they came from, and anything unusual flagged at the top. - A recommendation and clear choices: The agent states what it recommends and why, then offers approve, edit or reject. Edit matters: the best answer is often "yes, but smaller". Rejecting asks for a short reason. - Timeouts with a safe default: Every request has a deadline and a pre-agreed action if nobody answers. The default is the safest option, which is usually to hold, do nothing irreversible, and tell the customer honestly what happens next. - Escalation with a summary: When the agent should stop altogether and hand over, it gives the person a short summary: who, what they want, what has been tried, and the suggested next step. Then it steps back from that conversation. - A named owner for every queue: Each type of request goes to a named person or role, with a backup, working hours and a target response time. Someone watches the size of the queue. - Decisions feed back into evals: Every approval, edit and rejection is recorded with its reason. Edits and rejections become test cases, and patterns become new rules or better prompts. - Earning autonomy with evidence: A type of decision moves up a tier only when records show it is ready: many decisions, a high rate of approval without edits, no serious misses, and evals that pass. It moves back down after an incident. Eight principles of human-in-the-loop design: - Start in suggest, earn the rest: Every new type of decision starts with the agent suggesting and a person acting. It moves up a tier when the records show it is ready, and moves down after an incident. - Ask for a reason, not by habit: Pause for risk, irreversibility, novelty or weak data. If a request would almost always be approved unchanged, it should probably be a limit in code instead. - Measure confidence, don't ask for it: A model saying "I'm 95% sure" is not evidence. Use things the harness can check: how fresh the data is, whether the case looks like past cases, whether independent checks agree. - Bring the file, not just the question: Show what the agent wants, why, and the key facts with their sources, on one screen. Put anything unusual at the top, where it cannot be missed. - Always recommend, always allow edits: A clear recommendation saves time. An edit option turns "no" into "yes, but smaller", which is often the right answer. - Silence is never approval: Every request has an owner, a backup, a deadline and a safe default. The default is the action that can be improved on later and never has to be taken back. - Watch the watchers: Track how many requests each person gets, how fast they answer and how often they edit. Near-instant approvals of nearly everything usually mean the design needs fixing, not the people. - Every human decision should teach the agent: Record approvals, edits and rejections with reasons. Turn them into test cases and, where a pattern appears, into rules. FAQ: Q: What is human-in-the-loop in AI agents? A: Human-in-the-loop means a person reviews, approves or takes over some of an AI agent's decisions before or after they happen. Good human-in-the-loop design decides which decisions need a person, and gives that person the evidence, choices and time to make a real decision. Q: When should an AI agent ask a human for approval? A: When an action is high-risk, hard to undo, unusual, or based on weak or stale data. Write these triggers as rules the harness can check, such as amount limits and data age. Routine, reversible, low-risk actions should not need approval, or people will stop reading requests. Q: What is rubber-stamping in AI oversight? A: Rubber-stamping is when people approve an agent's requests without really reviewing them, usually because requests are too frequent, too similar or missing the information needed to judge. It keeps the cost of human review while losing most of the safety. Fewer, clearer requests and regular audits of approval behaviour help prevent it. Q: What are the levels of AI agent autonomy? A: A simple model uses three tiers. Suggest: the agent drafts and a person acts. Act within bounds: the agent acts alone inside limits enforced in code. Act and report: the agent acts freely, logs everything and people audit samples. Each type of decision earns its way up with evidence. Q: What should happen when a human does not respond to an agent in time? A: The request should expire and a pre-agreed safe default should run, which usually means holding anything irreversible and telling the customer honestly what happens next. The request should also move to a backup owner. Silence should never count as approval. Q: What is the difference between human-in-the-loop and human-on-the-loop? A: Human-in-the-loop usually means a person must approve an action before it happens. Human-on-the-loop usually means the agent acts on its own while a person monitors and can step in or reverse things. The terms are used loosely, so it helps to say exactly which decisions need approval before, and which are reviewed after. ### AI Skills 2027 · 10 Observability & Tracing URL: https://nimitsolanki.com/skills/observability-and-tracing.html Author: Nimit Solanki (Co-founder & CTO, estaie). Published 2026-12-02. Definition: Observability and tracing for AI agents is the practice of recording every step an agent takes (each model call, tool call, guardrail decision and human approval, with its inputs, outputs, timing, cost and versions) so any run can be inspected, replayed, audited and improved. Key points: - A trace is the full record of one task. It is made of spans: one for each model call, tool call, guardrail check and human decision, in order, with timing. - Record what the agent saw, what it proposed, what was allowed, what happened, how long it took, what it cost, and which versions of the prompt, model and tools ran. Remove personal data before it is stored. - Use traces three ways: alerts that tell you something is wrong today, debugging when a customer complains, and evals built from real runs. The nine parts of agent observability: - Traces and spans: One trace per task, with one span for each step inside it: model calls, tool calls, guardrail checks, human approvals. Spans nest and are timed, so you can see the order and where the time went. - Inputs and context: Record what the model was actually shown before each decision: which documents, which version of each, which past messages and which tool results. Store references and short extracts where the full text is large or sensitive. - Proposals and decisions: Record what the model proposed, what the harness allowed or blocked and which rule decided, and who approved what. Keep the proposal and the final action separate. - Version tags: Tag every trace with the exact versions that ran: prompt, model, tool definitions, rules, and key documents. Changes are then easy to line up with changes in behaviour. - Tokens, cost and latency: Record tokens used, estimated cost and time taken for every model call and tool call, and add them up per task, per agent and per customer journey. - Privacy and redaction: Remove or mask personal data such as card numbers, passport numbers, phone numbers and email addresses before traces are stored. Limit who can view traces and how long they are kept. - Dashboards and alerts: Turn trace data into a few numbers you watch and alert on: error rate, escalation rate, blocked actions, cost per task, and slow replies. Alerts link straight to example traces. - Replay and evals: Re-run a recorded trace against a new version, using the saved inputs and tool results, to check a fix. Good traces of real problems become permanent eval cases. - Open standards (OpenTelemetry): OpenTelemetry is an open, vendor-neutral standard for traces, metrics and logs. It is adding conventions for AI work, such as names for the model used and token counts. These GenAI conventions are still evolving. Eight principles of agent observability: - Trace every step, not just the answer: Model calls, tool calls, guardrail checks and human approvals each get a span. The final reply is the least useful thing to record on its own. - Record what the model saw: Most odd answers come from odd inputs. Keep which documents and which versions went into the context, by reference where they are large or sensitive. - Tag every trace with versions: Prompt, model, tools, rules and key documents. When behaviour changes, the first question is always "what else changed?" - Count tokens, cost and time per step: Totals tell you there is a problem. Per-span numbers tell you where it is. - Redact before you store: Strip card numbers, passport numbers and contact details before traces are written. Limit who can read traces, and delete them on a schedule. - Make traces findable by business IDs: People report problems with a booking number, a guest name or a date. If those are not searchable, your traces will sit unread. - Alert on what customers feel: Escalation rate, blocked actions, slow replies and cost per task. Link every alert to example traces so the first click is already the investigation. - Close the loop: trace, eval, improve: This is where the whole series meets. Context, tools, guardrails, memory, human approvals and loops all show up in the trace. The trace feeds your evals, your evals guard every change, and every change is traced again. That cycle is how an agent keeps getting better after launch. FAQ: Q: What is agent observability? A: Agent observability is the ability to see and understand what an AI agent did and why, at every step. It is built mainly on traces that record each model call, tool call, guardrail decision and human approval, with inputs, outputs, timing, cost and versions. It is what lets you debug, audit and improve an agent in production. Q: What is the difference between a trace and a span? A: A trace is the full record of one task, from the request coming in to the final result. A span is one step inside that trace, such as a single model call or tool call, with its own start time, end time and details. Spans can be nested inside each other to show which step caused which. Q: What should you log for an AI agent? A: For each step: what the model was shown, what it proposed, what the harness allowed or blocked and why, what each tool returned, how long it took, the tokens and cost, and which versions of the prompt, model, tools and rules ran. Record human approvals too. Remove personal data before storing. Q: What are the OpenTelemetry GenAI semantic conventions? A: They are a shared set of names, defined by the OpenTelemetry project, for describing AI operations in traces, such as the model requested and the number of input and output tokens. Using them means different tools can read your agent traces the same way. They are still evolving, so some names may change between versions. Q: How do you keep personal data out of AI agent logs? A: Redact or mask personal data such as card numbers, passport numbers, phone numbers and email addresses before a trace is stored, not afterwards. Keep references or statuses instead of raw values, limit who can read traces, and delete them after a set period that fits the data-protection rules where you operate. Q: How do traces help with AI agent evals? A: Real traces are the best source of eval cases. When a trace shows a mistake, you can save its inputs and tool results, replay it against a fixed version to prove the fix works, and add it to your golden dataset so the same mistake is caught before any future release. ## The Agentic AI Playbook (Free 7-Lesson Course) - [The Agentic AI Playbook — Overview](https://nimitsolanki.com/playbook/): Free 7-lesson email course on taking an AI agent from prototype to production without it ever making a decision you cannot undo. - [Lesson 1: Which Decisions an Agent Should Be Allowed to Make](https://nimitsolanki.com/playbook/lesson-1.html): Scoping agent autonomy by blast radius, reversibility, and risk tier before writing prompts. - [Lesson 2: Guardrails That Live Outside the Model](https://nimitsolanki.com/playbook/lesson-2.html): Why system-prompt rules fail and how to enforce deterministic policy, margin, and compliance checks in code outside the LLM. - [Lesson 3: Step Limits, So a Wrong Call Stays Small](https://nimitsolanki.com/playbook/lesson-3.html): Bounding per-action step sizes, rate limits, and financial caps so a bad inference cannot cause catastrophic loss. - [Lesson 4: Evaluation Before Anything Ships](https://nimitsolanki.com/playbook/lesson-4.html): Building golden evaluation sets, replay harnesses, and release gates before an agent touches live customers. - [Lesson 5: Cutting AI Cost 10x With a Model Cascade](https://nimitsolanki.com/playbook/lesson-5.html): Designing multi-tier routing where deterministic rules and small models handle filtering and frontier models only see high-value decisions. - [Lesson 6: Reversal Paths and Audit Trails](https://nimitsolanki.com/playbook/lesson-6.html): Logging every context input, proposal, guardrail check, and action with a 24-hour rollback path. - [Lesson 7: Real Incidents, and What We Changed](https://nimitsolanki.com/playbook/lesson-7.html): Post-mortems from real production agent incidents and the architectural changes they drove. - [Download Complete Playbook PDF](https://nimitsolanki.com/resources/downloads/agentic-ai-playbook.pdf): Full 7-lesson Agentic AI Playbook in PDF format. ## Course & Community - [Ship Your First Production Agent (Course Waitlist)](https://nimitsolanki.com/course.html): Waitlist for a six-week course, "Ship Your First Production Agent". - [The Builders Circle](https://nimitsolanki.com/community.html): A free founding group, by application, for people shipping AI agents. ## Free AI Safety & Governance Templates (HTML & PDF) - [Resources Index](https://nimitsolanki.com/resources/): Free worksheets, scorecards, and checklists for teams shipping production AI agents. - [Agent Readiness Scorecard](https://nimitsolanki.com/resources/agent-readiness-scorecard.html) ([PDF](https://nimitsolanki.com/resources/downloads/agent-readiness-scorecard.pdf)): Pre-launch readiness assessment across decision scope, guardrails, evals, rollback, and ownership. - [AI Safety Review Checklist](https://nimitsolanki.com/resources/ai-safety-review-checklist.html) ([PDF](https://nimitsolanki.com/resources/downloads/ai-safety-review-checklist.pdf)): Governance and safety sign-off checklist for AI systems that touch money or customers. - [Guardrail Design Template](https://nimitsolanki.com/resources/guardrail-design-template.html) ([PDF](https://nimitsolanki.com/resources/downloads/guardrail-design-template.pdf)): Blueprint for defining hard caps, step limits, escalation triggers, and reversal paths outside the model. - [Build vs. Buy Decision Sheet](https://nimitsolanki.com/resources/build-vs-buy-decision-sheet.html) ([PDF](https://nimitsolanki.com/resources/downloads/build-vs-buy-decision-sheet.pdf)): Practical framework for deciding which AI capabilities to build in-house as core IP versus buy off the shelf. ## Services & How to Work With Nimit Solanki Nimit Solanki is the full-time CTO of estaie and takes on a limited amount of advisory work (based in Dubai, UAE; in person across the UAE and GCC, remotely worldwide). Every paid engagement starts with an enquiry (https://nimitsolanki.com/contact.html), and all offers are listed in one place (https://nimitsolanki.com/work-with-me.html). ### 1. AI Safety Review - **URL:** https://nimitsolanki.com/ai-safety-review.html - **Best For:** Companies running or planning AI agents that touch money, pricing, payments, refunds, or customer communications. - **What It Covers:** A fixed-scope review of six things: which decisions the agent makes, the guardrails that live outside the model, the evaluation set it is tested on, when it hands over to a person, how a wrong decision is reversed, and the audit trail. - **Deliverable:** A written report the board can read. ### 2. CTO & AI Advisory - **URL:** https://nimitsolanki.com/cto-advisory.html - **Best For:** Non-technical founders, seed to Series A startups without a senior technology leader, and CEOs and boards needing an independent view on AI plans, vendors, and risks. - **What Is Delivered:** - **Technology & AI Strategy:** Where AI will move the numbers, build vs. buy, and an executable roadmap. - **Architecture & Code Reviews:** Stack, data and infrastructure review focused on what breaks first at scale. - **Engineering Hiring:** Team shape, job specs, interview loops, and assessing candidates, including a future full-time CTO. - **AI Safety & Governance:** Guardrails, evals, human review, and audit trails for AI that touches money or customers. - **Engagement Model:** One-off reviews, or ongoing monthly advisory with limited places. Advisory only: Nimit is the full-time CTO of estaie and does not take day-to-day ownership of client teams. ### 3. Expert Calls & Technical Due Diligence for Investors - **URL:** https://nimitsolanki.com/investors.html - **Best For:** Investors and funds assessing startups that make AI claims. - **What Is Delivered:** Expert calls, and technical due diligence on a startup's AI claims, architecture, and team before an investment; support for portfolio companies afterwards. ### 4. Workshops & Speaking - **URL:** https://nimitsolanki.com/speaking.html - **Best For:** Industry conferences, corporate leadership offsites, boards, and engineering teams. - **Formats:** Keynote (30 to 45 minutes), half-day workshop for leadership or engineering teams, board or executive briefing (60 to 90 minutes), podcasts and panels. - **Talks:** - *Agents That Touch Money:* The trust architecture that lets AI set prices, run outreach, and handle customers safely. - *AI Safety for Businesses:* What boards and leadership teams must put in place before AI is allowed to act. - *From Pilot to Production:* Why most agent pilots stall and the six controls that get them into production. - *Building AI Teams:* Hiring from zero to fifty, and the operating model that keeps shipping safe. - *Agentic Pricing and Sales:* How production agents doubled revenue per booking (10% to 22.98% take rate) and cut qualified lead costs 10x. ### 5. 1:1 Mentorship for Engineers & CTOs - **Book a mentorship call:** https://topmate.io/nimit_solanki/ - **Best For:** Startup CTOs, VPs of Engineering, engineering managers, tech leads, and senior engineers. - **Topics:** Production agentic AI and system architecture, scaling engineering teams from 0 to 50, and growing from senior engineer to CTO. ## Entity Disambiguation & Canonical Identity - **Canonical Person Entity (`https://nimitsolanki.com/#person`):** Nimit Solanki is a Dubai-based three-time founder and the Co-Founder & Chief Technology Officer (CTO) of **estaie** (`https://estaie.com`), working on **AI agents** and **AI safety**, member of **AI Safety UAE** (`https://aisafety.ae`), alumnus of the **Indian School of Business (ISB)** and **Gujarat University**, and formerly in AI and platform roles at **Careem (part of Uber)**, **Grab**, and **Deutsche Telekom**. - **Official Profiles:** - Website: https://nimitsolanki.com/ - Wikidata Entity: https://www.wikidata.org/wiki/Q141960855 - LinkedIn: https://www.linkedin.com/in/nimitsolanki - GitHub: https://github.com/nimitsolanki - Topmate: https://topmate.io/nimit_solanki/ - Company: https://estaie.com (Wikidata: https://www.wikidata.org/wiki/Q141960854) - **Official Photographs:** - Portrait (JPG): https://nimitsolanki.com/images/nimit-solanki.jpg - Portrait (WebP): https://nimitsolanki.com/images/nimit-solanki.webp - At Investopia 2026, Abu Dhabi (JPG): https://nimitsolanki.com/images/nimit-solanki-investopia-abu-dhabi.jpg ## Press, Media & Speaking - **Inc. Arabia:** [UAE-Based estaie Wraps Up Seven-Figure Pre-Seed Funding Round](https://en.incarabia.com/uaebased-estaie-wraps-up-7figure-preseed-funding-round-840123.html) - **Arabian Business:** [Startups Across the Gulf Continue to Secure Fresh Funding](https://www.arabianbusiness.com/abnews/startups-across-the-gulf-continue-to-secure-fresh-funding-despite-the-ongoing-conflict-in-the-region) - **FinSMEs:** [estaie Raises 7-Figure Pre-Seed Funding](https://www.finsmes.com/2026/04/estaie-raises-7-figure-pre-seed-funding.html) - **Middle East AI News:** [Dubai AI Travel Startup Raises Seven-Figure Pre-Seed](https://www.middleeastainews.com/p/dubai-ai-travel-startup-raises-seven) - **Dealroom:** [UAE's estaie Raises Seven-Figure Pre-Seed for AI-Powered Extended-Stay Booking Platform](https://app.dealroom.co/news/feed/uae-s-estaie-raises-seven-figure-pre-seed-for-ai-powered-extended-stay-booking-platform) - **Entrepreneur Middle East:** [Future 100 – 2025 Winner: estaie](https://mena.entrepreneur.com/entrepreneurs/future-100-2025-winner-estaie) - **Pulse 2.0:** [estaie: 7-Figure Pre-Seed Raised For Hospitality Technology Platform Expansion](https://pulse2.com/estaie-7-figure-pre-seed-raised-for-hospitality-technology-platform-expansion) - **StartupScene:** [Proptech estaie Raises Seven Figures in Pre-Seed for Saudi Expansion](https://scenenow.com/Business/Proptech-estaie-Raises-Seven-Figures-in-Pre-Seed-for-Saudi-Expansion) - **On stage:** Speaker, [DISx FTDS – Finance, Telecom & Digital Services Applied Innovation Summit](https://datainnovationsummit.com/disx/15-september-dubai/), Dubai, September 15, 2026. - **On stage:** Featured speaker, [Techstars Startup Week Tashkent 2026](https://week.techstarsuzbekistan.uz/en), Humo Arena, Tashkent, November 24–26, 2026. --- # COMPLETE SITE CONTENT & KNOWLEDGE BASE --- ## Speaking & Workshops Source URL: https://nimitsolanki.com/speaking.html SPEAKING # Talks on agentic AI, from someone who runs it Keynotes, workshops and board sessions on one question: how do you let AI act on its own without losing control? Real systems, real numbers, no hype. ## Talks - Agents that touch money. The trust architecture that lets an AI set prices, send outreach and handle customers without a human on every step. - AI safety for businesses. What boards and leadership teams actually need to put in place before AI is allowed to act. - From pilot to production. Why most agent pilots never ship, and the six controls that get them there. - Building AI teams. Hiring from zero to fifty, and the operating model that keeps shipping safe. - Agentic pricing and sales. How agents doubled revenue per booking and cut lead cost ten times. ## Formats - Keynote, 30 to 45 minutes - Half-day workshop for leadership or engineering teams - Board or executive briefing, 60 to 90 minutes - Podcasts and panels ## About the speaker Nimit Solanki is a 3x founder and CTO of estaie in Dubai. He builds AI agents that run real business decisions and previously led AI and platform delivery at Careem, Grab and Deutsche Telekom. 16+ years in tech, 300M+ users served. Member of AI Safety UAE. ## Planning an event? Send me the date, the audience and the format you have in mind. Get in touch: https://nimitsolanki.com/contact.html --- ## Contact Source URL: https://nimitsolanki.com/contact.html CONTACT # Let's talk Tell me about your company and the decision in front of you. ## What I can help with - AI Safety Review: guardrails, evaluation, human review and audit trails for AI that touches money or customers. https://nimitsolanki.com/ai-safety-review.html - CTO & AI advisory: where AI will move your numbers, what to build or buy, and the hard technology calls. https://nimitsolanki.com/cto-advisory.html - For investors: expert calls and technical due diligence. https://nimitsolanki.com/investors.html - Workshops & speaking: keynotes, workshops and board briefings. https://nimitsolanki.com/speaking.html - Mentorship: 1:1 for CTOs, engineering leads and senior engineers. Book a mentorship call: https://topmate.io/nimit_solanki/ ## Based in Dubai, United Arab Emirates. Calls in Gulf Standard Time (UTC+4), and I am flexible for other time zones. --- ## Case Study 1: Pricing Agent (10% to 22.98% Take Rate at estaie) Source URL: https://nimitsolanki.com/case-studies/agent-doubled-revenue-per-booking.html ## The problem Extended stays are priced differently from hotel nights. A 45-night booking in Dubai Marina has to be competitive against monthly rentals, serviced apartments and hotels at once, and the right price moves with demand, season, competitor supply and the guest's own history. A small team was setting these prices by hand across a fast-growing inventory. Pricing was slow, inconsistent, and left money on the table in both directions. ## What we built A pricing agent that sets the nightly rate for every stay request. For each request it reads more than 1,200 live signals: demand indicators, competitor rates for the same property on other platforms, seasonality, length of stay, lead time and guest context. It proposes a price change, then passes through a trust layer before anything is published. ## The trust layer - Step limits: no single decision may move a price by more than a bounded percentage per cycle. Larger proposals are clamped and flagged. - Floors and ceilings: hard price bounds per property, set by the business, enforced in code. - Parity checks: the agent cannot publish a price that breaks our positioning against the same home on booking sites. - Reversal path: every published price carries a snapshot of the previous one and a rollback window. - Audit trail: inputs, proposal, each guardrail result and the final action are logged for every decision. ## How autonomy was earned The agent started in suggest-only mode, scored against what the pricing team did. Once its proposals beat the manual baseline on a fixed evaluation set, it was allowed to act within tight step limits. The limits widened as the evidence grew. Today roughly 70% of pricing decisions execute without a human; the remaining 30% are exactly the moves that exceeded a limit and went to a person. That split is by design. ## Results Take rate more than doubled from 10% to 22.98%. Revenue per available room rose 12 to 18% and occupancy 8 to 12%, while the platform held 99.95% uptime. The pricing team moved from entering numbers to reviewing exceptions. ## What this means for you If a human in your business sets a number repeatedly, an agent can probably set it better. The work is not the model. The work is deciding the step limit, the floors, the reversal path and the evaluation set. That is what an AI safety review covers. --- ## Case Study 2: Sales Agent — Revana (10x Cheaper Qualified Leads at estaie) Source URL: https://nimitsolanki.com/case-studies/qualified-leads-at-a-tenth-of-the-cost.html ## The problem Corporate extended-stay demand hides in thousands of weak signals: relocations, project announcements, hiring surges, event calendars. Reading all of them with a frontier model would cost more than the leads are worth. Reading none of them means waiting for inbound. ## What we built Revana is a lead intelligence agent that detects buying intent, enriches and qualifies prospects, and carries outreach through to close. The economics work because of a cascade: cheap models do the sorting, and the expensive model only sees what survives. | Tier | What runs | Passes through | | --- | --- | --- | | 1 | Embedding similarity filter against known buyer patterns | About 28% | | 2 | Lightweight classifier on intent and fit | About 9% of the original | | 3 | Frontier model with research tools, writes the outreach | Only what matters | ## The trust layer - No outreach to existing customers or active conversations, checked in code against the CRM. - Claims and tone policy enforced on every message before it is queued. - Daily send caps per segment and per agent. - Two human moments: one to approve a new segment, one before a deal closes. Everything else is autonomous and logged. ## Results Cost per qualified lead fell about ten times compared with running a single frontier model over every signal, with better precision because each tier is measured on its own false negatives. A live qualified pipeline existed within 90 days of launch. Revana is now being productised for other businesses. ## What this means for you If your AI bill is growing faster than your results, you probably have a cascade to build. Most inputs are obviously irrelevant; a few deserve real thought. Pay frontier prices only for the few. --- ## Case Study 3: Market Intelligence Agent (32% Cheaper All-In Price at estaie) Source URL: https://nimitsolanki.com/case-studies/always-priced-below-the-competition.html ## The problem The same apartment is often listed on several platforms under different names, photos and fee structures. Knowing whether estaie is actually cheaper for a guest means matching listings, not just comparing headline rates. ## What we built A market intelligence agent that scans rival platforms, identifies the same physical property from address, photos and amenities, and benchmarks the all-in price for the same dates and length of stay. Results feed the pricing agent and the guest-facing comparison. ## The trust layer This agent is deliberately not allowed to change prices. It observes and hands off. That separation matters: an intelligence error becomes a wrong benchmark, never a wrong price. Benchmarks only count above a confidence threshold, and every match is stored with its evidence so it can be checked. ## Results estaie's all-in prices sit about 32% below comparable listings on booking sites, and the business knows it continuously rather than from a quarterly spreadsheet. ## What this means for you Not every agent should act. Some of the most valuable ones only watch, and the safest architecture keeps the watcher and the actor apart. --- ## Case Study 4: Smart Search Co-Pilot (55% Repeat Booking Rate at estaie) Source URL: https://nimitsolanki.com/case-studies/search-assistant-guests-come-back-to.html ## The problem Finding a two-month stay is not like booking a hotel night. Guests care about quiet, commute, a gym, a high floor, a kitchen that works. Filters do not capture that. Conversations do. ## What we built A guest-facing assistant on top of a Customer 360: prior stays, stated preferences, browsing behaviour and context. It retrieves candidate homes, ranks them, and asks one clarifying question when it is unsure rather than guessing. ## The trust layer - Never shows a home that is unavailable for the requested dates, checked against live inventory. - The price shown is the price charged. No estimates. - No sensitive data in any reply, enforced by an output filter. ## Results More than 197,000 new users in the year, almost entirely organic, and 55% of guests book again. The assistant is now the main way guests find homes on estaie. ## What this means for you Customer-facing agents live or die on trust in small things: availability, price truth, privacy. Get those three right in code and the model can be generous with everything else. --- ## Case Study 5: AI Insights (+40% Customer Retention at Careem) Source URL: https://nimitsolanki.com/case-studies/ai-insights-that-kept-40-percent-more-customers.html ## The context Careem is the super app of the Middle East, part of Uber. As Senior Technical Program Manager for Data and AI, I led delivery of AI and data platform initiatives across the app, partnering with engineering and product leadership on AWS with Amazon SageMaker. ## What we delivered - AI insight systems: customer and operational insights that raised engagement 30% and retention 40%. - Careem Galileo: the experimentation and A/B testing platform. - Careem Insights: knowledge discovery and visualisation. - SmartAuth: fraud prevention. - Careem QUIK: scaled quick commerce from 1 to 8 stores and 80% Dubai coverage in six months, with order success up 6 to 9%, delivery times down 12 to 18%, and 99.95% uptime. - Careem and Uber data segregation: led the large-scale data migration and platform integration work that separated and governed data between the two companies after the acquisition. ## What it taught me At super app scale, the model is never the bottleneck. Data quality, platform reliability, governance and the ability to measure an effect are. Every trust principle on this site started here. --- ## Case Study 6: Support Automation (-30% Resolution Time at Grab) Source URL: https://nimitsolanki.com/case-studies/support-tickets-resolved-30-percent-faster.html ## The context Grab is Southeast Asia's super app. As Senior Technical Program Manager, I led technology product initiatives across ride-hailing and customer support, launching data-driven features and AI tools with quality loops: evaluation metrics, guardrails and quarterly reviews. ## What we delivered - Grab Support Bot: a chatbot platform integrated with workflows, CRM and knowledge systems, reducing operational cost 15% and resolution time 30%. - Cloud efficiency: a 15% reduction in AWS spend across ride-hailing services. - Operating model: evaluation metrics and guardrails as a standing part of each quarter's plan, years before "AI safety" was a job title. ## What it taught me A support bot is a production agent with a human in the loop. The habits that made it work, measure every change, bound what it can do, keep a path to a person, are the same habits that let agents act alone today. --- ## Playbook Overview: The Agentic AI Playbook Source URL: https://nimitsolanki.com/playbook/ FREE EMAIL COURSE # The Agentic AI Playbook Seven lessons on taking an AI agent from prototype to production without it ever making a decision you cannot undo. Written from running agents that set prices, find customers and handle guests every day. Get it by email Download the PDF - Which decisions an agent should be allowed to makeStart with the decision, not the model. Most agent projects fail because nobody wrote down what the agent is allowed to do. - Guardrails that live outside the modelA rule inside the prompt is a suggestion. A rule in code is a guardrail. Know the difference and build both. - Step limits, so a wrong call stays smallThe most useful guardrail is boring: no single decision may move anything by more than a bounded amount. - Evaluation before anything shipsIf you cannot score a change against a fixed set of real cases, you do not know what you shipped. - Cutting AI cost 10x with a model cascadeMost of the work an agent does is sorting, not thinking. Do not pay frontier prices for sorting. - Reversal paths and audit trailsEvery action an agent takes should be undoable for a window, and explainable forever. - Real incidents, and what we changedThree things that went wrong running agents in production, and the fix for each. Names and numbers simplified. ## Who this is for Founders deciding whether to let AI act in their business. CTOs and engineering leads building their first production agent. Product and operations people who will own the decisions an agent makes. ## Get the Playbook by email Seven lessons, one a day. Free. You may also hear about my course and consulting. Opt out any time. Email Send me the Playbook Your email is never shared. ## Want this applied to your company? Tell me about your company and the decision in front of you. If I'm not the right fit, I'll say so. Get in touch: https://nimitsolanki.com/contact.html --- ## Playbook Lesson 1: Which Decisions an Agent Should Be Allowed to Make Source URL: https://nimitsolanki.com/playbook/lesson-1.html Every agent project I have seen go wrong went wrong at the same step: someone connected a capable model to a real system without first deciding which decisions that model was allowed to make on its own. The model was fine. The permission was missing. ## The decision inventory Before you write a line of orchestration code, list every decision the agent will touch. For each one, answer four questions: - What does a wrong answer cost? A wrong product recommendation costs a click. A wrong refund costs money. A wrong price costs money and trust. - Can it be undone? An email cannot be unsent. A price can be reverted. A refund can be reversed within a window if you design for it. - How often does it happen? A thousand decisions an hour cannot have a human on each one. Ten a day can. - Who owns it today? If a person owns it now, that person is your evaluator later. ## Three tiers of autonomy | Tier | The agent may | Example | | --- | --- | --- | | Suggest | Draft, score, rank. A human acts. | Reply drafts, lead scoring, price suggestions | | Act within bounds | Act alone inside hard limits set in code | Refunds under a cap, price moves under a step limit | | Act and report | Act freely, log everything, humans audit samples | Search ranking, internal routing | Every decision starts in Suggest. It earns its way to the next tier with evidence, which is what lessons 3 and 4 are about. Do this today: write the decision inventory for one agent you are building or buying. One page. If you cannot fill in the "wrong answer cost" column, you are not ready to automate it. --- ## Playbook Lesson 2: Guardrails That Live Outside the Model Source URL: https://nimitsolanki.com/playbook/lesson-2.html "We told the model not to do that" is the sentence I hear most often after an incident. Instructions in a prompt shape behaviour; they do not guarantee it. A guardrail is a check the model cannot talk its way around because the model never gets to see it. ## Where guardrails sit - Before the model: input validation, allow-lists, rate limits, PII stripping. - Around the model: tool permissions. The agent only has the tools you hand it, scoped to the minimum. - After the model: output checks in plain code. Caps, floors, ceilings, policy rules, format validation. - At the action: the system that executes the action re-validates. Never trust the orchestrator alone. ## The refund example In the demo on my homepage, the agent proposes a refund amount. Three checks run after it, in code, with no model involved: a per-agent cap, a fraud score threshold, and a policy check. If any fails, the money does not move. The model's opinion is an input to that pipeline, never the final word. ## Writing a guardrail ``` def check_refund(proposal, order, customer): if proposal.amount > CAP_PER_AGENT: return clamp(proposal, CAP_PER_AGENT, reason="cap") if customer.fraud_score > FRAUD_LIMIT: return route_to_human(proposal, reason="fraud_score") if not policy_allows(order, proposal): return reject(proposal, reason="policy") return approve(proposal) ``` Notice what is not here: no prompt, no model call, no natural language. That is the point. Do this today: for each decision in your inventory, write the three checks that must pass in code before the action executes. If you can only think of prompt instructions, you have a suggestion, not a guardrail. --- ## Playbook Lesson 3: Step Limits, So a Wrong Call Stays Small Source URL: https://nimitsolanki.com/playbook/lesson-3.html A pricing agent that can set any price is terrifying. A pricing agent that can move a price by at most 8% per cycle is a colleague. Same model, same data. The difference is one number. ## Why step limits work Agents fail in two ways: they are wrong, or they are wrong repeatedly in the same direction. A step limit makes the first harmless and the second visible. If a price drifts 8% a day for four days, a human sees a 30% move in the dashboard and asks why, long before it becomes a catastrophe. ## Choosing the step - Start with the largest change a competent human would make without asking anyone. - Halve it for the first month. - Widen it only when your evaluation data says the agent's moves were right more often than the humans' were. ## Step limits for things that are not prices | Domain | Step limit | | --- | --- | | Outreach | Max sends per day, per segment, per agent | | Refunds | Max amount per decision, max total per hour | | Inventory | Max units reallocated per run | | Content | Max pages changed per publish | At estaie, step limits let the pricing agent automate roughly 70% of pricing work. The remaining 30% is exactly the moves that exceeded the limit and went to a person. That split is a feature. Do this today: add one number to each decision in your inventory: the maximum change per cycle. Put it in config, not in the prompt. --- ## Playbook Lesson 4: Evaluation Before Anything Ships Source URL: https://nimitsolanki.com/playbook/lesson-4.html Teams evaluate agents by trying a few prompts and nodding. Then they change the model, the prompt or a tool, try a few more prompts, and nod again. Nobody can say whether the agent got better. The fix is an evaluation suite, and it is cheaper than it sounds. ## Build the suite from real cases - Collect 50 to 200 real inputs the agent will face. Not synthetic. Real orders, real tickets, real listings. - For each, record what a good decision looks like. Often this is what your best human did. - Write a scorer. Exact match where possible, a rubric where not. - Run every change through it. Prompt edit, model swap, new tool, all of it. ## What to measure - Decision accuracy: did it choose what the human would have? - Guardrail hits: how often did a check fire? Rising hits mean the agent is drifting. - Cost per decision: tokens and tool calls. - Latency: customers notice. ## The eval suite is the spec Once it exists, the eval suite becomes the contract between the model team and the business. The business says "it must get these cases right". Engineering says "it does, here is the score". Arguments about whether the agent is "good enough" turn into a number. Do this today: pull 50 real cases from last month, label them, and run your current agent. The score will surprise you. --- ## Playbook Lesson 5: Cutting AI Cost 10x With a Model Cascade Source URL: https://nimitsolanki.com/playbook/lesson-5.html Revana, the lead intelligence agent at estaie, reads thousands of signals to find a handful of real buyers. Sending every signal to a frontier model would cost more than the leads are worth. Instead it runs a cascade, and the cost per qualified lead dropped ten times with better precision. ## The three tiers | Tier | What runs | Share of traffic | Cost | | --- | --- | --- | --- | | 1 | Embedding similarity filter | 100% in, ~28% out | Near zero | | 2 | Small classifier or small model | 28% in, ~9% out | Cents | | 3 | Frontier model with tools | 9% in | Real money, worth it | ## Rules for a good cascade - Each tier must be allowed to say "not sure" and pass the item up, never down. - Measure precision and recall at every tier with the eval suite from lesson 4. A cheap filter that drops good leads is not cheap. - Log what each tier dropped. Sample the drops weekly. That is where your false negatives hide. ## Where cascades apply Support triage, lead qualification, content moderation, document routing, search re-ranking. Any flow where most inputs are obviously irrelevant and a few deserve real thought. Do this today: look at your agent's last 1,000 calls. What fraction needed a frontier model to decide? If it is under half, you have a cascade to build. --- ## Playbook Lesson 6: Reversal Paths and Audit Trails Source URL: https://nimitsolanki.com/playbook/lesson-6.html The question a board asks after an AI incident is not "why did the model do that?" It is "can we undo it, and can we see what happened?" If both answers are yes, the incident is a Tuesday. If either is no, it is a crisis. ## Reversal paths - Snapshot before acting. The price before the change. The ticket state before the reply. The ledger before the refund. - A rollback window. 24 hours is a good default. Within it, one click restores the snapshot. - Batch rollback. If an agent made 400 bad decisions overnight, you need to reverse them as a group, by agent and time range, not one at a time. ## The audit record For every decision, store: the inputs the agent saw, the proposal it made, every guardrail that ran and its result, the final action, who or what approved it, and the snapshot. Keep it in a place the agent cannot write to. ``` { "decision_id": "px-20261017-0412", "agent": "pricing", "inputs": {"demand_index": 0.84, "competitor_gap": -4}, "proposed": {"change_pct": 11}, "guardrails": [{"step_limit": "clamped to 8"}, {"floor": "ok"}, {"parity": "ok"}], "action": {"change_pct": 8, "new_price": 412}, "snapshot": {"old_price": 381}, "reversible_until": "2026-10-18T04:12:00+04:00" } ``` This record is also what makes governance possible. Compliance, finance and customers can all be answered from it. Do this today: pick one agent action and write the snapshot and audit record for it. If the action cannot be snapshotted, it should not be autonomous yet. --- ## Playbook Lesson 7: Real Incidents, and What We Changed Source URL: https://nimitsolanki.com/playbook/lesson-7.html Nobody posts about the incidents. They are the most useful part. Here are three patterns I have lived through, described generically so the lesson survives. ## 1. The confident wrong move What happened: an agent proposed a large change on thin data, with a perfectly reasonable explanation. The explanation was convincing. The data was not. What we changed: step limits (lesson 3) so the move was capped, and a data-sufficiency check before the model ran. Fewer than N signals means the agent may suggest but not act. ## 2. The drift nobody noticed What happened: after an upstream data source changed its format, the agent's decisions slowly got worse over two weeks. No single decision looked wrong. What we changed: guardrail-hit rate on a dashboard with an alert. Drift shows up as rising hits long before it shows up in revenue. Plus the eval suite (lesson 4) runs nightly against fresh cases, not just at release. ## 3. The tool it should not have had What happened: an agent used a tool for a purpose nobody intended, because the tool was available and the task was ambiguous. What we changed: minimum tool scope per agent (lesson 2), and a tool-use log reviewed weekly. Every tool call is a decision too. ## The pattern In all three, the model was not the problem. The missing piece was always a boring control around it. That is the whole playbook in one sentence: production agentic AI is about 20% model and 80% trust design. Do this today: write down the incident you are most afraid of with your agent. Then check which of lessons 1 to 6 would have caught it. If none, that is your next task. ## What next If you want this applied to your company, that is what I do: AI safety reviews, AI strategy, and mentoring the engineers who have to build it. Get in touch: https://nimitsolanki.com/contact.html Building agents without a senior technology leader? I also work as a CTO and AI advisor for founders, boards and investors, without you making a full-time hire: https://nimitsolanki.com/cto-advisory.html --- ## Resource 1: Agent Readiness Scorecard Source URL: https://nimitsolanki.com/resources/agent-readiness-scorecard.html Score each question 0 (no), 1 (partly) or 2 (yes). Total the column. | # | Question | Score | | --- | --- | --- | | 1 | Is the decision written down, with its inputs and outputs? | | | 2 | Do we know what a wrong answer costs, in money or trust? | | | 3 | Can the action be undone within a window? | | | 4 | Do we have 50+ real past cases with a known good answer? | | | 5 | Is there a named human who owns this decision today? | | | 6 | Can we enforce hard bounds (caps, floors, step limits) in code? | | | 7 | Can the agent be given only the tools it needs, nothing more? | | | 8 | Can we log inputs, proposal, guardrail results and action for every decision? | | | 9 | Is there a clear rule for when to escalate to a human? | | | 10 | Can we measure accuracy and cost per decision weekly? | | | 11 | Would compliance, finance and customers accept the audit record? | | | 12 | Is there a kill switch a non-engineer can pull? | | ## Reading the score - 0 to 11: suggest-only. Let the agent draft; a human acts. - 12 to 19: act within bounds. Tight step limits, daily review. - 20 to 24: act and report. Sampling audits, weekly review. --- ## Resource 2: AI Safety Review Checklist Source URL: https://nimitsolanki.com/resources/ai-safety-review-checklist.html ## 1. Scope and permissions - Decision inventory exists and is current - Each decision has an autonomy tier - Tools per agent scoped to minimum - No agent can call another agent's tools - Data access limited to what the decision needs - PII stripped or masked before the model ## 2. Guardrails - Hard bounds (caps, floors, ceilings) in code - Step limits per decision cycle - Rate limits per agent, per segment - Policy checks after the model, before the action - Executing system re-validates independently - Guardrail-hit rate is monitored and alerted ## 3. Evaluation - Fixed evaluation set of real cases, 50+ - Scorer defined per decision - Every change runs the suite before release - Suite re-run nightly on fresh cases - Cascade tiers measured for false negatives - Cost and latency per decision tracked ## 4. Reversal and audit - Snapshot before every action - Rollback window defined and tested - Batch rollback by agent and time range - Audit record: inputs, proposal, guardrails, action, approver - Audit store is append-only and agent cannot write to it - Records retained per policy ## 5. Governance - Named owner per agent - Escalation rules documented - Human-in-the-loop points defined - Compliance and legal have reviewed the audit format - Customer-facing disclosures in place - Vendor and model terms reviewed ## 6. Operations - Kill switch, tested, usable by non-engineers - Incident runbook exists - On-call knows the agent exists - Dashboards: decisions, hits, cost, accuracy - Weekly sample review of decisions - Monthly review of tool-use logs --- ## Resource 3: Guardrail Design Template Source URL: https://nimitsolanki.com/resources/guardrail-design-template.html ## Decision Name: ____________________ Owner: ____________________ Inputs the agent sees: ______________________________________ Action it may take: ______________________________________ ## Bounds (enforced in code) | Bound | Value | On breach | | --- | --- | --- | | Maximum change per cycle (step limit) | | clamp / escalate | | Floor | | reject | | Ceiling | | reject | | Rate limit | | queue | | Minimum data required to act | | suggest only | ## Policy checks (after the model, before the action) - ______________________________________ - ______________________________________ - ______________________________________ ## Escalation Route to a human when: ______________________________________ Who: ____________________ Within: ________ ## Reversal Snapshot of: ____________________ Rollback window: ________ ## Evaluation Scorer: ______________________ Pass threshold: ________ Eval set size: ________ ## Sign-off Engineering ________ Business owner ________ Compliance ________ Date ________ --- ## Resource 4: Build vs. Buy Decision Sheet Source URL: https://nimitsolanki.com/resources/build-vs-buy-decision-sheet.html Score each 1 to 5. Higher favours building. | # | Question | 1 (buy) | 5 (build) | Score | | --- | --- | --- | --- | --- | | 1 | Is this capability core to how we win? | Commodity | Our edge | | | 2 | Do we have proprietary data a vendor cannot? | No | Years of it | | | 3 | How fast must it change? | Stable | Weekly | | | 4 | Do we have engineers who have shipped this before? | No | Yes | | | 5 | Can a vendor meet our guardrail and audit requirements? | Easily | Not at all | | | 6 | Total cost over 3 years, vendor vs build and run? | Vendor far cheaper | Build far cheaper | | | 7 | Lock-in risk if the vendor changes terms or dies? | Low | Severe | | | 8 | Time to value? | Vendor: weeks | Similar | | | 9 | Integration depth with our systems? | Shallow | Deep | | | 10 | Will we learn something strategic by building? | No | Yes | | ## Reading the score - 10 to 24: buy, and spend your effort on the guardrails around it. - 25 to 37: pilot both for 90 days with the same evaluation set, then decide. - 38 to 50: build, starting in suggest-only mode.