General
What is OilGas Nanobot Swarm?
OilGas Nanobot Swarm is a hierarchical multi-agent AI system built for petroleum engineering. It uses a 3-tier Queen → L1 Domain Leads → L2 Sub-Agents architecture to decompose complex engineering problems into specialized tasks and synthesize expert-level answers. It runs on Ollama Cloud and NVIDIA NIM — no GPU or local model setup required.
Who is this platform for?
- Reservoir engineers — IPR analysis, material balance, decline curves
- Drilling engineers — ECD, kick tolerance, casing design verification
- Production engineers — well surveillance, optimization, artificial lift
- HSE professionals — PSM compliance audits, HAZOP support
- Operations teams — daily field briefings, digital morning reports
- Technical managers — economic screening, capital allocation
Is it free to use?
The web demo at oilgas-nanobot-swarm.vibecaas.app is completely free — no account required. The API is open and requires no key for
/swarm/run. Self-hosting is also free (MIT license). The upcoming Pro Edition will offer dedicated capacity, Redis memory, scheduled teams, and MS 365 integration.What AI models does it use?
The deployed demo uses Ollama Cloud as the primary backend (fast, ~3–5s) with NVIDIA NIM as fallback. The full self-hosted stack supports Anthropic Claude, local vLLM, and any OpenAI-compatible endpoint. Specific model names are intentionally not exposed in the public API to protect infrastructure details.
Is my data private?
⚠️ Do not submit confidential or proprietary well data to the public demo. Treat it as a public API.
For sensitive data, deploy the self-hosted version on your own infrastructure using Docker Compose, Render, or Railway. The codebase is fully open source and can run air-gapped with a local vLLM server.
Engineering Tools
What engineering calculations are supported?
7 built-in engineering calculators:
reservoir_pressure_calc— hydrostatic gradient, BHP, fracture gradient (Hubbert & Willis)drilling_engineering_calc— ECD, kick tolerance, mud weight windowproduction_engineering_calc— PI, Vogel IPR, Darcy flow, artificial liftpipeline_hydraulics_calc— Darcy-Weisbach pressure drop, flow regime, line sizingwell_control_calc— MAASP, kill mud weight, driller's methodformation_evaluation_calc— Archie Sw, Wyllie porosity, GR shale volumeoilgas_regulatory_reference— API standards, BSEE, OSHA PSM, EPA Quad O
What is the ECD formula used?
The standard industry formula:
Where MW = mud weight, APL = annular pressure loss, TVD = true vertical depth.
ECD (ppg) = MW (ppg) + APL (psi) / (0.052 × TVD (ft))Which IPR model is used for production analysis?
Vogel (1968) for solution-gas drive wells:
Darcy radial flow for tight/conventional wells. The system generates a full 11-point IPR curve from a single test point.
q/q_max = 1 - 0.2(Pwf/Pr) - 0.8(Pwf/Pr)²Are regulatory references up to date?
⚠️ Regulatory references are provided as a starting point only. Always verify against the current edition of the applicable standard or regulation. API, BSEE, EPA, and OSHA standards are updated periodically.
The system references: API 6A, 7-1, 10A, 16A, 17D, 570, 620/650 · BSEE 30 CFR 250 · OSHA 29 CFR 1910.119 (PSM) · EPA 40 CFR Part 60 Subpart OOOO/OOOOa · NORSOK D-010 · ISO 16530.
Using the Platform
How do I use the Swarm Console?
- Go to the Console section on the dashboard
- Click a team card to pre-load an example goal, or type your own
- Click ▶ Run — no login or API key needed for the demo
- Results appear in the console output with step-by-step calculations
💡 Be specific: include numbers and units. e.g. "Calculate ECD at 10,000 ft TVD with 10.5 ppg mud and 320 psi APL. Fracture gradient is 14.2 ppg — is it safe?"
What are Agent Teams and when should I use them?
Teams are pre-configured agent workflows for common engineering tasks. Use them by specifying
"team": "team-name" in your API call or clicking a team card:
well-engineering-review— comprehensive well design reviewreservoir-analysis— formation evaluation + IPRoilgas-field-briefing— daily ops summaryhse-compliance-audit— PSM 14-element audit
How do I use the Agent Builder and Team Builder?
Go to the Builder section:
- Agent Builder — describe what you want one agent to do → generates name, system prompt, tools list, and copy-paste Python code
- Team Builder — describe a multi-step workflow → generates the full agent team with orchestration, roles, and schedule expression
nanobot/teams/oilgas_teams.py in a self-hosted deployment.
Why is the response sometimes slow?
The demo runs on Vercel's serverless platform with a shared AI backend. Response times:
- Simple calculation: 3–8 seconds
- Complex analysis (hierarchical mode): 10–25 seconds
- Cold start (first request after inactivity): add 2–4 seconds
API & Integration
Do I need an API key?
No. The
POST /swarm/run and POST /v1/chat/completions endpoints are fully public — no API key, no account. Just send a POST request with Content-Type: application/json and a goal field.Can I use it with the OpenAI SDK?
Yes — the API is OpenAI-compatible:
from openai import OpenAIclient = OpenAI(base_url="https://oilgas-nanobot-swarm.vibecaas.app/v1", api_key="demo")response = client.chat.completions.create(model="nanobot-swarm", messages=[...])
What are the rate limits?
The public demo is subject to Vercel's serverless function limits and the upstream AI provider rate limits. For production use cases with guaranteed availability and no rate limits, use the self-hosted deployment or contact us about the Pro Edition.
How do I call it from Python / JavaScript?
Python:
JavaScript:
import requests
r = requests.post("https://oilgas-nanobot-swarm.vibecaas.app/swarm/run",
json={"goal": "Calculate kill mud weight for SIDPP=380 psi, MW=10.5 ppg, TVD=9800 ft"})
print(r.json()["final_answer"])const r = await fetch("https://oilgas-nanobot-swarm.vibecaas.app/swarm/run",
{method:"POST", headers:{"Content-Type":"application/json"},
body: JSON.stringify({goal: "What is fracture gradient at 10,000 ft?"})});
const d = await r.json(); console.log(d.final_answer);Accuracy & Safety
How accurate are the calculations?
The engineering calculators use standard industry equations (Archie 1942, Vogel 1968, Hubbert & Willis 1957, Darcy-Weisbach, etc.) implemented in Python. Numerical accuracy is high for inputs within normal operating ranges.
⚠️ These are simplified models. They do not account for multiphase flow corrections, non-Darcy effects, or site-specific geological conditions. Always verify with full-physics simulators and licensed engineers before operational use.
Can I use this for actual well operations?
⚠️ No. This system is a decision-support tool for qualified petroleum engineers. Do not use it as a substitute for:
• API-certified well control training or IADC WellSharp certification
• Licensed engineer sign-off on well programs
• Compliance with applicable BSEE/DOT/EPA regulations
• Full-physics reservoir and drilling simulators
Use it for preliminary screening, education, and generating starting-point analyses that a licensed engineer then reviews and validates.
• API-certified well control training or IADC WellSharp certification
• Licensed engineer sign-off on well programs
• Compliance with applicable BSEE/DOT/EPA regulations
• Full-physics reservoir and drilling simulators
Does the AI ever make mistakes?
Yes. Large language models can hallucinate, misinterpret units, or apply incorrect formula variants. Always check: (1) the equation shown matches the standard reference, (2) inputs are in the correct units, (3) the result is in a physically reasonable range. The system is designed to show its work — if a step looks wrong, it is wrong.
Deployment
How do I deploy my own instance?
Three options:
- Vercel (fastest) — one-click deploy, no server needed. Set
OLLAMA_API_KEYand you're live in minutes. - Docker Compose — full stack locally.
docker compose up -dstarts gateway + Redis. - Render / Railway — includes Redis for session memory and background scheduler.
Do I need a GPU?
No. The default configuration uses Ollama Cloud and NVIDIA NIM as cloud AI backends — no GPU, no local model downloads. If you want to run a local model with a GPU, set
VLLM_URL to point to your vLLM server.What API keys do I need?
Minimum required: one of
OLLAMA_API_KEY— from ollama.com (recommended, fast)NVIDIA_API_KEY— from build.nvidia.comANTHROPIC_API_KEY— for Claude (full-stack deployments)
GATEWAY_API_KEY is optional — set it to restrict who can call admin endpoints.
Pro Edition
What's included in Pro?
- Full 3-tier hierarchical swarm (Queen → L1 → L2 agents)
- Redis-backed session memory and conversation history
- Obsidian-compatible knowledge vault with vector search
- Background job scheduler (daily briefings, weekly reviews)
- Microsoft 365 integration (email, calendar, contacts sync)
- Custom agent and team creation
- Priority support and dedicated capacity
- On-premise / air-gapped deployment support
How do I get Pro?
Email info@neuralquantum.ai with your use case and team size. We'll set up a demo and discuss deployment options (cloud or on-premise).
Can I self-host the full stack for free?
Yes — the complete codebase is MIT-licensed and available on GitHub. The full hierarchical swarm, Redis state, scheduler, and knowledge vault all work in self-hosted mode. You only need your own AI API keys.