You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The **AI Protocol** integrates artificial intelligence capabilities including AI agents, RAG (Retrieval-Augmented Generation) pipelines, natural language querying, and predictive analytics.
11
11
12
-
## Overview
12
+
## Why This Protocol Exists
13
+
14
+
**Problem:** Every B2B SaaS wants "AI features" but building them is a nightmare:
15
+
16
+
-**Data silos:** Your CRM data is in Postgres, docs in S3, knowledge base in Notion—LLMs can't access any of it
17
+
-**Cost explosion:** One engineer accidentally racks up $10K OpenAI bill with unoptimized embeddings
18
+
-**Context limitations:** GPT-4 has 128K token limit—your sales playbook is 500K tokens
19
+
-**Hallucinations:** LLM invents plausible-sounding customer names and revenue numbers that don't exist
20
+
-**Integration complexity:** To build "Ask questions about your data," you need: vector DB, embedding pipeline, chunking strategy, retrieval logic, prompt engineering, response streaming, and cost tracking
21
+
22
+
Teams spend 6+ months building AI features from scratch—or give up and ship nothing.
23
+
24
+
**Solution:** The AI Protocol provides **Copilot-grade AI infrastructure**. Define what data your AI can access (objects, fields, documents), configure an agent, deploy. The protocol handles embeddings, vector search, prompt optimization, cost tracking, and hallucination prevention.
25
+
26
+
## Business Value Delivered
13
27
14
28
<Cards>
15
29
<Card
16
30
icon={<Brain />}
17
-
title="AI Agents"
18
-
description="Autonomous agents with tools, knowledge bases, and orchestration."
31
+
title="Ship AI Features in Days"
32
+
description="Natural language search, chatbots, and predictive analytics—no ML expertise required."
19
33
/>
20
34
<Card
21
-
icon={<Search />}
22
-
title="RAG Pipelines"
23
-
description="Vector search, embeddings, and retrieval-augmented generation."
Build **autonomous agents** that understand your business data:
55
+
-**Customer support agent:** Answers product questions using docs, tickets, and knowledge base
56
+
-**Sales assistant:** Searches CRM for accounts, creates opportunities, suggests next steps
57
+
-**Data analyst agent:** Generates reports, charts, and insights from business data
58
+
59
+
**Example:** User asks "Show me accounts in California with revenue over $1M that haven't been contacted in 30 days." The agent:
60
+
1. Translates natural language to ObjectQL query
61
+
2. Checks permissions (user can only see their territory)
62
+
3. Executes query and formats results
63
+
4. Suggests follow-up: "Would you like me to draft outreach emails?"
64
+
65
+
**Why it matters:** Traditional chatbots use predefined scripts. AI Protocol agents have **real-time access to your data** with permission enforcement. They don't hallucinate customer names—they query the database.
66
+
67
+
**Business impact:** A B2B SaaS company deployed a support agent that resolved 80% of tier-1 tickets instantly. Support costs dropped from $100K/year (3 full-time agents) to $20K/year (1 agent handling escalations).
3. LLM answers using **only retrieved context**, not imagination
74
+
4. Response includes citations: "According to Section 3.2 of Terms of Service..."
75
+
76
+
**Supported data sources:**
77
+
-**Structured data:** Objects in your database (Accounts, Orders, Products)
78
+
-**Documents:** PDFs, Word docs, Markdown files in S3/Google Drive
79
+
-**Web pages:** Your knowledge base, help center, blog posts
80
+
-**APIs:** Live data from Salesforce, HubSpot, Zendesk
81
+
82
+
**Real-world value:** A SaaS company embedded their 200-page product manual. Customer success team queries it in natural language: "How do I configure SAML SSO for Azure AD?" Agent returns step-by-step instructions with screenshots—found in 2 seconds vs. 10 minutes of manual searching.
83
+
84
+
### Natural Language to SQL/ObjectQL
85
+
Convert **plain English** to database queries:
86
+
- "Show me top 10 opportunities by value" → `SELECT * FROM opportunities ORDER BY amount DESC LIMIT 10`
87
+
- "How many deals did we close last quarter?" → `SELECT COUNT(*) FROM opportunities WHERE stage = 'Closed Won' AND close_date >= '2024-01-01'`
88
+
- "Which sales rep has the highest win rate?" → Complex aggregation query with GROUP BY and JOIN
89
+
90
+
**Why it matters:** Business users get insights without SQL knowledge. CEOs query revenue dashboards in plain English. Finance generates reports without opening Excel.
91
+
92
+
**Safety features:**
93
+
-**Permission-aware:** Query results filtered by user's row-level security
94
+
-**Read-only:** Natural language can't generate DELETE or UPDATE queries
**Key insight:** AI Protocol enables a **conversational interface** to your data. Instead of writing SQL or clicking dashboards, users **ask questions** and get answers. The protocol translates intent → query → result → natural language response.
166
+
167
+
## Technical Reference
168
+
169
+
For implementation guides and configuration details, see:
170
+
171
+
-[Agent Reference](/docs/references/ai/agent/Agent) - Agent configuration, tools, and knowledge sources
0 commit comments