← 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.zig
⬇ Download commons_scholar.zig
curl -fsSL https://scholar.askdavidc.ai/sdk/zig -o commons_scholar.zig
//! Commons Scholar — Native Zig SDK (`commons_scholar.zig`, Zig 0.14–0.17+).
//! Zero external dependencies; allocator-explicit URL, JSON-RPC, A2A, ACP & OpenAI /v1 builders.
const std = @import("std");
pub const DefaultBaseUrl = "https://scholar.askdavidc.ai";
pub const ScholarClient = struct {
allocator: std.mem.Allocator,
base_url: []const u8,
bearer_token: ?[]const u8 = null,
pub fn init(allocator: std.mem.Allocator, base_url: []const u8) ScholarClient {
const trimmed = std.mem.trimEnd(u8, base_url, "/");
return .{
.allocator = allocator,
.base_url = if (trimmed.len == 0) DefaultBaseUrl else trimmed,
.bearer_token = null,
};
}
pub fn buildAskUrl(self: ScholarClient, query: []const u8, top: usize) ![]u8 {
var list: std.ArrayListUnmanaged(u8) = .empty;
errdefer list.deinit(self.allocator);
try list.appendSlice(self.allocator, self.base_url);
try list.appendSlice(self.allocator, "/api/ask?q=");
try appendPercentEncoded(self.allocator, &list, query);
var buf: [32]u8 = undefined;
const top_str = try std.fmt.bufPrint(&buf, "&top={d}", .{top});
try list.appendSlice(self.allocator, top_str);
return list.toOwnedSlice(self.allocator);
}
pub fn buildOpenAiChatBody(self: ScholarClient, model: []const u8, prompt: []const u8) ![]u8 {
var list: std.ArrayListUnmanaged(u8) = .empty;
errdefer list.deinit(self.allocator);
⚡ Live Zero-Rewrite Protocol Tester (/v1/chat/completions · /a2a · /acp/runs)
Click "Send Live Request" to inspect the live wire response…