AI Studio is a composition surface for production AI agents. The unit is an Assistant: a configured combination of model, system prompt, knowledge sources, tools, and guardrails. You can have many assistants per tenant — a sales agent, a support agent, an internal HR bot — each with its own scope and personality. Each assistant is versioned, evaluated, and deployable to any channel through SabFlow nodes or our API.
Retrieval is first-class. Connect a knowledge source (PDF folder, Notion workspace, Google Drive, public website, custom database query) and AI Studio handles chunking, embedding (using your provider or our local model), vector storage, and re-ranking. Every assistant response includes citation links back to the source chunks, and you can see retrieval quality in the eval harness. Updating a doc re-embeds only the changed chunks — incremental, fast, cheap.
Tool-calling turns the assistant from a talker into a doer. Declare a tool — `get_order_status`, `issue_refund`, `book_slot` — with a JSON schema and a backing handler (HTTP endpoint, SabFlow, or built-in CRM action). The model decides when to call the tool based on the conversation. You see every tool call in the trace, can require human approval for sensitive operations, and rate-limit per assistant or per contact. The MCP server exposes these same tools to external AI clients (Claude Desktop, Cursor, etc.) over the Model Context Protocol.
Safety and observability are non-negotiable. Every assistant ships with configurable guardrails: PII redaction on inputs (Aadhaar, PAN, credit cards, emails), output filters (no medical advice, no financial recommendations), refusal policies, and token budgets per conversation. The audit log captures every prompt, every tool call, every response — exportable for compliance review. For India deployments we honor DPDP requirements; for EU, GDPR; for healthcare, basic HIPAA-aligned redaction.