Run scientific investigations programmatically.
A bounded deterministic execution service, not a conversational language model. The plan explicitly chooses the calculations and evidence to retrieve.
Endpoints
GET /research/catalog.json — model definitions, parameter bounds, presets, evidence and validation gates.
GET /research/api/ — live catalog and capabilities.
POST /research/api/ with Content-Type: application/json — submit a plan with optional expected_sha256 for a replay comparison.
{
"plan": {
"schema": "beyondspacetime.research-plan.v1",
"title": "Coherent conversion and escape",
"question": "Which escape ratios guarantee continuous monotone total conversion?",
"cases": [
{
"label": "Reversible control",
"model": "evidence:escape",
"parameters": {
"ratio": 0
}
},
{
"label": "Critical escape",
"model": "evidence:escape",
"parameters": {
"ratio": 4
}
},
{
"label": "Overdamped escape",
"model": "evidence:escape",
"parameters": {
"ratio": 16
}
}
],
"evidence": [
"escape-criterion",
"escape-verification",
"phase-match"
]
}
}Native AG-UI event sequence
Submit the same recipe under state.plan. Include threadId, runId and messages; the service does not interpret natural language, tool instructions, or external URLs.
{
"threadId": "example",
"runId": "run-1",
"messages": [],
"state": {
"plan": {
"schema": "beyondspacetime.research-plan.v1",
"title": "Coherent conversion and escape",
"question": "Which escape ratios guarantee continuous monotone total conversion?",
"cases": [
{
"label": "Reversible control",
"model": "evidence:escape",
"parameters": {
"ratio": 0
}
},
{
"label": "Critical escape",
"model": "evidence:escape",
"parameters": {
"ratio": 4
}
},
{
"label": "Overdamped escape",
"model": "evidence:escape",
"parameters": {
"ratio": 16
}
}
],
"evidence": [
"escape-criterion",
"escape-verification",
"phase-match"
]
}
},
"tools": [],
"context": []
}Event order: RUN_STARTED; one STEP_STARTED and STEP_FINISHED pair per case; TEXT_MESSAGE_START, TEXT_MESSAGE_CONTENT, TEXT_MESSAGE_END; STATE_SNAPSHOT; RUN_FINISHED. An unexpected execution failure produces RUN_ERROR. Invalid input produces HTTP 400 before the stream starts. Transport is POST SSE; intermediaries may buffer events. See AG-UI event specification ↗. Only this subset is implemented; no full SDK certification, interrupt/resume, arbitrary tools, LLM or cross-origin access.
Reproducibility contract
The result includes the canonical normalized recipe (defaults expanded; evidence IDs sorted; case order retained), SHA-256 of its compact PHP JSON representation, full results, evidence, gates and SHA-256 hashes of all installed model and catalog files plus workspace code. The final result_sha256 hashes the result before that field is appended. PHP version and numerical formatting are included in the provenance; cross-runtime bit-for-bit reproducibility is not guaranteed.
Re-submit the recipe with expected_sha256 set to a previously exported result_sha256. The server returns a freshly calculated result and a replay match indicator. A digest match does not certify authenticity, rights or physical truth.
Limits and privacy
One to eight cases, 64 KiB request body, 26 evidence IDs, numeric bounds per model, no unknown recipe fields, no external calls, no application-level storage. Serve behind standard hosting request limits and rate limits; HTTPS required on production. Source files must be protected from direct HTTP access.