← Commons Scholar Observatory · Reference Library · OpenAPI 3.1 YAML · /llms-full.txt · /SKILL.md · MCP server.json · A2A Agent Card
Zero-Change-Management Integration & SDK Hub
Connect any AI agent, code editor, scientific workflow, or backend service to 80632 standing-audited works, 220454 seekable ideas, deterministic 7-Base SI / Statcheck / C2PA firewalls, and compiled L0 solvers—by changing one URL or vendoring one zero-dependency file.
Point Any Existing SDK at /v1
Works immediately with OpenAI Python/TS SDKs, LangChain, LlamaIndex, DSPy, LiteLLM, OpenWebUI, and CrewAI.
export OPENAI_BASE_URL="https://scholar.askdavidc.ai/v1" export OPENAI_API_KEY="scholar-public" # Models: scholar-grounded | scholar-l0-router | scholar-auditor
1-Command Agent & Editor Bus
8-tool zero-bloat /mcp/core, full 51-tool /mcp, live POST /a2a, editor ACP (/acp/rpc & commons acp), and REST /acp/runs.
claude mcp add --transport http scholar \ https://scholar.askdavidc.ai/mcp/core curl -fsSL https://scholar.askdavidc.ai/SKILL.md -O
git clone Forge & Proof Bar
Clone canonical 6-Band AST modules into .rs/.py/.lean/.v with QF_BV push gates, or embed 1-line live citations.
git clone https://scholar.askdavidc.ai/forge/default.git <script type="module" src="https://scholar.askdavidc.ai/v41/embed/scholar-evidence.js"></script>
13 Native Zero-Dependency SDKs (/sdk/<lang> & /api/sdk)
Select your language to inspect or vendor the exact compiler-verified SDK directly over HTTPS:
commons_scholar_sdk.rs
⬇ Download commons_scholar_sdk.rs
curl -fsSL https://scholar.askdavidc.ai/sdk/rust -o commons_scholar_sdk.rs
//! `commons-sdk` — Native Rust SDK for `Commons Scholar` (`https://scholar.askdavidc.ai`).
//!
//! Provides idiomatic typed & JSON access across:
//! - Grounded 7-Axis `ask` and sub-ms `l0_context`
//! - Zero-change-management OpenAI `/v1/chat/completions` & `/v1/embeddings` shims
//! - Google / Linux Foundation `A2A 1.0` (`POST /a2a`) & `ACP` (`POST /acp/runs` & `POST /acp/rpc`)
//! - Universal Function-Calling Toolpacks (`/api/tools/*.json` & `POST /api/tools/invoke`)
//! - Reference Library, Epistemic Forge, `Ontology–Taxonomy–KG`, and `Post-Transcript Multimodal Video Moat`
use serde::de::DeserializeOwned;
use serde::Serialize;
use serde_json::{json, Value};
pub const DEFAULT_BASE_URL: &str = "https://scholar.askdavidc.ai";
#[derive(Debug, thiserror::Error)]
pub enum SdkError {
#[error("HTTP transport error: {0}")]
Transport(String),
#[error("HTTP {status}: {body}")]
HttpStatus { status: u16, body: String },
#[error("JSON parse error: {0}")]
Json(#[from] serde_json::Error),
}
#[derive(Debug, Clone)]
pub struct CommonsScholarClient {
base_url: String,
bearer_token: Option<String>,
}
impl Default for CommonsScholarClient {
fn default() -> Self {
Self::new(DEFAULT_BASE_URL)
}
}
⚡ Live Zero-Rewrite Protocol Tester (/v1/chat/completions · /a2a · /acp/runs)
Click "Send Live Request" to inspect the live wire response…