Learn DistrictDeveloper Preview Gateway

Cog Language & Developer Preview

Cog is a language and semantic model for expressing, validating, composing, and examining structured cognitive programs.

Machine Edition Ecosystem Relationship

Machine Editions provide governed machine-readable knowledge and capability artifacts (e.g. SROW invariant schemas, Mandala Protocol jurisdiction contracts, Big Net topologies).

Cog provides a programming language and intermediate representation (CoreIR) for writing deterministic cognitive workflows that reason across, transform, or bind to structured knowledge.

Note: Cog is not a Machine Edition, nor is it a purchasable product. It is an ecosystem specification and developer teaching surface currently in Developer Preview.

Available Now

Public Teaching Corpus

Complete runnable quick start, eight-command CLI toolbelt reference, seven statement families, and Language Specification v0.4.

Developer Preview

Evolution Notice

The language grammar, CoreIR semantic model, and CLI toolchain may evolve based on practitioner feedback. Not a production stability promise.

Teaching Boundary

Ratified Boundary

Public educational and specification material only. Does not expose proprietary compiler internals or runtime orchestration backends.

Teaching Corpus

The Eight Canonical Cog Modules

The canonical Cog curriculum is organized into getting started, progressive learning levels, formal specifications, and ratified teaching boundaries. Select any module to enter the full lesson in the Cog Hub:

01. Getting Started

MODULE 01Quickstart

Start Here — Cog Developer Preview

The shortest path from a clean folder to a working Cog program.

Start Here →

02. Progressive Curriculum (Levels 1–3)

MODULE 02Level 1 — Language & Patterns

Level 1 — Language & Cognitive Patterns

A structured walkthrough of Observation, Identification, Comparison, Classification, Relation, Projection, Resolution, Constraint, Transformation, and Emission.

MODULE 03Governed Decision Tutorial

Progressive Tutorial — A Governed Decision in Cog

Step-by-step composition tutorial modeling deployment readiness, perspectives, resolution levels, transformations, constraints, and emissions.

MODULE 04Level 2 — CLI Toolbelt

Level 2 — Composable Cognitive Utilities

Learn the eight-command Developer Preview toolbelt: discover, workflows, validate, lint, graph, run, trace, and diff.

MODULE 05Level 3 — Applications

Level 3 — Cognitive Applications

Explore Research Synthesis, Document Review & Drift Detection, Decision Analysis, Audit Reasoning, and Knowledge Graph architectures.

03. Formal Specifications & Governance

MODULE 06Language Spec v0.4

Cog Language Specification v0.4

Exact syntax, keywords, identifiers, values, statement families, lexical rules, and authoring profile for Developer Preview .cog programs.

MODULE 07Semantic Model

Cog Language Semantic Model

Comprehensive model of semantic graph elements, validation invariants, execution planning phases, emissions, and traces.

MODULE 08Teaching Surface Boundary

Cog Developer Preview Teaching Surface

Freezes the public teaching surface, non-goals, distribution contracts, authority hierarchy, and responsibility boundaries between kernel, CogLib, and domain layers.

World Navigation Bridge

Explore the Machine Edition World

Interested in the governed, machine-readable publication artifacts that define domain knowledge, jurisdiction boundaries, and resolution models? Return to the released edition catalog.