IMPORTANT
AI Context & Knowledge Heritage
- Subsystem: Architecture & Documentation / Core Docs / GETTING_STARTED
- Architecture:
@docs ARCHITECTURE:Documentation - Failure Path: Information drift, legacy terminology, or documentation mismatch.
- Observability: Traceability via
execution/parity_guard.py
π Tadpole OS β Getting Started Guide β
Intelligence Level: Configuration: Standard Business Setup Status: Setup guide; feature availability depends on the selected build and configuration Version: 1.1.464 Last Hardened: 2026-08-19 Classification: Sovereign
π Table of Contents β
- π₯οΈ Desktop App (Fastest Start)
- π‘οΈ Secure Configuration (The Zero-Secrets Handshake)
- ποΈ Hardware Requirements (Scaling Spec)
- Step 1: Connect to the Operations Dashboard
- Step 2: Unlock the Neural Vault & Add Your Groq Provider
- Step 3: Deployment with Business Starter Kits
- Step 4: Local Intelligence (Local LLMs via Ollama)
- Step 5: Add Models to the Registry
- Step 6: Configure an Agent Node
- Step 7: Send Your First Task & Get Results (Fast Win! β‘)
- Step 8: Bulk Capability Assignment (Skills Hub)
- Step 9: Importing External Capabilities (.md)
- Step 10: Create and Execute a Mission Cluster
- Step 11: Workspace Sandboxing & Cluster Management
- Step 12: External Adapters & Workspace Tools
- Step 13: SME Data Intelligence (Connectors & SOP Workflows)
- Step 14: Performance Analysis & Real-time Telemetry
- Step 15: The Swarm Template Ecosystem
- π οΈ Useful Terminal Commands
- π§© Troubleshooting
- πΈ Starter Swarm Configuration (Quick-Deploy)
- π― Showcase Mission: "Competitive Intelligence Swarm"
- ποΈ Swarm Topology Guide
- ποΈ Architecture Quick Reference
IMPORTANT
Product Release Classification: Sovereign Developer Engine (Plane 1 GA) Tadpole OS v1.1 is released as a Sovereign Local Multi-Agent Swarm Engine for Developers & Engineers.
- Plane 1 (Active & Production Ready): Full sovereign codebase lifecycle engine, local Axum + Tokio backend, LanceDB vector memory, AST Code Graphs, and local multi-agent swarms.
- Plane 2 (Developer Sandbox & Scenario Preview): Company-agnostic SMB virtual employees (Shopify, QuickBooks, Gmail) are provided as a Developer Sandbox & Scenario Preview. In accordance with
FR-11security policy anddocs/specs/mock-smb-digital-twin.md, live customer data and live mutating connectors are fail-closed until multi-tenant backend isolation is deployed.
π₯οΈ Desktop App (Fastest Start) β
No Node.js, Rust, or build toolchain required. Download the pre-compiled native desktop bundle for your platform:
| Platform | Download | Notes |
|---|---|---|
| Windows | β¬οΈ Windows Installer (.exe) | NSIS installer + standalone portable .exe |
| macOS Universal | π macOS Universal (.dmg) | Native slices for Apple Silicon (M1βM4) and Intel x86_64 in one fat binary |
| Linux | π§ Linux (.deb / .AppImage) | Debian package or universal AppImage |
NOTE
macOS Gatekeeper: The macOS build is ad-hoc signed without notarization. System Settings β Privacy & Security may require approval. For a trusted local build:
xattr -cr /Applications/AI-Tadpole-OS.appPersistent data (database, neural token, logs) defaults to ~/Library/Application Support/com.tadpole.os/. Set an absolute TADPOLE_DATA_DIR before launch to override it. Unavailable or invalid directories stop startup.
TIP
The universal target includes Apple Silicon and Intel slices. Check the native verification status; local configuration tests do not establish that an installed package has passed on both architectures.
π‘οΈ Secure Configuration (The Zero-Secrets Handshake) β
To ensure your instance of Tadpole OS remains private and sovereign, you must supply your own API keys. Never commit your keys to version control.
1. Initialize Your Environment β
- Copy the template:
cp .env.example .env - Open
.envand generate a uniqueNEURAL_TOKEN(e.g.,openssl rand -hex 32). This token secures the connection between your browser and the engine.
2. Complete Environment Security Variable Reference β
| Variable | Description | Requirement / Default |
|---|---|---|
DATABASE_URL | Path to the SQLite database | Optional. If unset, the engine uses data/state/tadpole.db; if only the legacy data/tadpole.db exists, startup copies it and its WAL/SHM sidecars to the canonical path. To set it explicitly, use sqlite:data/state/tadpole.db or an absolute path. |
NEURAL_TOKEN | Operational Engine Access Token (AuthenticatedRole::Deploy) | Required β engine panics if neither NEURAL_TOKEN nor NEURAL_ENGINE_ACCESS_TOKEN is set. |
NEURAL_ENGINE_ACCESS_TOKEN | Alias for NEURAL_TOKEN | Can be used instead of NEURAL_TOKEN. Engine checks this first. |
NEURAL_ADMIN_TOKEN | Administrative Access Token (AuthenticatedRole::Admin) | Required & distinct from NEURAL_TOKEN in production (TADPOLE_ENV=production). Required by RequireAdmin routes (403 for NEURAL_TOKEN). |
OVERSIGHT_PUBLIC_KEY | 64-hex Ed25519 verifying key for signed oversight decisions | Required in production (TADPOLE_ENV=production). |
TADPOLE_ENV | Runtime mode (development | production) | Production enables fail-closed checks on admin token separation, OVERSIGHT_PUBLIC_KEY, and ALLOWED_ORIGINS. |
VITE_NEURAL_TOKEN | Frontend token (Vite env var) | Local dev only β never set in production web builds (baked into JS bundle). Enter tokens in Settings instead. |
AUDIT_PRIVATE_KEY | Ed25519 Private Key (Hex) | Recommended for production. Enables non-repudiation and tamper-evident Merkle logging. |
ALLOWED_ORIGINS | Comma-separated CORS/WS origins | Default: http://localhost:5173 (empty fails closed in production). |
TADPOLE_BACKUP_PASSPHRASE | Backup daemon encryption passphrase (β₯12 chars) | Optional env source for TADPOLE_SNAP_V2 automated backups (never serialized to system_backup.json). |
TADPOLE_BACKUP_ROOT | Extra authorized backup destination root | Optional; allows backups outside default backups/ and data/backups/. |
TADPOLE_TRUST_INTERPRETERS | Allow agent shell execution of python/node/cargo/npm/pnpm/rustc | Default: false (denied unless 1). |
MAX_SWARM_DEPTH | Maximum agent recursion/spawn depth | Default: 5 |
MAX_AGENTS | Maximum agents in the registry | Default: 50 |
MAX_CLUSTERS | Maximum active clusters | Default: 10 |
GOOGLE_API_KEY | Google Gemini Provider Key | Optional (AI Studio) |
ANTHROPIC_API_KEY | Anthropic Claude Provider Key | Optional (Anthropic Console) |
OPENAI_API_KEY | OpenAI GPT Provider Key | Optional (OpenAI Platform) |
GROQ_API_KEY | Groq Provider Key | Optional (Groq Cloud) |
DEEPSEEK_API_KEY | DeepSeek Provider Key | Optional (DeepSeek Platform) |
OLLAMA_HOST | Local LLM Endpoint | Default: http://localhost:11434 |
DISCORD_WEBHOOK | Discord notification URL | Required only for notify_discord tool |
LOCAL_WHISPER_URL | Loopback-only local Whisper STT endpoint (http://127.0.0.1:8001) | Optional (strictly localhost/127.0.0.1/::1; allowed under PRIVACY_MODE=true) |
LOCAL_TTS_URL | Loopback-only local TTS endpoint (http://127.0.0.1:8880, e.g. Kokoro/Piper HTTP) | Optional (strictly localhost/127.0.0.1/::1; allowed under PRIVACY_MODE=true) |
PRIVACY_MODE | Route runner LLM calls to local endpoints & block cloud voice routes (/v1/engine/live-voice, cloud TTS/STT β 403) | Default: false (loopback LOCAL_WHISPER_URL/LOCAL_TTS_URL remain allowed; not a host-level egress firewall) |
AUTO_APPROVE_SAFE_SKILLS | Auto-approve tools tagged as "safe" | Default: false |
SME_SYNC_INTERVAL_MINS | Ingestion Worker sync frequency (minutes) | Default: 30 |
3. Local-First (Zero Cost / Offline Voice) Option β
If you prefer not to use external APIs, install Ollama and set PRIVACY_MODE=true. This routes runner reasoning to local models and blocks cloud voice endpoints (/v1/engine/live-voice, cloud /v1/engine/speak, cloud /v1/engine/transcribe β HTTP 403). For full offline voice without cloud keys, run an OpenAI-compatible local Whisper server (e.g., Speaches / faster-whisper-server / whisper.cpp) and optional local TTS server (e.g., Kokoro-FastAPI or Piper HTTP) on 127.0.0.1 and set LOCAL_WHISPER_URL and LOCAL_TTS_URL in .env (or use built-in Browser TTS). Use host firewall rules for a strict zero-egress air gap.
IMPORTANT
Your keys are only stored in .env. When you save provider configurations in the UI, the engine automatically sanitizes them and only stores metadata (URLs, model names) in the repo-committed JSON files.
ποΈ Hardware Requirements (Scaling Spec) β
Tadpole OS is optimized for low-footprint Rust execution. Requirements scale linearly with agent count and mission complexity.
| Tier | Agents | Clusters | Min RAM | vCPU | Deployment |
|---|---|---|---|---|---|
| Micro (Demo) | 1-2 | 1 | 1 GB | 1 | Hybrid |
| Standard (Office PC) | 2-9 | 1-2 | 2 GB | 2 | Hybrid |
| Cluster Max | 10-25 | 4+ | 4 GB | 4 | Hybrid |
| ROBUST (PRO) | 25+ | Full | 8 GB+ | 4-8 | Full Remote |
TIP
Robust Recommendation: For high-vocal missions with real-time audio and massive fetch_url research, an 8GB / 4-vCPU instance ensures zero latency in the context bus and allows for full remote rebuilds without OOMs.
Step 1: Connect to the Operations Dashboard β
- Open Tadpole OS in your browser:
- Local Dev:
http://localhost:5173(Vite 8 / React 19) - Production (Local Server):
http://<local-ip>:8000(Axum)
- Local Dev:
- Go to βοΈ Settings from the sidebar (bottom-left gear icon).
- Under Engine Connection, verify the TadpoleOS URL is set to your engine endpoint and the Neural Engine Access Token matches your
.envvalue. - Click Save Changes β the dashboard auto-reconnects immediately using the Lazy Singleton Socket protocol.
- In the Tab Bar, you can now open additional operational contexts (Missions, Hierarchy, etc.) without losing your current view.
- The top Ticker Header should show π’ ONLINE and display real-time engine telemetry.
TIP
Multi-Monitor Setup: Tadpole OS supports State-Preserved Detachment. Click the External Link icon on any tab to "pop out" that context into a dedicated portal window. This uses a shared JS heap for zero-latency cross-window synchronization.
Development Note: If
DATABASE_URLis unset, the engine usesdata/state/tadpole.dbrelative to the engine base directory. An existing legacydata/tadpole.dbis copied there at startup when the canonical file is absent. To choose a path explicitly, usesqlite:data/state/tadpole.dbor an absolute SQLite URL.
Step 2: Unlock the Neural Vault & Add Your Groq Provider β
The Neural Vault is an encrypted vault that stores your API keys. You must unlock it before configuring providers.
NOTE
UI Architecture Logic Flow: Provider (The Door) β Model (The Person Inside) β Agent (The Job Role)
- Go to Providers from the sidebar (under the Intelligence section)
- You'll see the NEURAL VAULT lock screen
- Enter a master password (this encrypts your keys locally) β click Commit Authorization
- You'll now see the Provider Cards section
Adding Groq as a Provider β
- If Groq is already listed, click the Edit (pencil) icon on the Groq card
- If not listed, click + ADD PROVIDER at the bottom:
- Name:
Groq - Icon:
β‘(or any emoji) - Click Create
- Name:
- On the Groq provider card:
- API Key: Paste your Groq API key
- Base URL:
https://api.groq.com/openai/v1 - Protocol:
OpenAI (OpenRT)β Groq uses OpenAI-compatible API
- Click Save on the provider card.
- Test Trace (Handshake): Click the "Test Trace" button to perform a real-time connectivity handshake. This verifies your API Key, Endpoint, and Protocol are valid before deployment.
TIP
The vault stores your key encrypted in browser storage. When you dispatch a task, the browser sends the decrypted key to the configured Tadpole OS engine, which uses it for the selected provider. Use a trusted engine endpoint and HTTPS when connecting remotely.
Step 3: Deployment with Business Starter Kits (Optional) β
For rapid SME deployment, Tadpole OS allows you to choose a Business Starter Kit (Marketing, Customer Success, Finance). See the full Starter Kits Guide for the current built-in kits and install paths.
Step 4: Local Intelligence (Local LLMs via Ollama) β
- Follow the Qwen3.5-9B Local Integration Guide for detailed setup.
- Once configured, you can add local models similarly to the steps below.
Step 5: Add Models to the Registry β
Still on the Providers page, scroll down to the Model Registry section.
- Click + ADD MODEL
- Fill in:
- Model Name:
llama-3.3-70b-versatile - Provider: Select
Groqfrom the dropdown - RPM (optional): e.g.,
30β prevents exceeding Groq's free-tier rate limits - TPM (optional): e.g.,
14000β the engine will throttle automatically - # / Context Field (optional): e.g.,
128000β sets token context capacity - $/M input tokens (optional): e.g.,
0.59β custom cost per million prompt tokens - $ /M output token (optional): e.g.,
0.79β custom cost per million completion tokens
- Model Name:
- Click the β checkmark to save (Tip: Use the SHOW RATE LIMITS & PRICING button on any inventory card to inspect or edit these values at any time).
NOTE
Groq Model Catalog Advisory: Groq officially decommissioned free/developer-tier endpoints for llama-3.3-70b-versatile and llama-3.1-8b-instant. To check active models currently supported on your Groq API key, run:
curl -X GET "https://api.groq.com/openai/v1/models" -H "Authorization: Bearer $GROQ_API_KEY"Recommended active cloud models include openai/gpt-oss-120b, qwen/qwen3.6-27b, or local zero-cloud endpoints (qwen3.5:9b, gemma4:e4b).
Recommended models to add:
| Model Name | Provider | Best For |
|---|---|---|
openai/gpt-oss-120b | Groq | High-performance general tasks, tool calling |
qwen/qwen3.6-27b | Groq | Fast responses, code reasoning |
qwen3.5:9b | Ollama | Local Power, high logic fidelity, zero cloud egress |
gemma4:e4b | Ollama | Lightweight Local, fast summarization |
Repeat for each model you want available.
Step 6: Configure an Agent Node β
- Go to Hierarchy from the sidebar
- You'll see the Neural Command Hierarchy β your agent org chart
- Click on any agent card (e.g., Agent of Nine, Tadpole, etc.)
- The Agent Config Panel slides open on the right
In the Config Panel: β
Identity Section (top):
- Name: Give it a descriptive name (e.g.,
Research Bot) - Role: Select from the dropdown (e.g.,
Researcher,Engineer,Analyst)
- Name: Give it a descriptive name (e.g.,
Cognition Tab (MCP Tools & Skills):
- Skills & Workflows: Toggle standard skills like
web_searchorexecute_shell. - MCP Tools: Select external tools from the high-density grid. These are specifically designed for Model Context Protocol integration.
- Model Settings: Configure model, provider, and temperature for each slot (agents support up to 3 model slots).
- Skills & Workflows: Toggle standard skills like
Voice & Governance Tabs:
- Voice: Configure TTS/STT identity and voice engine (supports
gemini-liveand standard OpenAI TTS). - Governance: Toggle the Requires Oversight flag (Junior Agent mode) and set persistent USD budget caps for this specific node.
- Voice: Configure TTS/STT identity and voice engine (supports
Click πΎ SAVE CONFIG at the bottom.
IMPORTANT
The save pushes your config to the Rust backend, so it persists across devices and restarts. You'll see Capability Badges appear on the agent's card in the Hierarchy view, showing the count of assigned tools.
Step 7: Send Your First Task & Get Results (Fast Win! β‘) β
Now that your agent node is configured, send a quick test task to verify live operation immediately before exploring advanced swarm features.
Option A: From the Terminal Bar (Bottom of Page) β
- Click the terminal input field at the bottom of any screen.
- Type a command:textFormat:
/send Research Bot Analyze the top 3 competitors in the AI agent space and summarize their pricing models/send <agent-name> <your task message> - Press Enter.
- Watch the System Log on the dashboard for real-time status updates and the final LLM response:
π‘ Task dispatched to Research Bot
Option B: Command Palette (Cmd+K / Ctrl+K) β
- Press
Cmd+K(Mac) orCtrl+K(Windows) anywhere. - Search for your Agent or Mission Cluster.
- Select the agent to open their active chat window.
Option C: Neural Sync (Voice-to-Swarm) β
- Go to Voice Interface from the sidebar (under "Comms & Assets").
- Select your Target Agent or Mission Cluster β Click Start Sync.
- Speak your objective clearly. The engine transcribes intent via Whisper and responds via TTS.
Step 8: Bulk Capability Assignment (Skills Hub) β
Instead of configuring agents one-by-one, you can assign tools to multiple agents simultaneously.
- Go to Skills from the sidebar (under the Intelligence section, indented below Agents).
- Select any Skill, Workflow, or MCP Tool.
- Click the "Assign to Agents" button in the details panel.
- Select all agents you want to receive this capability.
- Click Commit Assignments. The engine will bulk-sync the configurations live.
Step 9: Importing External Capabilities (.md) β
Tadpole OS allows you to rapidly build your agent's library by importing existing documentation.
- Go to Skills.
- Click the "Import .md" button in the header.
- Select a
.mdfile containing a skill or workflow definition. - Review the Import Preview to verify the parsed logic and ID.
- Click Confirm Import. The capability is now available in your User Registry for assignment.
Step 10: Create and Execute a Mission Cluster β
- Go to Missions from the sidebar
- Click + NEW MISSION in the top-right of the cluster sidebar
- Fill in:
- Mission Name: e.g.,
Market Research Sprint - Department: Select the relevant department (e.g.,
Research) - Local-Only Air-Gap Mode (Optional): Toggle ON to route this cluster's model calls through local Ollama. This affects provider routing only; it does not create company-scoped storage or authorize live Plane 2 data. Keep business workflows at synthetic preview until the company runtime is available.
- Mission Name: e.g.,
- Click Create
Assign Agents to the Mission: β
- Select your new mission in the sidebar (it'll highlight)
- In the Available Agents pool on the right, click + Assign next to each agent you want on this mission
- Hierarchical Recruitment: High-level agents (Alphas) can recruit ephemeral sub-agents. The engine uses modular specialists from
runner/mission_tools/to delegate tasks with strategic context handoffs. - Parallel Swarming (PERF-06): Tadpole OS utilizes
FuturesUnorderedto parallelize tool calls. Recruitment of multiple specialists happens simultaneously, reducing swarm startup latency by up to 80%. - Swarm Pulse Visualizer: Toggle the "Neural Map" icon on the mission dashboard to see a real-time Force-Graph visualization of cluster connectivity, featuring 10Hz binary telemetry pulses.
- Neural Swarm Optimization: When you type an objective, the engine proactively suggests mission-specific templates via the Template Discovery Hub.
- Recursion Guard: To prevent circular token-burn, the engine enforces a configurable Max Swarm Depth (default: 5, set via
MAX_SWARM_DEPTHin.env). - Mission Analysis (Agent 99): Toggle the "Analysis" switch next to the Run button to trigger a post-mission debrief powered by LanceDB vector synthesis.
Step 11: Workspace Sandboxing & Cluster Management β
Tadpole OS allows you to organize your swarm into Mission Clusters.
- Defaults: The engine starts with 4 predefined clusters (Strategic Command, Strategic Ops, Core Intelligence, Applied Growth).
- Custom Scaling: You can create new clusters or retire existing ones from the Missions page.
- Per-Cluster Privacy Routing: Enable the Privacy Shield (π‘οΈ) for a cluster to make runner model selection prefer local endpoints and exclude configured cloud model slots for that run. This does not block general network egress; the global privacy monitor sends periodic reachability probes. Use host/network controls for an actual air gap.
- Persistence: Agent roles and system configurations are stored in the backend SQLite database (
data/state/tadpole.dbby default; an existing legacydata/tadpole.dbis copied on startup when needed). Logical mission clusters and per-cluster governance policies are saved indata/governance_settings.jsonand frontend state. - Cluster Workspaces: The runner creates cluster workspaces under
data/workspaces/{clusterId}. This is workspace organization and path scoping, not company or tenant isolation.
Step 12: External Adapters & Workspace Tools β
The engine can now connect to your local environment and external services.
Workspace File Operations β
Agents with matching skills can read and write files within their cluster sandbox:
read_file: Read a file from the workspace (e.g., load a spec document).write_file: Write a file to the workspace (e.g., save generated code).list_files: List files in a workspace directory.delete_file: Delete a file (requires Oversight Gate approval).
Runner workspace files are stored under data/workspaces/<cluster-id>/ on the server. File tools apply path checks against the configured workspace root, but this directory layout does not isolate company data or restrict every other tool and network path.
Local Markdown Vault (Obsidian) β
Enabled agents can use the archive_to_vault tool.
- Create a
vault/directory in theserver-rsroot. - Agents will automatically append findings to files in this directory when requested.
Discord Notifications β
- Add
DISCORD_WEBHOOK="your_webhook_url"to your.envfile. - Use the
notify_discordtool from an agent to alert your team.
Standardized Observability (HATEOAS) β
All resource endpoints in Tadpole OS implement the HATEOAS pattern. Responses include a _links object, enabling self-discovery of related actions. Error responses strictly follow RFC 9457 (Problem Details) for consistent machine-readable debugging.
Step 13: SME Data Intelligence (Connectors & SOP Workflows) β
Tadpole OS includes a 5-phase data intelligence layer for SME onboarding.
WARNING
Plane 2 is preview-only. Company-scoped authorization, memory, and storage are pending. The generic runner rejects only an agent whose stored department exactly matches Plane 2: SMB-Digital-Twin (case-insensitive); other labels do not trigger the guard. Until the company-scoped runtime exists, use synthetic inputs and stop business workflows at previewβdo not connect real customer data, import it, persist it, publish it, or dispatch live workflows through the generic runner.
Phase 1: Hybrid RAG β
The Neural Memory engine (memory.rs) automatically combines vector similarity with keyword proximity scoring for higher-fidelity context retrieval. This is transparent β no configuration required.
Phase 2: Data Connectors (Background Sync) β
- Go to Hierarchy β select an agent β open the Memory tab.
- In the Connector Config section, click + Add Source.
- For evaluation, set Type to
fs(file system) and URI to a synthetic sample directory only (e.g.,/data/sample-docs/). - Click Save. The Ingestion Worker will begin crawling this directory at the interval set by
SME_SYNC_INTERVAL_MINS. - Monitor sync status (idle/syncing/error) in the Memory Section UI.
Phase 3: Outward Customer Catalog & A2A Gateway (/smb-practice β Catalog & A2A Knowledge) β
The catalog manager is embedded within the company-scoped SMB Practice workspace (/smb-practice, with /customer-catalog redirecting automatically). Use synthetic content and stop at the preview; do not publish a live company card or use the public search endpoint for customer data until the scoped runtime is available.
- Open the left sidebar, click SMB Practice (
/smb-practice), and select the Catalog & A2A Knowledge tab. - Set your SMB Business Name and select the Outward Local Model Profile (default:
gemma4:e4b). - Fill out required business information, FAQs, policies, and operating hours using the interactive Business FAQ & Operating Info Card Manager.
- Click CSV Catalog, QuickBooks, or PDF Pricelist to ingest catalog items into the active company's catalog offerings.
- Review the
company-agent-card.jsonpreview only. Do not publish or distribute the public endpoint for a live company workflow.
π Publishing Online via GitHub Pages (Guide for Cloners & Forkers) β
If you clone or fork this repository and want to host your A2A Agent Card publicly online without exposing your local machine:
- Fork the Repository: Push your cloned repo to GitHub (e.g.,
https://github.com/<your-username>/<your-repo>). - Enable GitHub Pages: Go to
Settings -> Pagesin GitHub, set Source to GitHub Actions (thedocs.ymlworkflow handles VitePress deployment automatically). - Place Your Agent Card: Your static A2A assets live in
docs/public/β VitePress automatically includes them in the deployed site:docs/public/a2a/v1/company-agent-card.jsonβ your A2A agent carddocs/public/.well-known/agent.jsonβ IETF standard discovery endpoint
- Live Public Endpoint: After the
Deploy VitePress Siteworkflow runs, your agent card is live at:https://<your-username>.github.io/<your-repo>/a2a/v1/company-agent-card.json - Automatic AI Discovery: External web agents, AI crawlers, and search engines automatically locate your card via:
- Global IETF discovery:
/.well-known/agent.json - HTML
<head>meta tags:<link rel="agent-card" href="/a2a/v1/company-agent-card.json"> - AI search crawler directives in
robots.txtandsitemap.xml
- Global IETF discovery:
TIP
Real-time client-side PII scanning (with Luhn Mod-10 credit card verification) warns you if sensitive keys or card numbers are detected in your knowledge cards before publishing.
Phase 4: Deterministic SOP Workflows β
The generic SOP engine does not bind runs to a company key. Use it only for engine workflows or synthetic previews; do not assign customer-facing workflows until company-scoped execution is implemented.
- Create a markdown file in
data/workflows/on the server (e.g.,data/workflows/onboarding.md). - Format it with numbered steps β each step becomes a discrete agent turn.
- Assign the workflow to an agent via the Cognition tab in the Agent Config Panel.
- When the agent receives a mission, the SOP Engine will execute each step in guaranteed order.
Phase 5: Layout-Aware Document Parsing β
The Data Connectors automatically use the Layout-Aware Parser (parser.rs) for all ingested files. Supported formats: .txt, .md, .csv, .pdf (text-layer). Documents are chunked with 25% overlap for optimal embedding quality.
Step 14: Performance Analysis & Real-time Telemetry β
Tadpole OS provides "Top Tier" observability into swarm health and technical performance.
1. Real-time Telemetry (Swarm Visualizer) β
The Engine page (sidebar: "Engine" under Intelligence) features a high-performance Swarm Visualizer:
- Binary Swarm Pulse: Driven by a 10Hz MessagePack stream (
0x02header) for sub-millisecond state parity. - Topology Map: Visualizes the swarm as a 2D force-graph, showing agent status and recruitment relationships.
- Detach & Recall: Pop the visualizer into a dedicated window for persistent oversight during deep-context missions.
- Fiscal Burn: Real-time USD/token tracking via the TPM indicator.
- Swarm Density: Monitor agent instantiation relative to system capacity.
2. Performance Analysis (Benchmarks) β
- Go to Benchmarks from the sidebar (under Intelligence).
- Timeline View: Review historical benchmark results (latency, throughput, status).
- Comparison Tool: Select any two runs to calculate performance deltas.
- Example: Compare "Current" vs "Baseline" to identify code regressions or provider latency spikes.
- Target Enforcement: Metrics are color-coded against the technical specifications in
Benchmark_Spec.md.
3. Neural Map (Graph Visualization) β
Navigate to Neural Map in the sidebar for a live code intelligence graph β visual blast-radius analysis and symbol-level relationship mapping of the codebase.
Step 15: The Swarm Template Ecosystem β
Instead of manually configuring agents, Tadpole OS allows you to instantly download full, industry-specific agent swarms.
- Go to Store from the sidebar (under Intelligence) β or access it via the Template Store banner at the bottom of the Settings page.
- Discover: Browse the store or use the fuzzy search to find templates tailored to your industry and company size (e.g., "Legal Contract Review", "Healthcare Patient Intake"). Filter by industry and headcount.
- Preview: Click Preview on any template card to inspect the full
swarm.jsonconfiguration before committing. - Install: Click Install Swarm. The engine uses native Git Cloning to securely fetch the template from
github.com/DDS-Solutions/AI-Tadpole-OS-Industry-Templatesand unpacks it into yourdata/swarm_configdirectory. - Local Privacy Shield / Oversight Approval: If the downloaded template requests powerful execution skills (like Shell Access or API payments), the engine will freeze initialization and require you (the Operator) to manually approve the skills, ensuring Zero-Trust security.
Once installed, the Rust engine "hot-loads" the template from your local /data/swarm_config/ directory, and your new specialized agents will immediately appear in the Hierarchy.
π οΈ Useful Terminal Commands β
| Command | What it does |
|---|---|
/send <agent> <message> | Send a task to a specific agent |
/pause <agent> | Pause a running agent |
/resume <agent> | Resume a paused agent |
/status | Show all agent statuses |
/swarm status | Inventory mission clusters |
/clear | Clear the system log |
π οΈ Maintenance & Integrity (Python Environment) β
For advanced users and AI agents, the execution/ directory contains standardized tools for maintaining the "Intelligence Grade" of the codebase:
| Script | Purpose | Protocol |
|---|---|---|
python execution/verify_all.py | Full System Audit | Performs pre-flight checks on engine & services |
python execution/parity_guard.py | Integrity Gate | Ensures documentation matches backend routing |
NOTE
All scripts in execution/ follow a strict [OK] / [FAIL] machine-readable reporting protocol for autonomous agents.
π§© Troubleshooting β
| Issue | Fix |
|---|---|
| Dashboard shows OFFLINE | Check that the engine is running (npm run engine or Docker container is up) |
| Agent returns no response | Verify the model exists in the Model Registry and the API key is valid |
| Neural Vault won't unlock | The vault creates a new encryption key on first use β use any password. If locked out, use Emergency Vault Reset at the bottom of the unlock screen. |
| Model dropdown is empty | Go to Providers β unlock vault β add models to the registry |
| Agent config doesn't save | Check browser console β engine must be online for persistence to work |
| Tool-Calling fails (Groq) | The engine includes Self-Healing Retries for Groq. Malformed tool syntax is automatically corrected in a second pass. |
| Agent is slow / rate limited | The engine enforces rpm/tpm limits set on the model. The agent will wait for the quota window to reset rather than drop requests. |
NEURAL_TOKEN panic on start | Either NEURAL_TOKEN or NEURAL_ENGINE_ACCESS_TOKEN env var is required for the engine to start. Set it in your .env file. |
| Workspace file access denied | Agent tried to access a path outside its sandbox. Check cluster_id mapping and ensure no path traversal in the filename. |
| Database not found on Windows | Leave DATABASE_URL unset to use data/state/tadpole.db, or set it to sqlite:data/state/tadpole.db / an absolute SQLite path |
πΈ Starter Swarm Configuration (Quick-Deploy) β
This section provides a ready-to-use 3-agent swarm with concrete settings optimized for Groq's free tier. Follow this to have a working hierarchical swarm in under 5 minutes.
Agent Roster β
| Agent | ID | Role | Model | Provider | Temperature | Budget | Skills |
|---|---|---|---|---|---|---|---|
| Agent of Nine | 1 | CEO | openai/gpt-oss-120b | Groq | 0.8 | $2.00 | issue_alpha_directive, web_search |
| Tadpole | 2 | COO (Alpha) | openai/gpt-oss-120b | Groq | 0.6 | $3.00 | web_search, write_file, read_file, spawn_subagent |
| Elon | 3 | CTO (Specialist) | qwen/qwen3.6-27b | Groq | 0.3 | $1.00 | execute_shell, write_file, read_file, list_files |
TIP
Why these settings?
- Agent of Nine uses high temperature (
0.8) for creative strategic thinking and delegation. - Tadpole (Alpha) gets medium temperature (
0.6) for balanced coordination and thespawn_subagentskill for recruitment. - Elon (Specialist) runs a fast, cheap model at low temperature (
0.3) for precise code execution. - Budget caps prevent runaway token spend on Groq's free tier.
Rate Limits & Pricing (Groq Free Tier Safe) β
Set these in the Providers β Model Registry (click SHOW RATE LIMITS & PRICING or click the edit icon on the model row):
| Model | RPM | TPM | Context Window | Input Cost ($/M) | Output Cost ($/M) |
|---|---|---|---|---|---|
llama-3.3-70b-versatile | 30 | 14000 | 128000 | $0.59 | $0.79 |
llama-3.1-8b-instant | 30 | 14000 | 128000 | $0.05 | $0.08 |
Applying via the UI β
- Go to Hierarchy β click each agent card
- Set the Model, Temperature, and Budget as shown above
- Expand Skills & Workflows β toggle the listed skills for each agent
- Click πΎ SAVE CONFIG for each agent
Applying via API (curl) β
If you prefer programmatic setup, here are the exact payloads:
Configure Agent of Nine (CEO):
curl -X PUT http://localhost:8000/v1/agents/1 \
-H "Authorization: Bearer YOUR_NEURAL_ADMIN_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model_id": "openai/gpt-oss-120b",
"provider": "groq",
"temperature": 0.8,
"budget_usd": 2.0,
"skills": ["issue_alpha_directive", "web_search"]
}'Configure Tadpole (Alpha/COO):
curl -X PUT http://localhost:8000/v1/agents/2 \
-H "Authorization: Bearer YOUR_NEURAL_ADMIN_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model_id": "openai/gpt-oss-120b",
"provider": "groq",
"temperature": 0.6,
"budget_usd": 3.0,
"skills": ["web_search", "write_file", "read_file", "spawn_subagent"]
}'Configure Elon (Specialist/CTO):
curl -X PUT http://localhost:8000/v1/agents/3 \
-H "Authorization: Bearer YOUR_NEURAL_ADMIN_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model_id": "qwen/qwen3.6-27b",
"provider": "groq",
"temperature": 0.3,
"budget_usd": 1.0,
"skills": ["execute_shell", "write_file", "read_file", "list_files"]
}'NOTE
PUT /v1/agents/{id} requires RequireAdmin. Replace YOUR_NEURAL_ADMIN_TOKEN with NEURAL_ADMIN_TOKEN from your .env file (or NEURAL_TOKEN in single-token local dev when NEURAL_ADMIN_TOKEN is unset). Substitute any active model ID from your Groq catalog or local Ollama (qwen3.5:9b, gemma4:e4b). There is no built-in development token.
π― Showcase Mission: "Competitive Intelligence Swarm" β
This mission demonstrates the full power of hierarchical swarming β strategic delegation, parallel research, file collaboration, and synthesis. Run this after applying the Starter Swarm configuration above.
Mission Overview β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β YOU (Operator) β
β "Analyze the top 3 AI agent frameworks and write β
β a competitive brief with code comparison." β
βββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β Neural Handoff
βββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββ
β Agent of Nine (CEO) β Depth 0 β
β Refines intent β issues alpha directive to Tadpole β
βββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β issue_alpha_directive
βββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββ
β Tadpole (Alpha/COO) β Depth 1 β
β Decomposes into parallel research tasks β
β ββ spawn_subagent("researcher_a") β CrewAI analysis β
β ββ spawn_subagent("researcher_b") β AutoGen analysis β
β ββ Assigns Elon to code comparison β
ββββββββ¬βββββββββββββββ¬ββββββββββββββββ¬βββββββββββββββββββββ
β β β (Parallel)
βββββΌββββ βββββββΌββββββ ββββββΌββββββββββββββββββ
βRsrchr Aβ β Rsrchr B β β Elon (CTO) β D2 β
βCrewAI β β AutoGen β β execute_shell + β
βresearchβ β research β β write_file β
βββββ¬βββββ βββββββ¬ββββββ ββββββ¬ββββββββββββββββββ
β β β
βββββββββββββββββΌβββββββββββββββ
β Results flow up
ββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββ
β Tadpole (Alpha) β Synthesis β
β Merges all findings β write_file("competitive_brief.md")β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββStep 1: Dispatch the Mission β
From the Terminal Bar:
/send Agent of Nine Analyze the top 3 AI agent frameworks (CrewAI, AutoGen, LangGraph). For each, research their architecture, pricing, and developer experience. Then have our CTO write a Python code comparison showing how each framework defines a simple 2-agent team. Synthesize everything into a competitive_brief.md in our workspace.Or via curl:
curl -X POST http://localhost:8000/v1/agents/1/tasks \
-H "Authorization: Bearer YOUR_NEURAL_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"message": "Analyze the top 3 AI agent frameworks (CrewAI, AutoGen, LangGraph). For each, research their architecture, pricing, and developer experience. Then have our CTO write a Python code comparison showing how each framework defines a simple 2-agent team. Synthesize everything into a competitive_brief.md in our workspace.",
"provider": "groq",
"model_id": "llama-3.3-70b-versatile",
"budget_usd": 2.0
}'Step 2: Watch the Swarm Execute β
Open these dashboard views to observe the swarm in real-time:
| View | What You'll See |
|---|---|
| Hierarchy | Agent status lights change: idle β thinking β active as each node activates |
| Missions | The cluster sidebar shows task assignments and handoff chains |
| Operations | Live token burn, cost tracking, and the System Log streaming agent outputs |
| Oversight | If write_file or delete_file triggers, you'll see approval requests here |
What Happens Under the Hood β
- Agent of Nine receives the prompt, applies strategic reasoning, and fires
issue_alpha_directiveto Tadpole with a refined, tactical breakdown. - Tadpole decomposes the directive into 3 parallel tasks:
- Spawns Researcher A (ephemeral) β searches for CrewAI architecture and pricing
- Spawns Researcher B (ephemeral) β searches for AutoGen architecture and pricing
- Sends a direct task to Elon β write Python code comparing all 3 frameworks
- Parallel Swarming (PERF-06) kicks in β all 3 sub-tasks execute concurrently via
FuturesUnordered. - As results flow back, Tadpole's synthesis turn merges them and calls
write_file("competitive_brief.md")to save the final deliverable. - Cost and token metrics are tracked per-agent in real-time on the Operations Dashboard.
Expected Output β
After ~30-60 seconds (depending on Groq load), you'll find:
data/workspaces/<cluster-id>/competitive_brief.mdβ The final synthesized report- System Log entries showing the full delegation chain with swarm lineage breadcrumbs
- Per-agent cost breakdown on each hierarchy node card
Scaling This Pattern β
| Adjustment | How |
|---|---|
| Add more researchers | Give Tadpole more budget and increase MAX_SWARM_DEPTH in .env |
| Use multiple providers | Assign Claude to Agent of Nine, Groq to specialists |
| Enable voice dispatch | Use Voice Interface β Neural Sync instead of typing |
| Auto-approve safe tools | Set AUTO_APPROVE_SAFE_SKILLS=true in .env or toggle in Oversight Settings |
| Save as a template | Use "Promote to Role" on your configured agents |
ποΈ Swarm Topology Guide (How Many Bunkers Do You Need?) β
NOTE
Bunker vs. Cluster Definition:
- Bunker: Refers to the physical or virtual node (the underlying hardware instance/host running an engine node).
- Cluster: Refers to a logical grouping or runner workspace of agents running within that node (
data/workspaces/<cluster-id>); it does not establish company or tenant isolation.
Not every deployment needs multiple nodes. Use this table to choose the right topology for your organization before configuring agents.
| Company Size | Recommendation |
|---|---|
| 1β15 people | Single swarm, always. The operational overhead of managing multiple Bunker nodes eliminates the value for small teams. One box, all agents. |
| 15β50 people | Single swarm with logical cluster organization. Use cluster_id to organize agents and knowledge entries by department β Finance, Sales, Ops β without the infrastructure complexity of multi-node. This is not an authorization or tenant-isolation boundary; the deployment is still one box. |
| 50β150 people | Multi-swarm makes sense if you have someone technical. One Bunker per major department (3β4 nodes max). Each node runs its own engine instance; the Bunker Mesh (mDNS peer discovery) handles coordination automatically. |
| 150+ people | Multi-swarm with full mesh. You have IT staff, real compliance requirements, and the budget for dedicated hardware per department. The P2P Knowledge Sync and Gossip Relay layer handles cross-node intelligence sharing. |
TIP
Start with evaluation. Cluster scoping is not company isolation. Keep business workflows at synthetic preview until the company-scoped Plane 2 runtime is available; adding clusters or nodes does not establish the required boundary.
NOTE
Multi-swarm compliance benefit: For regulated industries (finance, healthcare, legal), running sensitive data on a dedicated Bunker that never gossips to other nodes is a structural compliance advantage. Each node's Merkle audit trail is an independent, tamper-evident record.
ποΈ Architecture Quick Reference β
AI-Tadpole-OS documents a Dual-Plane Sovereign Hierarchy (directives/IDENTITY.md); the Plane 2 runtime is planned, not available for live business workflows:
- Plane 1: Sovereign Codebase Lifecycle Engine (
Engine-Maintenance): Knows, operates, diagnoses, fixes, maintains, and improves theAI-Tadpole-OScodebase over time (server-rs/,src/,execution/,ADG v2,parity_guard.py,Agent 99). - Plane 2: Company-Agnostic SMB AI Digital Twin (
SMB-Digital-Twin, planned): Intended to provide business workflows and isolated practice workspaces; implementation andFR-11company-scoped enforcement remain pending. Use synthetic inputs and stop at preview.
βββββββββββββββββββββββββββββββββββββββ
β Your Browser (React) β
β Operations β Hierarchy β Missions β
β Providers β Oversight β Settings β
β Skills β Engine β Store β
βββββββββββββββββ¬ββββββββββββββββββββββ
β HTTP + WebSocket
βββββββββββββββββΌββββββββββββββββββββββ
β Axum Rust Engine :8000 β
β Agent Registry β Task Router β
β Oversight Gate β Persistence β
β Skill Runner β MCP Host β
βββββββββββββββββ¬ββββββββββββββββββββββ
β API Calls
βββββββββββββββββΌββββββββββββββββββββββ
β LLM Provider (Groq) β
β llama-3.3-70b β llama-3.1-8b β
βββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββΌββββββββββββββββββββββ
β SQLite (data/state/tadpole.db) β
β Agents β Models β Audit Trail β
βββββββββββββββββββββββββββββββββββββββ