ocgOpen Cognitive Graph · CDC v2.1

Open Cognitive Graph Cognitive infrastructure for AI

OCG moves AI from probability-based text generation to deterministic reasoning grounded in cognitive structure.

We turn domain knowledge, expert judgment, evaluation criteria and evidence boundaries into cognitive graphs and substrates that AI can run, evaluate and trace.

const record = await ocg.run({  domain: "language_reading",  ability: "EvidenceReasoning",  answer: "I don't think the claim is acc…",}); // → CDCRecord{  c:  "they can't prove staying up less is the cause",  r:  "R-04", D: "evidence_reasoning",  C′: { level: "L4 Transfer", confidence: 0.88 },  evidence: ["treats “happening together” …", …],  status: "proposed"}
D =tax and rate calculationchild car seatsreading · evidence reasoningAI stackAI governance and complianceair quality governanceeducation policylearning science

Built to drive AI reasoning

Instead of reaching conclusions by likelihood, AI runs on a cognitive structure: every step follows a rule, every conclusion carries evidence.

cdc.unit
ccurrent
r@Drelation
C′updated

The cognitive unit

Every reasoning step is a CDC: from current cognition c, through relation r in domain D, to updated cognition C′.

rules.domain
D · evidence reasoning4 rules
Restates claimR-01 → L1
Personal exampleR-02 → L2
Structural accountR-03 → L3
Transfer analysisR-04 → L4

Domain rules

Expert judgment is written as checkable rules. The model detects signals and the rules decide, so rephrasing the prompt does not move the result.

evidence.trace
Quoted signalquote

“These are only two examples; they can't prove staying up less is the cause.”

signal: causal challenge · supports R-04

Traceable evidence

Each conclusion carries verbatim quotes and the rule it matched, so it can be checked line by line.

review.status
AI drafts recordproposed
Expert reviewreviewing
Joins the graphaccepted

Evaluable and cumulative

Records carry confidence and scope. Once reviewed, they join the graph and shape the next round of reasoning.

See a case

Education · Student answer → cognitive diagnosis card. The same model, reasoning end to end on OCG.

Open the full case ↗
step-1.input.ts
// 1. The AI receives a taskconst input = {  domain: "language_reading",  ability: "EvidenceReasoning",  question: "Someone says, “Xiaohua gets good g…",  answer: "I don't think the claim is accurat…",};

Case library

Each case shows one problem solved: how the AI reached results before, which structure it now runs on, and where each conclusion traces back to.

cases.index
CaseDomain DStructureCategory
Lc
logic.codes: AI stops doing the arithmeticAI only finds the calculator and pre-fills values; results come from versioned formulas and sourced official data
calculation60 calculators · OCG knowledge packsIndustryOpen ↗
Ay
AgentYes: agents that tell applies, does not apply and unknown apartProduct knowledge as evidence-anchored records; agents judge by rule instead of inferring from product pages
child_restraint4 modes · three-state judgment · Page Standard v0.2IndustryOpen ↗
Dx
Student answer → diagnosis cardAI grades reasoning level with four evidence rules
language_reading4 rules · L1–L4EducationOpen ↗

Method and tools

The method covers how cognition is structured, how it is used to teach, and how to work with us. The tools let your models plug into the cognitive structure directly.

tools.json

Tools and resources

Ontology and specs, governance and compliance, graphs and tools. Browse everything online; the main datasets can be downloaded.

See all resources ↗

Give your AI a cognitive structure

Start from a domain problem, not from the technology.