Skip to content

Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.

docs: Telegram pairing behavior, supported providers with icons, updated tool counts

Salman Qureshia1495a8b2df2
diff --git a/README.md b/README.md
index e8a8eda3..819cb498 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
</p>
<p align="center">
- Runs 24/7 from CLI or Telegram. 21 built-in tools. Extensible skills. Asks before it acts.
+ Runs 24/7 from CLI or Telegram. 31 built-in tools. Extensible skills. Asks before it acts.
</p>
<p align="center">
@@ -136,8 +136,9 @@ Type these during a conversation — they don't consume API tokens. Work on both
| Category | Tools |
|----------|-------|
-| **Filesystem** | `read_file`, `write_file`, `create_file`, `edit_file`, `list_dir`, `delete_file`, `send_file` |
-| **Shell** | `run_command`, `approve_command` |
+| **Filesystem** | `read_file`, `write_file`, `create_file`, `edit_file`, `list_dir`, `delete_file`, `send_file`, `approve_scope` |
+| **Shell** | `run_command`, `cd`, `approve_command` |
+| **Messaging** | `send_message` |
| **Git** | `git_status`, `git_diff`, `git_log`, `git_add`, `git_commit`, `git_push` |
| **Web** | `fetch_url` |
| **Skills** | `install_skill`, `list_skills`, `use_skill` |
@@ -151,6 +152,15 @@ Type these during a conversation — they don't consume API tokens. Work on both
| **CLI** | Readline prompt, real-time text streaming, markdown rendering, file display |
| **Telegram** | HTML formatting, file uploads (photos, audio, video, documents), typing indicators, `/budget` commands |
+### Telegram Pairing
+
+Mercury uses a **single-owner pairing model** — only one Telegram account can be paired at a time.
+
+- **Unpaired bots** only process `/start` or `/pair`. All other messages are ignored. This prevents unauthorized access.
+- **To pair:** Send `/start` to your Mercury bot in a private chat. The bot records your user ID and chat ID.
+- **To unpair:** Send `/unpair` to remove the pairing.
+- Mercury only works in private (one-to-one) chats. Group messages are ignored.
+
## Scheduler
- **Recurring**: `schedule_task` with cron expressions (`0 9 * * *` for daily at 9am)
@@ -165,6 +175,7 @@ All runtime data lives in `~/.mercury/` — not in your project directory.
| Path | Purpose |
|------|---------|
| `~/.mercury/mercury.yaml` | Main config (providers, channels, budget) |
+| `~/.mercury/.env` | API keys and tokens (loaded alongside project .env) |
| `~/.mercury/soul/*.md` | Agent personality (soul, persona, taste, heartbeat) |
| `~/.mercury/permissions.yaml` | Capabilities and approval rules |
| `~/.mercury/skills/` | Installed skills |
@@ -178,12 +189,18 @@ All runtime data lives in `~/.mercury/` — not in your project directory.
Configure multiple LLM providers. Mercury tries them in order and falls back automatically:
-- **DeepSeek** — default, cost-effective
-- **OpenAI** — GPT-4o-mini and others
-- **Anthropic** — Claude and others
-- **Grok / xAI** — OpenAI-compatible Grok models
-- **Ollama Cloud** — remote Ollama models via API key
-- **Ollama Local** — models running on your local Ollama instance
+| Provider | Default Model | API Key | Notes |
+|----------|--------------|---------|-------|
+| **DeepSeek** | deepseek-chat | `DEEPSEEK_API_KEY` | Default, cost-effective |
+| **OpenAI** | gpt-4o-mini | `OPENAI_API_KEY` | GPT-4o, o3, etc. |
+| **Anthropic** | claude-sonnet-4 | `ANTHROPIC_API_KEY` | Claude Sonnet, Haiku, Opus |
+| **Grok (xAI)** | grok-4 | `GROK_API_KEY` | OpenAI-compatible endpoint |
+| **Ollama Cloud** | gpt-oss:120b | `OLLAMA_CLOUD_API_KEY` | Remote Ollama via API |
+| **Ollama Local** | gpt-oss:20b | No key needed | Local Ollama instance |
+
+When a provider fails, Mercury automatically tries the next one. It remembers the last successful provider and starts there on the next request.
+
+> **More providers incoming** — Google Gemini, Mistral, and others are on the roadmap. Mercury's OpenAI-compatible architecture also supports custom endpoints via base URL configuration.
## Architecture
diff --git a/docs/docs.html b/docs/docs.html
index 1f02b64b..7c493981 100644
--- a/docs/docs.html
+++ b/docs/docs.html
@@ -4,9 +4,9 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Mercury Documentation — Installation, Commands, and Daemon Mode</title>
+ <title>Mercury Documentation — Installation, Providers, Telegram, and Daemon Mode</title>
<meta name="description"
- content="Complete documentation for Mercury AI agent. Installation, CLI commands, daemon mode, in-chat commands, configuration, and platform-specific service setup.">
+ content="Complete documentation for Mercury AI agent. Installation, CLI commands, daemon mode, Telegram pairing, provider configuration, in-chat commands, and platform-specific service setup.">
<meta name="author" content="Cosmic Stack">
<meta name="robots" content="index, follow">
<meta name="theme-color" content="#0a0a0a">
@@ -309,6 +309,7 @@
<a href="#platform-guide">Platform Guide</a>
<div class="sidebar-heading">Integrations</div>
<a href="#github-companion">GitHub Companion</a>
+ <a href="#telegram">Telegram</a>
<div class="sidebar-heading">Reference</div>
<a href="#tools">Built-in Tools</a>
<a href="#configuration">Configuration</a>
@@ -336,7 +337,7 @@
<ul>
<li><strong>Your name</strong> — used by the agent to address you</li>
<li><strong>Agent name</strong> — defaults to "Mercury", customize it</li>
- <li><strong>LLM API keys</strong> — at least one: DeepSeek, OpenAI, or Anthropic</li>
+ <li><strong>LLM API keys</strong> — at least one: DeepSeek, OpenAI, Anthropic, Grok, or Ollama</li>
<li><strong>Telegram bot token</strong> — optional, for remote access</li>
</ul>
<p>All config is stored in <code>~/.mercury/</code> — nothing in your project directory.</p>
@@ -849,9 +850,102 @@
any other credential: don't commit it, don't share it, and rotate the token if you suspect it's compromised.</p>
</div>
+ <h2 id="telegram">Telegram</h2>
+ <p>Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads,
+ and inline approval keyboards.</p>
+
+ <h3>Pairing</h3>
+ <p>Mercury uses a <strong>single-owner pairing model</strong>. Only one Telegram account can be paired to a Mercury
+ instance at a time. This ensures your agent only responds to you.</p>
+
+ <div class="callout" style="border-left-color: var(--cyan); background: rgba(0, 212, 255, 0.06);">
+ <div class="callout-title">Initial message only</div>
+ <p>When the bot is <strong>not yet paired</strong>, only the <code>/start</code> or <code>/pair</code> command
+ is processed. All other messages from unpaired users are ignored with a prompt to pair first. This prevents
+ unauthorized access — nobody can send commands to your Mercury instance without pairing.</p>
+ </div>
+
+ <p><strong>To pair:</strong> Send <code>/start</code> or <code>/pair</code> to your Mercury bot in a private chat.
+ The bot records your Telegram user ID and chat ID, and from that point forward, only your messages are processed.</p>
+
+ <p><strong>To unpair:</strong> Send <code>/unpair</code> to remove the pairing. The bot will then require
+ <code>/start</code> again to re-pair.</p>
+
+ <div class="callout callout-warn">
+ <div class="callout-title">Private chats only</div>
+ <p>Mercury only works in private (one-to-one) chats. Messages in groups or channels are ignored.</p>
+ </div>
+
+ <h3>Features</h3>
+ <table class="cmd-table">
+ <thead>
+ <tr>
+ <th>Feature</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Text streaming</td>
+ <td>Real-time response editing with typing indicators (toggle with <code>/stream</code>)</td>
+ </tr>
+ <tr>
+ <td>File uploads</td>
+ <td>Photos, audio, video, and documents auto-detected and sent with the right API</td>
+ </tr>
+ <tr>
+ <td>HTML formatting</td>
+ <td>Markdown automatically converted to Telegram-compatible HTML</td>
+ </tr>
+ <tr>
+ <td>Inline keyboards</td>
+ <td>Shell command and scope approvals shown as Allow / Always / Deny buttons</td>
+ </tr>
+ <tr>
+ <td>Paired messaging</td>
+ <td>The <code>send_message</code> tool lets Mercury proactively send you messages</td>
+ </tr>
+ <tr>
+ <td>Bot commands menu</td>
+ <td>12 commands registered in Telegram's bot menu for quick access</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3>Configuration</h3>
+ <p>Telegram is set up during <code>mercury doctor</code> or initial onboarding. You need a bot token from
+ <a href="https://t.me/BotFather" target="_blank" rel="noopener">@BotFather</a>.</p>
+
+ <table class="cmd-table">
+ <thead>
+ <tr>
+ <th>Variable</th>
+ <th>Description</th>
+ <th>Default</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>TELEGRAM_BOT_TOKEN</td>
+ <td>Bot token from @BotFather</td>
+ <td>—</td>
+ </tr>
+ <tr>
+ <td>TELEGRAM_ENABLED</td>
+ <td>Enable/disable Telegram channel</td>
+ <td>false</td>
+ </tr>
+ <tr>
+ <td>TELEGRAM_STREAMING</td>
+ <td>Enable real-time text streaming</td>
+ <td>true</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <p>Type <code>none</code> as the bot token during <code>mercury doctor</code> to disable Telegram.</p>
+
<h2 id="tools">Built-in Tools</h2>
- <p>Mercury has 21 built-in tools it can use during conversations. These are not CLI commands — the agent decides
- when to call them.</p>
<h3>Filesystem</h3>
<table class="cmd-table">
@@ -916,11 +1010,21 @@
<td>Execute a shell command</td>
<td>command</td>
</tr>
+ <tr>
+ <td>cd</td>
+ <td>Change working directory (persists across calls)</td>
+ <td>path</td>
+ </tr>
<tr>
<td>approve_command</td>
<td>Permanently approve a command type</td>
<td>command (e.g. "curl")</td>
</tr>
+ <tr>
+ <td>send_message</td>
+ <td>Send a message to the paired Telegram chat</td>
+ <td>message</td>
+ </tr>
</tbody>
</table>
@@ -1076,14 +1180,76 @@
</code> in their SKILL.md get automatic approval for those tools during execution.</p>
<h2 id="providers">Provider Fallback</h2>
- <p>Configure multiple LLM providers. Mercury tries them in order and falls back automatically:</p>
- <ul>
- <li><strong>DeepSeek</strong> — default, cost-effective</li>
- <li><strong>OpenAI</strong> — GPT-4o-mini and others</li>
- <li><strong>Anthropic</strong> — Claude and others</li>
- </ul>
- <p>When a provider fails, Mercury automatically tries the next one. It remembers the last successful provider and
- starts there on the next request.</p>
+ <p>Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider
+ fails, Mercury tries the next one and remembers the last successful provider.</p>
+
+ <h3>Supported Providers</h3>
+ <table class="cmd-table">
+ <thead>
+ <tr>
+ <th>Provider</th>
+ <th>Default Model</th>
+ <th>API Key</th>
+ <th>Configuration</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><strong>DeepSeek</strong></td>
+ <td>deepseek-chat</td>
+ <td>DEEPSEEK_API_KEY</td>
+ <td>Default provider, cost-effective</td>
+ </tr>
+ <tr>
+ <td><strong>OpenAI</strong></td>
+ <td>gpt-4o-mini</td>
+ <td>OPENAI_API_KEY</td>
+ <td>GPT-4o-mini, GPT-4o, o3, etc.</td>
+ </tr>
+ <tr>
+ <td><strong>Anthropic</strong></td>
+ <td>claude-sonnet-4-20250514</td>
+ <td>ANTHROPIC_API_KEY</td>
+ <td>Claude Sonnet, Haiku, Opus</td>
+ </tr>
+ <tr>
+ <td><strong>Grok (xAI)</strong></td>
+ <td>grok-4</td>
+ <td>GROK_API_KEY</td>
+ <td>OpenAI-compatible endpoint</td>
+ </tr>
+ <tr>
+ <td><strong>Ollama Cloud</strong></td>
+ <td>gpt-oss:120b</td>
+ <td>OLLAMA_CLOUD_API_KEY</td>
+ <td>Remote Ollama models via API</td>
+ </tr>
+ <tr>
+ <td><strong>Ollama Local</strong></td>
+ <td>gpt-oss:20b</td>
+ <td>No key needed</td>
+ <td>Local Ollama instance (127.0.0.1:11434)</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3>Configuring Providers</h3>
+ <p>Run <code>mercury doctor</code> and enter API keys for the providers you want to use. You can also set
+ environment variables directly or edit <code>~/.mercury/mercury.yaml</code>.</p>
+
+ <div class="callout">
+ <div class="callout-title">Environment variables</div>
+ <p>Each provider has env vars for its API key, base URL, and model. For example, DeepSeek uses
+ <code>DEEPSEEK_API_KEY</code>, <code>DEEPSEEK_BASE_URL</code>, and <code>DEEPSEEK_MODEL</code>.
+ Ollama Local requires no API key — just set <code>OLLAMA_LOCAL_ENABLED=true</code> and
+ <code>OLLAMA_LOCAL_MODEL</code> to your preferred local model.</p>
+ </div>
+
+ <div class="callout callout-warn">
+ <div class="callout-title">More providers coming</div>
+ <p>Google Gemini, Mistral, and other providers are on the roadmap. Mercury's OpenAI-compatible provider
+ architecture means you can often configure additional providers by setting a custom base URL and API key.</p>
+ </div>
<h2 id="scheduling">Scheduling</h2>
<p>Mercury can schedule tasks using cron expressions or one-shot delays.</p>
diff --git a/docs/index.html b/docs/index.html
index 6dd61a20..14d6be2b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mercury — Soul-Driven AI Agent with Permission Guardrails | Cosmic Stack</title>
<meta name="description"
- content="The AI agent that asks before it acts. Permission guardrails, token efficiency, full control, and GitHub companion. Runs 24/7 from CLI or Telegram. 26 built-in tools, skill system, scheduling.">
+ content="The AI agent that asks before it acts. Permission guardrails, token efficiency, full control, and GitHub companion. Runs 24/7 from CLI or Telegram. 31 built-in tools, skill system, scheduling.">
<meta name="author" content="Cosmic Stack">
<meta name="robots" content="index, follow">
<meta name="keywords"
@@ -47,7 +47,7 @@
"name": "Mercury",
"applicationCategory": "DeveloperApplication",
"operatingSystem": "Node.js 18+",
- "description": "Soul-driven AI agent with permission guardrails, token budgets, and multi-channel access. Runs 24/7 from CLI or Telegram.",
+ "description": "Soul-driven AI agent with permission guardrails, token budgets, and multi-channel access. 31 built-in tools, skill system, GitHub companion. Runs 24/7 from CLI or Telegram.",
"url": "https://mercury.cosmicstack.org",
"offers": {
"@type": "Offer",
@@ -104,7 +104,7 @@
/_/ /_/_____/_/ |_|\____/\____/_/ |_| /_/
</pre>
<p class="hero-tagline">Soul-driven. Token-efficient. Always on.</p>
- <p class="hero-sub">Your personal AI agent with 26 built-in tools, skill system, multi-channel access, GitHub companion, and
+ <p class="hero-sub">Your personal AI agent with 31 built-in tools, skill system, multi-channel access, GitHub companion, and
hardened permissions. Runs 24/7 from your terminal or Telegram.</p>
<div class="hero-actions">
<a href="#how-it-works" class="btn btn-primary">Get Started</a>
@@ -217,7 +217,7 @@
<section id="capabilities" class="section section-dark">
<div class="container">
- <h2 class="section-title">26 Built-In Tools</h2>
+ <h2 class="section-title">31 Built-In Tools</h2>
<p class="section-sub">Plus extensible skills, scheduling, and memory.</p>
<div class="caps-grid">
<div class="cap-group" data-reveal>
@@ -234,10 +234,12 @@
</ul>
</div>
<div class="cap-group" data-reveal>
- <h3>🐚 Shell</h3>
+ <h3>🐚 Shell &amp; Messaging</h3>
<ul>
<li><code>run_command</code> — Execute shell commands</li>
+ <li><code>cd</code> — Change working directory (persists)</li>
<li><code>approve_command</code> — Permanently approve a command</li>
+ <li><code>send_message</code> — Message paired Telegram chat</li>
</ul>
</div>
<div class="cap-group" data-reveal>
@@ -518,11 +520,11 @@
<div class="arch-value">Vercel AI SDK v4</div>
<div class="arch-desc">streamText + generateText, 10-step agentic loop</div>
</div>
- <div class="arch-card" data-reveal>
- <div class="arch-label">Providers</div>
- <div class="arch-value">DeepSeek · OpenAI · Anthropic</div>
- <div class="arch-desc">Fallback chain with last-successful tracking</div>
- </div>
+ <div class="arch-card" data-reveal>
+ <div class="arch-label">Providers</div>
+ <div class="arch-value">DeepSeek · OpenAI · Anthropic · Grok · Ollama</div>
+ <div class="arch-desc">6 providers with fallback and last-successful tracking</div>
+ </div>
<div class="arch-card" data-reveal>
<div class="arch-label">Memory</div>
<div class="arch-value">Flat-file JSONL/JSON</div>
@@ -542,6 +544,72 @@
</div>
</section>
+ <section id="providers" class="section">
+ <div class="container">
+ <h2 class="section-title">Supported Providers</h2>
+ <p class="section-sub">Pick one or stack them all. Mercury falls back automatically.</p>
+ <div class="provider-grid" data-reveal>
+ <div class="provider-card">
+ <div class="provider-logo">
+ <svg viewBox="0 0 24 24" width="32" height="32" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"/></svg>
+ </div>
+ <div class="provider-info">
+ <h3>DeepSeek</h3>
+ <p>Default provider. Cost-effective, strong reasoning. Uses <code>deepseek-chat</code>.</p>
+ </div>
+ </div>
+ <div class="provider-card">
+ <div class="provider-logo">
+ <svg viewBox="0 0 24 24" width="32" height="32" fill="currentColor"><path d="M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.98 4.18a5.985 5.985 0 0 0-3.498 3.46 6.046 6.046 0 0 0 .743 7.096 5.98 5.98 0 0 0 .51 4.911 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.99 5.99 0 0 0 3.497-3.462 6.056 6.056 0 0 0-.742-7.11zm-9.49 13.19a4.476 4.476 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.795.795 0 0 0 .392-.681v-6.737l2.02 1.168a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494zM4.887 19.386a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.771.771 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.037.064l-4.837 2.792a4.504 4.504 0 0 1-6.139-1.649zM2.44 10.308a4.498 4.498 0 0 1 2.366-3.284v5.678a.771.771 0 0 0 .39.681l5.808 3.356-2.02 1.168a.076.076 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.44 10.308zm15.773 2.055L12.37 9.001l2.02-1.163a.076.076 0 0 1 .071 0l4.83 2.791a4.499 4.499 0 0 1-.68 5.06l-.001-5.326zM20.21 10.78l-.142-.085-4.778-2.781a.776.776 0 0 0-.787 0L8.66 11.279V8.947a.064.064 0 0 1 .028-.067l4.837-2.792a4.5 4.5 0 0 1 1.658 6.698l.026-.006zM7.636 13.08l-2.02-1.164a.08.08 0 0 1-.037-.064V6.27a4.499 4.499 0 0 1 7.383-3.5l-.141.08-4.778 2.758a.77.77 0 0 0-.393.681l-.014 6.791zm1.097-2.365l2.602-1.5 2.607 1.5v3.006l-2.597 1.5-2.607-1.5-.005-3.006z"/></svg>
+ </div>
+ <div class="provider-info">
+ <h3>OpenAI</h3>
+ <p>GPT-4o-mini, GPT-4o, o3, and more. OpenAI-compatible endpoint.</p>
+ </div>
+ </div>
+ <div class="provider-card">
+ <div class="provider-logo">
+ <svg viewBox="0 0 24 24" width="32" height="32" fill="currentColor"><path d="M17.304 3.542l-4.897 8.983a.25.25 0 00.067.316l4.22 3.453a.25.25 0 00.326-.012l5.276-4.818a.75.75 0 00.061-1.039L18.46 3.46a.25.25 0 00-.422-.004l-.734.086zM6.46 3.762l-3.9 7.26a.25.25 0 00.04.292l3.737 3.958a.25.25 0 00.326.038l3.897-2.657a.25.25 0 00.075-.319L7.352 3.812a.25.25 0 00-.425-.05h-.468zM3.168 12.796L.086 17.925a.25.25 0 00.128.36l5.592 2.166a.25.25 0 00.327-.137l2.916-6.763a.25.25 0 00-.09-.3L5.23 10.3a.25.25 0 00-.338.062l-1.724 2.434z"/></svg>
+ </div>
+ <div class="provider-info">
+ <h3>Anthropic</h3>
+ <p>Claude Sonnet, Haiku, and Opus models. Best for nuanced reasoning.</p>
+ </div>
+ </div>
+ <div class="provider-card">
+ <div class="provider-logo">
+ <svg viewBox="0 0 24 24" width="32" height="32" fill="currentColor"><path d="M12 2L1.5 20h21L12 2zm0 4l6.9 12H5.1L12 6z"/></svg>
+ </div>
+ <div class="provider-info">
+ <h3>Grok (xAI)</h3>
+ <p>xAI's Grok models via OpenAI-compatible endpoint. Real-time awareness.</p>
+ </div>
+ </div>
+ <div class="provider-card">
+ <div class="provider-logo">
+ <svg viewBox="0 0 24 24" width="32" height="32" fill="currentColor"><path d="M12 2a10 10 0 100 20 10 10 0 000-20zm0 2a8 8 0 016.32 3.08A15.4 15.4 0 0012 7a15.4 15.4 0 00-6.32.08A8 8 0 0112 4zm-7.44 4.83A17.3 17.3 0 0112 9c2.67 0 5.18.62 7.44 1.83A8 8 0 0112 20a8 8 0 01-7.44-11.17z"/></svg>
+ </div>
+ <div class="provider-info">
+ <h3>Ollama Cloud</h3>
+ <p>Remote Ollama models via API key. No local setup required.</p>
+ </div>
+ </div>
+ <div class="provider-card">
+ <div class="provider-logo">
+ <svg viewBox="0 0 24 24" width="32" height="32" fill="currentColor"><path d="M4 6a2 2 0 012-2h12a2 2 0 012 2v7a2 2 0 01-2 2H6a2 2 0 01-2-2V6z M2 19h20v1H2z M7 15h10v2H7z"/></svg>
+ </div>
+ <div class="provider-info">
+ <h3>Ollama Local</h3>
+ <p>Run models on your own machine. Zero API cost, fully private.</p>
+ </div>
+ </div>
+ </div>
+ <div class="provider-note">
+ <p>More providers on the way — Google Gemini, Mistral, and others. Mercury's OpenAI-compatible architecture also supports custom endpoints.</p>
+ </div>
+ </div>
+ </section>
+
<section id="cta" class="section cta-section">
<div class="container">
<h2 class="section-title">Ready to Deploy Your Agent?</h2>
diff --git a/docs/style.css b/docs/style.css
index 48f21e91..b7ec71ea 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -334,4 +334,74 @@ footer {
.steps { flex-direction: column; align-items: center; }
.compare-table { font-size: 0.8em; }
.footer-inner { flex-direction: column; text-align: center; }
+}
+
+/* ── Provider Grid ── */
+.provider-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
+ gap: 20px;
+ margin-bottom: 24px;
+}
+
+.provider-card {
+ background: var(--bg-card);
+ border: 1px solid var(--border);
+ border-radius: 12px;
+ padding: 24px;
+ display: flex;
+ align-items: flex-start;
+ gap: 16px;
+ transition: all 0.3s;
+}
+
+.provider-card:hover {
+ background: var(--bg-card-hover);
+ border-color: var(--cyan-dim);
+ transform: translateY(-2px);
+}
+
+.provider-logo {
+ flex-shrink: 0;
+ width: 40px;
+ height: 40px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: var(--cyan);
+}
+
+.provider-logo svg {
+ filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.25));
+}
+
+.provider-info h3 {
+ font-size: 1.05em;
+ margin-bottom: 4px;
+ color: var(--white);
+}
+
+.provider-info p {
+ color: var(--gray);
+ font-size: 0.9em;
+ margin-bottom: 0;
+ line-height: 1.5;
+}
+
+.provider-info code {
+ font-size: 0.85em;
+}
+
+.provider-note {
+ text-align: center;
+ color: var(--gray-dim);
+ font-size: 0.92em;
+ margin-top: 16px;
+ padding: 16px;
+ border: 1px dashed var(--border);
+ border-radius: 8px;
+}
+
+.provider-note p {
+ margin: 0;
}
\ No newline at end of file