# Vatan > Vatan builds AI products and agents on your company’s own data, trains your people to run them, and delivers on a platform already in production. It also runs a self-serve gateway: one OpenAI-compatible endpoint in front of many models, paid per token from a prepaid balance. ## For AI agents MCP server: https://mcp.vatan.one/mcp API reference as Markdown: https://vatan.one/docs.md - [Vatan MCP](https://vatan.one/docs#mcp): Let a coding assistant work in your workspace through three tools. You sign in once in the browser. Server: https://mcp.vatan.one/mcp - [API documentation: endpoint, headers and errors](https://vatan.one/docs.md): The endpoint, the headers the gateway reads, the errors it returns and the two-line change that points an existing client at it. - [Your first call](https://vatan.one/docs#start): One base URL and one key. Everything else on this page is optional. - [Authentication](https://vatan.one/docs#auth): A bearer key, and the budget, rate limit and address allowlist it carries. - [Endpoints](https://vatan.one/docs#endpoints): What the gateway serves, and the shape each one speaks. - [Media, 3D and training](https://vatan.one/docs#media): How to call the picture, speech, video, 3D and training models, including the ones from fal, and what they refuse. - [Realtime voice](https://vatan.one/docs#realtime): A live spoken conversation with OpenAI's realtime models over a WebSocket, open to every workspace. - [Clients that work unchanged](https://vatan.one/docs#clients): What a two-line change gets you, and the one client that needs a specific endpoint. - [Google GenAI SDK](https://vatan.one/docs#gemini): What `google-genai` can do through this gateway, and what it cannot. - [Structured output](https://vatan.one/docs#structured-output): Getting JSON back that matches a schema you wrote, on either door. - [Thinking](https://vatan.one/docs#thinking): Asking a reasoning model how hard to think, and reading what it cost. - [What comes back](https://vatan.one/docs#headers): The headers on a response, and the one header you can send. - [Routes and fallbacks](https://vatan.one/docs#routes): A ladder of models under one name, so a provider outage is a slower answer rather than an error. - [Stored prompts](https://vatan.one/docs#prompts): A prompt kept here and referred to by name, so changing it does not mean a deploy. - [Caching](https://vatan.one/docs#caching): An identical question answered from the last answer, and a near-identical one if you ask for that. - [Attribution](https://vatan.one/docs#tags): Your own dimensions on the usage row, so spend can be grouped by team, feature or customer. - [A daily limit for each of your users](https://vatan.one/docs#end-users): One key serves all your users, and one of them cannot spend what was meant for the rest. - [Batches](https://vatan.one/docs#batches): A list of requests run by us, with no connection held and no loop of your own to get right. - [Batches from a file](https://vatan.one/docs#batch-files): Upload a file of requests, run it as a batch, and download the answers as files. - [Batch statuses](https://vatan.one/docs#batch-statuses): What `status` says at each stage, in the words the OpenAI SDKs expect. - [Batch refusals](https://vatan.one/docs#batch-errors): Every refusal creating a batch can answer with, in the words it uses. - [Workflows](https://vatan.one/docs#workflows): A workflow you drew in the console, called from your own product with the same key. - [Workflow guardrails](https://vatan.one/docs#workflow-guardrails): What a workflow checks on the way in and out. - [Errors](https://vatan.one/docs#errors): The shape, and what each status actually means here. - [What it costs](https://vatan.one/docs#money): How a price is arrived at, and what stops a runaway loop. - [Webhooks](https://vatan.one/docs#webhooks): Told rather than polled, for the handful of things worth being told about. - [Channels](https://vatan.one/docs#channels): Your own bot on Telegram, Bale, Slack, Microsoft Teams, WhatsApp, Instagram or Messenger, answered by a workflow or an agent. Switched on per account. - [What an API key cannot do](https://vatan.one/docs#boundary): The line between spending and administering, and why it is drawn where it is. ## Start here - [Applied AI, built on your data with your team](https://vatan.one/index.md): Vatan builds AI products and agents on your company’s own data, trains your people to run them, and delivers on a platform already in production. - [AI platform: gateway, chat, knowledge and agents](https://vatan.one/products.md): A self-serve AI gateway, plus Assistant, Knowledge, Agents, Workflows, Widgets, Market and GTM, each switched on per account. - [AI services and dedicated LLMs](https://vatan.one/services.md): A ten-day AI Opportunity Scan, a two-week Agent Sprint, AI Enablement by cohort, and a dedicated LLM on a server rented for your company alone. - [Pricing: pay per token from a prepaid balance](https://vatan.one/pricing.md): Pay per token from a prepaid balance. No platform fee, no seat, no subscription and no minimum. - [Models and prices, read from the gateway](https://vatan.one/models.md): Every model this gateway can serve now, which provider each comes from and what each costs per 1M tokens. - [About Vatan: the company and its founders](https://vatan.one/about.md): Who Vatan is: the company, the founders, the registration number and why we built the platform we run. - [Contact Vatan: tell us what you are building](https://vatan.one/contact.md): Tell us what you are putting into production and what stopped the last attempt. A person reads it and replies. ## Trust and security - [Trust and security: answers for your review](https://vatan.one/trust.md): Where your prompts go, what is stored, what redaction can and cannot find, and every sub-processor that can receive your content. - [How we handle your data](https://vatan.one/data.md): Held in Falkenstein, Germany. A prompt goes to the model you choose, kept conversations are encrypted per workspace, and masking is yours to switch on. - [Support and severities](https://vatan.one/support.md): How to reach us, who reads a report, what counts as a P1, and where to find the documentation and the live platform status. ## Products - [AI gateway: one API in front of every model](https://vatan.one/products/gateway.md): One endpoint in front of every model, with per-key rate limits, a credit balance that refuses at zero, and every call metered with its tokens, cost and… - [AI assistant for your team, on any model](https://vatan.one/products/assistant.md): An assistant on any model the gateway serves, with projects, a shared prompt library and tools for search, images and your own usage. Switched on per account. - [AI search over your company documents](https://vatan.one/products/knowledge.md): Search your own documents by meaning and by exact words, with the source attached to every result. Switched on per account. - [AI agents that run on a schedule](https://vatan.one/products/agents.md): Saved instructions that run on their own, now or on a schedule, and deliver the result where you work. Switched on per account. - [AI workflows: draw a process, call it by API](https://vatan.one/products/workflows.md): Draw a process on a canvas, then call it with an API key like any model. Switched on per account. - [AI chat widget for your own website](https://vatan.one/products/widgets.md): A chat on your own website, answering from a workflow you choose, installed with one script tag. Switched on per account. - [Market map: the companies in your market](https://vatan.one/products/market.md): A living map of the companies in your market, read from public sources, with every change dated and linked. Switched on per account. - [Account list: who to contact this week, and why](https://vatan.one/products/gtm.md): Your best-fit accounts, the few to contact this week and why, and what each message produced. Switched on per account. - [AI meeting notes in Persian and English](https://vatan.one/products/meetings.md): Notes from your meetings in Persian and English, with the decisions and who does what by when. Switched on per account. ## Solutions - [AI solutions by industry and function](https://vatan.one/solutions.md): Where an AI programme stalls in financial services, insurance, the public sector, healthcare and legal, and what the first funded work looks like. - [AI for financial services that risk can sign off](https://vatan.one/solutions/financial-services.md): AI workflows your second line can sign off. Workflows and agents for lending, risk, service and operations, traced step by step, where a person decides. - [AI for insurance claims, a person deciding](https://vatan.one/solutions/insurance.md): Claims work, with a person on every decision. Workflows and agents for claims and underwriting teams, where the decision to settle stays with a person. - [AI for the public sector: casework and letters](https://vatan.one/solutions/public-sector.md): AI spend every department can account for. Workflows and agents for public bodies, where every step is traced and a person decides. - [AI for healthcare paperwork, not the diagnosis](https://vatan.one/solutions/healthcare.md): AI for the paperwork, not the diagnosis. Workflows and agents for healthcare administration, where a clinician or staff member reviews every output. - [AI for legal document review, a lawyer deciding](https://vatan.one/solutions/legal.md): Document review, with each matter costed. Workflows and agents for legal teams, where a person reviews every output and every call shows its cost. - [AI for telecom back-office work](https://vatan.one/solutions/telecommunications.md): Telecom back-office work, traced step by step. Build and test billing, outage and network workflows in an Agent Sprint; system links are built per customer. - [AI for utilities: billing, outage and field work](https://vatan.one/solutions/utilities.md): Build and test billing, outage and field report workflows in an Agent Sprint; system links are built per customer. - [AI for retail: suppliers, stores and shoppers](https://vatan.one/solutions/retail.md): Retail workflows for suppliers, stores and shoppers. Build and test shopper, supplier and store workflows in an Agent Sprint, where a person reviews every… - [Customer-facing AI on a budget that cannot run away](https://vatan.one/solutions/customer-facing-ai.md): Customer-facing AI runs at volumes internal tools never reach, so the spend cap is a product decision. Each surface gets a key, a ceiling, a budget and a… - [AI for customer operations: what to automate](https://vatan.one/solutions/customer-operations.md): The measure that matters is resolution without a repeat contact. An Agent Sprint tests which tickets are safe to automate on your own history, in two weeks. - [AI for employee productivity, on your own keys](https://vatan.one/solutions/employee-productivity.md): With no alternative offered, staff paste company data into consumer tools. The alternative is an endpoint your applications call, keys you revoke and a bill… - [AI for supply chain documents and decisions](https://vatan.one/solutions/supply-chain.md): Purchase orders, delivery notes, supplier letters and spec sheets are unstructured data with money attached. Unglamorous, often high-return, and an Agent… - [AI for sales: which companies to sell to, and when](https://vatan.one/solutions/sales-and-market-intelligence.md): The sign that a company is ready to buy sits on public pages nobody reads in time. Market reads them on a schedule, and GTM turns them into a weekly list. ## Use cases - [Use cases: what we build with you](https://vatan.one/use-cases.md): Intake to decision, answers from documents, letters from forms, and chat agents, each tested in an Agent Sprint. - [AI intake: from a form to a decision](https://vatan.one/use-cases/intake-to-decision.md): From a form to a decision, every request kept. Each request becomes a row, your approvers decide, and the sender is emailed. - [Answers from your documents, with sources](https://vatan.one/use-cases/answers-from-documents.md): Answers from your own documents, with their sources. Each answer names its sources, and a person takes over when nothing fits. - [Letters written from a form, sent as a PDF](https://vatan.one/use-cases/letters-from-forms.md): A letter for every form, written and sent. Each form fills your letter, sent back as a PDF. - [AI billing agent on Telegram and WhatsApp](https://vatan.one/use-cases/billing-agent.md): A billing agent your customers can message. It answers bill questions on Telegram and WhatsApp, once it knows who it is talking to. - [AI lead agent that quotes and books visits](https://vatan.one/use-cases/lead-agent.md): A lead agent that quotes and books. It collects a prospect’s details, asks your system for a quote, and books a visit. - [AI IT helpdesk for every branch and site](https://vatan.one/use-cases/it-helpdesk.md): An IT helpdesk for every branch and site. Staff message it about a fault, and it fixes or tickets it. - [AI payment reminders that handle the reply](https://vatan.one/use-cases/collections.md): Payment reminders that listen to the reply. A campaign sends each reminder, and the agent handles what people write back. ## Services - [AI Opportunity Scan: a fundable plan in ten days](https://vatan.one/services/ai-opportunity-scan.md): Ten working days from "AI matters" to a portfolio you can fund. Fixed scope, ten working days, one fixed fee. - [Agent Sprint: an AI pilot on one real process](https://vatan.one/services/agent-sprint.md): One real process. Two weeks to see how much of it AI can do. Fixed scope, two to five weeks, one process, one fixed fee. - [AI training for employees: live workshops](https://vatan.one/services/ai-enablement.md): Technology alone does not change a company. Its people do. Live workshops, in-house or open, tailored to your function. - [Dedicated LLM on a server for your company alone](https://vatan.one/services/dedicated-llm.md): A private open-weight model, on a server rented for your company alone. An enterprise engagement, scoped with you after a pilot on your own documents. ## Resources - [Guides to enterprise AI](https://vatan.one/resources.md): Practical guides for putting AI into production: an EU AI Act checklist, what an AI gateway is for, and evaluation that blocks a release. - [The EU AI Act, as a checklist](https://vatan.one/resources/eu-ai-act-checklist.md): Most AI Act material explains the law. This explains the work: what to inventory, how to classify, what evidence to keep and what to do about the systems you… - [What an AI gateway is, and when you need one](https://vatan.one/resources/ai-gateway-explained.md): An AI gateway sits between your applications and every model provider. This is what it does, what it costs you not to have one, and how to tell whether you… - [Evaluation that actually blocks a release](https://vatan.one/resources/evaluation-that-blocks-releases.md): Almost every team measures model quality. Almost none of them stop a deploy because of it. The difference is organisational, not technical. - [Rolling out an AI assistant to a whole company](https://vatan.one/resources/rolling-out-an-assistant.md): The pattern behind assistant rollouts that reach 70% adoption, and the three mistakes behind the ones that stall at twenty enthusiasts. ## Compare - [Build vs buy: an AI platform in-house](https://vatan.one/compare/build-vs-buy.md): A capable team can build most of this, so the real question is where your engineers' time is best spent. - [One AI provider or many: going direct](https://vatan.one/compare/single-provider.md): Buying directly from one provider is the fastest way to begin and the most common way to end up with four uncoordinated deployments eighteen months later. - [AI platform vs assembling point solutions](https://vatan.one/compare/point-solutions.md): Each category has good specialist tools. The cost of assembling them is not the licences, it is that no single system knows what your organisation did. ## Glossary - [Enterprise AI glossary](https://vatan.one/glossary.md): The words an enterprise AI evaluation uses, defined plainly: AI gateway, RAG, MCP, eval gates, SCIM and data residency. - [AI gateway: a plain definition](https://vatan.one/glossary/ai-gateway.md): A control layer between your applications and every model provider. Handles routing, failover, budgets, rate limits, guardrails and logging in one place, so… - [BYOK: a plain definition](https://vatan.one/glossary/byok.md): Bring your own key: using your own provider contract through someone else's platform. The customer keeps their negotiated provider pricing; the platform… - [Guardrail: a plain definition](https://vatan.one/glossary/guardrail.md): A rule applied to a prompt or response before it is allowed through. Typically redaction of identifiers, secret detection, prompt-injection screening or… - [Prompt injection: a plain definition](https://vatan.one/glossary/prompt-injection.md): Instructions hidden in retrieved content that the model then follows. A document, email or web page holds text addressed to the model, not the reader… - [RAG: a plain definition](https://vatan.one/glossary/rag.md): Retrieval-augmented generation: answering from your documents rather than model memory. It searches a corpus and gives the relevant passages to the model as… - [Enterprise search: a plain definition](https://vatan.one/glossary/enterprise-search.md): Search across every internal system, under the permissions each already enforces. Unlike consumer search, one query must return different results for… - [Permission mirroring: a plain definition](https://vatan.one/glossary/permission-mirroring.md): Carrying each document's source access rules into the search index. Every indexed chunk keeps the access control list of the document it came from, evaluated… - [Routing chain: a plain definition](https://vatan.one/glossary/routing-chain.md): An ordered list of models tried until one succeeds. The next model is tried only when the previous one fails. The request keeps one identity, so the log… - [Eval gate: a plain definition](https://vatan.one/glossary/eval-gate.md): An evaluation suite whose failure blocks a deploy. Unlike an evaluation that only reports, a gate refuses the release, and an override needs named approvers… - [Grader drift: a plain definition](https://vatan.one/glossary/grader-drift.md): A model-based grader disagreeing with human judgement over time. Model graders make evaluation affordable at volume and degrade silently as models change… - [AI system register: a plain definition](https://vatan.one/glossary/ai-system-register.md): The inventory of every AI system, its risk class, owner and evidence. Required in substance by the EU AI Act and most model risk frameworks. Useful only if… - [High-risk system: a plain definition](https://vatan.one/glossary/high-risk-system.md): An AI system materially affecting a person's rights or access to services. Under the EU AI Act this includes systems touching credit, employment, education… - [Human oversight: a plain definition](https://vatan.one/glossary/human-oversight.md): A person able to understand, override and stop an automated decision. Must be meaningful, not nominal. An approver clearing hundreds of items an hour, or… - [Agent: a plain definition](https://vatan.one/glossary/agent.md): A system that plans and takes actions using tools, not just text. Consequential because it acts. Four design questions: which tools it may call, whose… - [MCP: a plain definition](https://vatan.one/glossary/mcp.md): Model Context Protocol: a standard for exposing tools and data to models. Lets a model reach an external system through a described interface, not bespoke… - [Citation: a plain definition](https://vatan.one/glossary/citation.md): The passage an answer relied on, shown with the answer. The difference between a usable answer and a rumour: a reader can check the claim, and a wrong answer… - [Platform fee: a plain definition](https://vatan.one/glossary/platform-fee.md): What a platform charges for the control layer, separate from model cost. Separating it from token pricing matters as model prices fall. A fee set as a share… - [Data residency: a plain definition](https://vatan.one/glossary/data-residency.md): A guarantee about which jurisdictions data is processed in. Meaningful only when enforced: a request that cannot be served in-region should fail, not fall… - [Sub-processor: a plain definition](https://vatan.one/glossary/sub-processor.md): A third party processing personal data on a processor's behalf. Under GDPR these must be disclosed, contractually bound and notified to customers before… - [SCIM: a plain definition](https://vatan.one/glossary/scim.md): A standard for provisioning and deprovisioning users from a directory. How somebody leaving your organisation loses platform access in the same sync, not at… - [SSO: a plain definition](https://vatan.one/glossary/sso.md): Single sign-on: authenticating through your own identity provider. Usually SAML 2.0 or OIDC. The enterprise requirement is that it is unavoidable: once a… - [Domain verification: a plain definition](https://vatan.one/glossary/domain-verification.md): Proving control of an email domain in order to govern accounts on it. Usually a DNS TXT record. Once verified, an organisation can require everyone on that… ## Blog - [Blog: notes from running an AI platform](https://vatan.one/blog.md): Notes on the problems teams hit putting AI to work, from leaked data to runaway bills, and the mechanism Vatan puts against each one. - [A meeting nobody wrote down never happened](https://vatan.one/blog/a-meeting-nobody-wrote-down-never-happened): A meeting recording, from a phone on the table or a video call, turned into a summary, decisions and tasks with owners, in Persian and English. - [Vatan MCP: your AI assistant needs no key](https://vatan.one/blog/stop-handing-your-ai-assistant-a-key): Connecting an AI assistant often means pasting a key with too much access. One sign-in gives it your permissions and nothing more. - [An AI policy nobody can follow is not a policy](https://vatan.one/blog/an-ai-policy-nobody-can-follow-is-not-a-policy): An AI acceptable use policy works when staff can sort their own tasks into safe, careful and never, and the approved tool enforces what it can check. - [Banning ChatGPT does not keep your data in](https://vatan.one/blog/banning-chatgpt-does-not-keep-your-data-in): Staff paste confidential data into ChatGPT because it helps. An approved AI tool that is better, with guardrails where data leaves, keeps it in. - [A brilliant answer is not a reliable one](https://vatan.one/blog/a-brilliant-answer-is-not-a-reliable-one): AI can solve a Millennium Prize problem and miscount the letters in one word. Leaders need to keep capability, intelligence and reliability apart. - [You do not have to bet on one AI provider](https://vatan.one/blog/you-do-not-have-to-bet-on-one-ai-provider): Choosing between OpenAI, Anthropic and Google is a decision you will make again. One endpoint lets you change the model without rewriting your code. - [Your documents do not need a smarter chatbot](https://vatan.one/blog/your-documents-do-not-need-a-smarter-chatbot): Asking AI questions about company documents works when every answer names the document it came from, and when each team searches only what it should see. - [A payment reminder is not a threat](https://vatan.one/blog/a-payment-reminder-is-not-a-threat): Collections reminders with an AI agent, done carefully: when to send, how people stop them, how a promise to pay is checked, and when a person takes over. - [Your billing questions are not a FAQ](https://vatan.one/blog/billing-questions-are-not-a-faq): What an AI billing agent on WhatsApp and Telegram has to do before it answers: know who is asking, read the account, and hand over a dispute. - [Your branches do not need a bigger helpdesk](https://vatan.one/blog/your-branches-do-not-need-a-bigger-helpdesk): An IT helpdesk agent for branches and sites: answers from your own guides, a ticket for the rest, and urgent faults straight to the IT queue. - [Your workflow should not branch on a sentence](https://vatan.one/blog/your-workflow-should-not-branch-on-a-sentence): Routing on a chat model's label and a chain of yes or no branches fails quietly. A Decide block picks one named path and says how sure it is. - [Batch work should not need a new integration](https://vatan.one/blog/batch-work-should-not-need-a-new-integration): Every provider hands over batch work differently. One endpoint that takes a list or a file, prices the worst case first, and tells you when it ends. - [Giving everyone a chatbot is not an AI strategy](https://vatan.one/blog/giving-everyone-a-chatbot-is-not-an-ai-strategy): Most organisations stop at chat and prompts. The larger value sits in processes, knowledge and decisions, and reaching it takes six kinds of work. - [Jev on Vatan: a typed answer, not a paragraph](https://vatan.one/blog/jev-typed-decisions-on-vatan): Routing and triage on a chat model means parsing prose you then discard. Jev answers with a typed value instead, behind your existing Vatan key. - [Stop polling for work that already finished](https://vatan.one/blog/stop-polling-for-work-that-already-finished): A loop asking "is it done yet" is a service nobody owns. Signed webhooks for batches, runs and collections, retried for ten hours, with a receiver to test. - [A shared API key is not a budget](https://vatan.one/blog/a-shared-api-key-is-not-a-budget): A provider key is a bearer token with no owner and no ceiling. What belongs in front of one, in what order it has to refuse, and where the cap stops. - [You cannot cut a bill you cannot read](https://vatan.one/blog/you-cannot-cut-a-bill-you-cannot-read): Cheaper tokens do not fix a bill with no line items. What a gateway records per request, and what caching and batching each really cost you. ## Status - [Platform status: gateway and control plane](https://vatan.one/status.md): The Vatan gateway and control plane, checked live from your own browser, with the full incident history. ## Subprocessors - [Sub-processors: who can receive your data](https://vatan.one/subprocessors.md): Every vendor that can receive your content or your account data, what each one processes and where it is located. ## Ai safety - [AI safety: the safeguards that run](https://vatan.one/ai-safety.md): The safeguards running on Vatan today, from guardrails to spend limits and traces, what each cannot do, and how to report a concern. ## Certificates - [Certificates: check one is real](https://vatan.one/certificates.md): Every Vatan certificate has its own page and a code. Check a certificate, see which courses issue one, and what a student does to earn it. - [Graduates of Vatan courses](https://vatan.one/certificates/graduates.md): People who completed a Vatan course and chose to be listed, by course and cohort, each with a link to their certificate. ## Legal - [Legal documents: terms, privacy and the DPA](https://vatan.one/legal.md): The terms of service, the privacy notice and the Article 28 data processing agreement, each written against the running system. - [Terms of service](https://vatan.one/legal/terms.md): What the Vatan gateway does, what you pay, what happens to what you send, acceptable use, and the limits of liability. - [Privacy notice](https://vatan.one/legal/privacy.md): What Vatan holds, where it lives, how long it stays and who else sees it. The invoice record holds no prompt or completion text. - [Data processing agreement](https://vatan.one/legal/dpa.md): The Article 28 terms on which Vatan processes personal data on a customer’s behalf. In force for every account, without a signature. - [Acceptable use policy](https://vatan.one/legal/acceptable-use.md): What the Vatan service must not be used for, and when an account can be suspended, from the acceptable use section of the terms. - [Report a security issue](https://vatan.one/legal/security.md): How to report a vulnerability in Vatan to security@vatan.one, what to include, what is in scope and what we ask of you while we fix it. ## Accessibility - [Accessibility statement](https://vatan.one/accessibility.md): Vatan has not been assessed against WCAG 2.2 and makes no conformance claim. What has been done, what has not, and how to report a barrier you hit. ## Optional - [Full text of every page](https://vatan.one/llms-full.txt): all of the pages above in one file - [Sitemap](https://vatan.one/sitemap.xml) - [Blog feed](https://vatan.one/blog/feed.xml)