Quantum Agent
This MCP server exposes Quantum Agent tools for host-AI-controlled, quantum-inspired problem solving and persistent session management.
Initialize tasks/sessions with target, intensity, and optional session ID.
Submit branch evaluations with scores, exact-solution flags, reasoning, solution/proof, and child hypotheses for amplification/pruning.
Run autonomous solves for coding/research/diagnostic targets with optional provider/model overrides.
Decompose problems into orthogonal branches, force lateral “quantum tunnel” exploration, and query system/session status.
Use the project’s provider failover, atomic checkpoints, task locks, and key-redaction safety model.
Caveat: README says Phase 4 adaptive branch engine/independent verifier/multi-agent execution is not implemented; non-verified results are candidates, not done.
Allows using Google Gemini models as the AI reasoning backend for quantum-inspired problem solving, branch exploration, and convergence search.
Connects to local Ollama models as an AI provider, enabling local/offline model-backed quantum reasoning without an API key.
Allows using OpenAI models as the AI reasoning backend for the agent’s multi-branch search and exact solution verification.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Quantum Agent decompose our checkout bottleneck into orthogonal branches and pick the best fix"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Quantum Agent
Multi-provider AI agent with quota-aware failover, atomic checkpointing, and MCP server support.
Status — Honest
Phase 3 (current): Provider orchestration + safety + persistence. All 18 audited bugs fixed with tests.
Phase 4 (future): Adaptive branch engine, independent verifier, multi-agent execution. NOT implemented yet.
Do not treat weak-heuristic results as verified. Only verified results (Phase 4) will be status=done.
Related MCP server: sequential-thinking-mcp
Install
git clone https://github.com/YOUR_USERNAME/quantum-agent.git
cd quantum-agent
npm install
npm run build
npm linkQuick Start
qa add -t deepseek -n "DeepSeek" # prompts for key
qa add -t gemini -n "Gemini"
qa models
qa connect-all
qa ask "What is 2+2?"Commands
Command | Purpose |
| Add provider (key prompt, no shell history leak) |
| List all models from all enabled providers |
| Pick model interactively or directly |
| Auto-connect with best defaults |
| Show providers (API keys redacted) |
| One-shot (uses weak-heuristic gate — status=candidate) |
| Full brain loop with failover + quota pause |
| Environment + quota + paused tasks |
| Resume all paused tasks |
| Remove provider |
Supported providers
openai, claude, gemini, deepseek, ollama, custom (OpenAI-compatible).
MCP Client Config
{
"mcpServers": {
"quantum-agent": {
"command": "node",
"args": ["/absolute/path/to/quantum-agent/dist/index.js"]
}
}
}Safety model
API keys stored in
.quantum-providers.json(chmod 600, gitignored)ScopeGuard for authorized scans: strict URL matching, redirect revalidation, private IP blocking
Checkpoints signed with HMAC-SHA256 + SHA-256 checksum, atomic write + parent fsync
Task locks prevent duplicate execution
MCP responses never include raw API keys
CI
.github/workflows/ci.yml runs build + tests on push. If GitHub PAT lacks workflow scope, either:
Add
workflowscope to PAT, orAdd the workflow file via GitHub web UI.
Do not delete the workflow to bypass this. Automated protection is required.
Tests
npm testAll tests use mocked HTTP and isolated temp directories. Zero real API credits.
License
MIT
Available Tools
7 toolsquantum_explore_branchesD
Decomposes any complex problem into orthogonal quantum basis states (multi-dimensional parallel hypotheses).
Inputs: problem (required), intensity.
quantum_init_taskC
HOST AI CONTROL: Initializes a quantum superposition task directly for the connected AI (Gemini, Claude, ChatGPT). Generates orthogonal basis states without requiring external API keys.
Inputs: target (required), intensity, session_id.
quantum_session_statusB
Queries persistent status, continuous uptime, evaluated possibilities, and convergence state for a Quantum Agent session.
Inputs: session_id (required).
quantum_solveB
Autonomous solver: Solves complex coding, research, or diagnostic problems using superposition search and exact convergence verification.
Inputs: target (required), model, provider, intensity.
quantum_stepC
HOST AI CONTROL: The connected AI directly submits its evaluation for a quantum branch. Quantum Agent applies Grover amplitude amplification or destructive pruning, tests convergence, and returns the next priority branches.
Inputs: state_id (required), reasoning (required), session_id (required), evaluation_score (required), +3 more.
quantum_system_infoB
Displays Quantum Agent operating mode (Host AI direct control vs Standalone Terminal mode) and active system parameters.
Inputs: no named parameters.
quantum_tunnelC
Forces an out-of-the-box lateral quantum tunnel leap to escape local reasoning traps or defensive bottlenecks.
Inputs: target (required), bottleneck (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
quantum_init_task and quantum_explore_branches both claim to decompose a problem into orthogonal basis states, differing only by a 'host AI control' nuance, and quantum_solve vs. quantum_step (autonomous vs. host-driven evaluation) overlaps heavily. quantum_tunnel and quantum_system_info are distinct, but the core workflow tools have unclear boundaries that will cause misselection.
All tools use a uniform snake_case quantum_ prefix, which is highly predictable. The only minor deviation is mixing verb-style (step, solve, tunnel, init_task) with noun-style (session_status, system_info) suffixes, which is still readable.
Seven tools is a well-scoped size for a quantum-search workflow covering init, explore, step, solve, status, info, and tunnel. The count would be ideal if the near-duplicate init/explore pair were consolidated.
The set covers initialization, exploration, iteration, solving, and status inspection, but has no session termination/reset, no session listing, and no explicit result/answer retrieval endpoint — only status queries. These gaps force agents to leave sessions dangling and infer outcomes from status.
Maintenance
Related MCP Connectors
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Workflow diagnostics, capability routing, and x402 settlement for MCP-compatible agents.
Build custom optimization engines in conversation: optimize from your assistant via MCP, or by API.
Agent-driven search: build, import, tune, search, and score result quality — all over MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables any MCP client to drive a multi-agent orchestration engine with planning, specialist tools, critic revision, and human-in-the-loop approval for sensitive actions.3MIT
- AlicenseNot gradedqualityDmaintenanceRemote MCP server for dynamic and reflective problem-solving through structured thinking. Enables step-by-step reasoning with branching, revision tracking, and session management.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to drive governed software changes, measure trajectory and boundary integrity after each mutation, surface drift and invariants, investigate incidents, and compare counterfactual futures before approving a change.3MIT
- FlicenseNot gradedqualityAmaintenanceEnables MCP clients to run dialectical reasoning workflows (thesis → antithesis → synthesis) and player-coach autocoding loops, including structured prompt generation, independent coach verification, and session persistence.-