← Commons Scholar Observatory · Reference Library · OpenAPI 3.1 YAML · /llms-full.txt · /SKILL.md · MCP server.json · A2A Agent Card

Rev v41 · Gen 34413 Native SDKsOpenAI /v1 + MCP + A2A 1.0 + Dual ACP

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.

Door 1 · Zero-Code OpenAI Drop-In

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
Door 2 · MCP, A2A 1.0 & Dual ACP

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
Door 3 · Post-Git & Web Embeds

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:

python typescript rust go zig julia c_cpp swift dotnet jvm elixir r sh
Swift 5.9+ / 6 (Foundation async/await) — CommonsScholar.swift ⬇ Download CommonsScholar.swift
curl -fsSL https://scholar.askdavidc.ai/sdk/swift -o CommonsScholar.swift
// CommonsScholar.swift — Zero-Dependency Native Swift SDK (macOS / iOS / visionOS / Linux)
import Foundation
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif

public struct CommonsScholarClient: Sendable {
    public let baseURL: URL
    public let bearerToken: String?

    public init(baseURLString: String = "https://scholar.askdavidc.ai", bearerToken: String? = nil) {
        let trimmed = baseURLString.trimmingCharacters(in: CharacterSet(charactersIn: "/ "))
        self.baseURL = URL(string: trimmed.isEmpty ? "https://scholar.askdavidc.ai" : trimmed)!
        self.bearerToken = bearerToken
    }

    public func buildURL(route: String, queryItems: [URLQueryItem] = []) -> URL {
        let clean = route.hasPrefix("/") ? route : "/" + route
        var comps = URLComponents(url: baseURL.appendingPathComponent(String(clean.dropFirst())), resolvingAgainstBaseURL: false)!
        let nonEmpty = queryItems.filter { ($0.value ?? "").isEmpty == false }
        if !nonEmpty.isEmpty {
            comps.queryItems = nonEmpty
        }
        return comps.url!
    }

    public func getJSON(route: String, queryItems: [URLQueryItem] = []) async throws -> [String: Any] {
        var req = URLRequest(url: buildURL(route: route, queryItems: queryItems))
        req.httpMethod = "GET"
        req.setValue("application/json", forHTTPHeaderField: "Accept")
        req.setValue("commons-scholar-swift/0.41.0", forHTTPHeaderField: "User-Agent")
        if let tok = bearerToken {
            req.setValue("Bearer \(tok)", forHTTPHeaderField: "Authorization")
        }
        let (data, _) = try await URLSession.shared.data(for: req)
        return (try JSONSerialization.jsonObject(with: data)) as? [String: Any] ?? [:]

⚡ Live Zero-Rewrite Protocol Tester (/v1/chat/completions · /a2a · /acp/runs)

Click "Send Live Request" to inspect the live wire response…