← 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
Julia 1.10+ (Stdlib Downloads) — CommonsScholar.jl ⬇ Download CommonsScholar.jl
curl -fsSL https://scholar.askdavidc.ai/sdk/julia -o CommonsScholar.jl
"""
CommonsScholar — Zero-External-Dependency Native Julia SDK (`CommonsScholar.jl`)
Uses only Julia stdlib `Downloads` + `IOBuffer` for grounded 7-Axis `ask`, `l0_context`,
OpenAI `/v1/chat/completions`, `A2A 1.0`, `ACP`, `Ontology–Taxonomy–KG`, `Decorated Cospan ODEs`,
and `Post-Transcript Multimodal Video Moat` endpoints.
"""
module CommonsScholar

using Downloads

export ScholarClient, build_url, get_raw, post_raw, ask_raw, l0_context_raw,
       chat_completions_raw, a2a_send_raw, acp_run_raw, reference_raw

Base.@kwdef struct ScholarClient
    base_url::String = "https://scholar.askdavidc.ai"
    bearer_token::Union{Nothing,String} = nothing
    timeout_s::Float64 = 30.0
end

function _percent_encode(s::AbstractString)::String
    io = IOBuffer()
    for b in codeunits(String(s))
        if (b >= UInt8('a') && b <= UInt8('z')) ||
           (b >= UInt8('A') && b <= UInt8('Z')) ||
           (b >= UInt8('0') && b <= UInt8('9')) ||
           b == UInt8('-') || b == UInt8('_') || b == UInt8('.') || b == UInt8('~')
            write(io, b)
        else
            write(io, '%', uppercase(string(b, base=16, pad=2)))
        end
    end
    return String(take!(io))
end

function _json_escape(s::AbstractString)::String
    replace(String(s), "\\" => "\\\\", "\"" => "\\\"", "\n" => "\\n", "\r" => "\\r", "\t" => "\\t")

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

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