Reference

API Reference

Blast commands, REST endpoints, Python SDK, and 21 MCP tools. Everything you need to integrate.

Blast Commands

The fastest way to use c4reqber from the command line. All commands support --help for detailed options.

$ blast solve "your research question"
$ blast turbo "complex multi-step problem"
$ blast flash "quick check"
CommandDescriptionLatency
blast solveStandard discovery pipeline — full Z₃³ traversal~5s
blast turboAccelerated path — skips low-relevance states~2s
blast flashInstant answer — single best engine<1s
blast turbofactoryBatch processing from file~1s/query

REST API Endpoints (v5.6.0)

Base URL: /api/v1

GET /health Service health check
POST /solve Submit a problem for discovery
GET /solve/{job_id} Get discovery results
POST /agenda Create a research agenda
GET /agenda/{agenda_id} Get agenda status and results
POST /verify Verify a hypothesis against knowledge sources
GET /engines List available simulation engines
GET /sources List configured knowledge sources

Example: Solve a Problem

curl -X POST https://api.c4reqber.org/v1/solve \\
  -H "Authorization: Bearer $TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
    "query": "Find novel approaches to protein folding",
    "engines": ["biology", "optimization"],
    "max_depth": 3
  }'

Example: Create Agenda

curl -X POST https://api.c4reqber.org/v1/agenda \\
  -H "Authorization: Bearer $TOKEN" \\
  -d '{
    "topic": "Quantum computing applications in drug discovery",
    "duration_days": 30,
    "milestones": 5
  }'

Python SDK

from c4reqber import Client

client = Client(api_key="your-key")

# Solve a problem
result = client.solve("Novel battery chemistry")
print(result.discoveries)

# Create a research agenda
agenda = client.create_agenda(
    topic="Climate adaptation strategies",
    duration_days=90
)

# Verify a hypothesis
verification = client.verify(
    hypothesis="Solar geoengineering reduces crop yields",
    sources=["pubmed", "nature", "arxiv"]
)

MCP Tools

c4reqber exposes 21 Model Context Protocol tools for integration with Claude, Cursor, and other MCP-compatible agents.

ToolDescription
c4_solve12-stage discovery pipeline
c4_searchSearch 47 knowledge sources
c4_trizTRIZ contradiction resolution
c4_verifyFormal proof verification (Lean4/Coq/Dafny/Agda/Z3/Hoare)
c4_proveLLM-based hypothesis proving with iterative error correction
c4_simulatePhysics simulation via 38 engine adapters
c4_bayesianBayesian inference (MCMC/BMA)
c4_causalCausal discovery (do-calculus)
c4_exportExport to Markdown/JSON/BibTeX/LaTeX
c4_socialSocial publishing — preprint upload, ORCID, multi-platform posting
c4_fingerprintC4 Z₃³ state classification
c4_transferCross-domain isomorphism transfer
c4_metaMeta-cognitive reflection
c4_chainC4 discovery chain (Theorem 11)
c4_codegenCode generation via MCP tool
c4_autoresearchKarpathy-style ML training loop
blast_solveUniversalSolvePipeline strategic artifacts
blast_turboHILDiscoveryPipeline paradigm dissertations
blast_flashQuick LLM + USP cognitive analysis
blast_turbofactoryParallel pipeline factory
blast_autoAuto-router dispatch

Authentication

All API requests require a Bearer token in the Authorization header. Obtain your token from the GitLab repository or self-host.

Authorization: Bearer sk_c4r_xxxxxxxxxxxxxxxx

Rate Limits

TierRequests/minConcurrent
Free101
Pro1205
EnterpriseUnlimited50

Further Reading