← 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
C11 / C++20 Single-Header (POSIX Sockets) — commons_scholar.h ⬇ Download commons_scholar.h
curl -fsSL https://scholar.askdavidc.ai/sdk/c_cpp -o commons_scholar.h
/* commons_scholar.h — Single-Header C11 / C++20 Native SDK for Commons Scholar
 * Zero external dependencies (pure POSIX TCP sockets; compiles cleanly as C11 and C++20).
 * Supports /api/ask, /api/ecosystem/agent-context, /v1/chat/completions, /a2a, /acp/runs, and /api/reference/<slug>.
 */
#ifndef COMMONS_SCHOLAR_H
#define COMMONS_SCHOLAR_H

#include <ctype.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <unistd.h>

#ifdef __cplusplus
extern "C" {
#endif

static inline size_t scholar_url_encode(const char *src, char *dst, size_t dst_cap) {
    static const char hex[] = "0123456789ABCDEF";
    size_t w = 0;
    for (size_t i = 0; src[i] != '\0'; ++i) {
        unsigned char c = (unsigned char)src[i];
        if (isalnum(c) || c == '-' || c == '_' || c == '.' || c == '~') {
            if (w + 1 >= dst_cap) break;
            dst[w++] = (char)c;
        } else {
            if (w + 3 >= dst_cap) break;
            dst[w++] = '%';
            dst[w++] = hex[(c >> 4) & 0x0F];
            dst[w++] = hex[c & 0x0F];
        }
    }
    if (dst_cap > 0) dst[w] = '\0';
    return w;

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

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