Back to browse
GitHub Repository

Where teams and AI build shared understanding

17 starsRust

Cognitive Layers

by yrashk·Mar 26, 2026·3 points·0 comments

AI Analysis

●●SolidBig BrainNiche Gem

Content-hash drift detection beats markdown walls for AI agent specs.

Strengths
  • Content-addressed verification automatically detects spec-code divergence in CI
  • Layered XML format enables XPath queries instead of ingesting entire context
  • Published on both crates.io and PyPI with working CLI and 70 commits
Weaknesses
  • XML spec format may face adoption resistance from teams preferring markdown
  • Knowledge graph for AI consumption competes with emerging RAG specification tools
Target Audience

AI/LLM tooling builders, teams fighting documentation drift

Similar To

Sourcegraph Cody · Cursor · Continue

Post Description

Like everybody else, I straddle the line of agentic coding psychosis – excited about moving faster than ever, but deeply concerned about losing the thread and producing something incomprehensible and hard to evolve.

This has been a problem before – underspecified projects, specifications going out of sync with the first line of code. We've just amplified it now.

A lot of people (myself included) have tried to maintain good specifications in markdown to give LLMs and humans maximal context. But this is still walls of text that poison anyone's context, regardless of their artificiality.

So I built a way to model knowledge as a graph that both people and LLMs can consume progressively – by navigating the graph or searching for specific connectivity patterns rather than ingesting everything at once.

At its core it's an open specification for layers that add progressively more semantic value: starting with prose, growing into terminology, tasks, concepts, API surfaces, and structured plans.

The most critical component is a layer that maps artifacts (such as code) to the knowledge model with good enough precision to track drift and coverage automatically.

Similar Projects

AI/ML●●Solid

AgentKeeper – cognitive persistence layer for AI agents

Cross-provider agent memory is clever, but LLM context windows keep growing and RAG is already standard.

Solve My ProblemShip ItBig Brain
thinklanceai
303mo ago
AI/ML●●Solid

Experience-engine – reflection-based memory layer for local LLMs

Turns chat history into structured 'belief' and 'cognitive pattern' blocks you can inject into prompts, with simple APIs like run_reflection and run_synthesis that read like a research prototype. It's smart about separating V1 (domain beliefs) from V2 (transferable cognitive patterns), but it's clearly early-stage — tiny repo, Ollama-only workflow, and few commits mean you should treat it as an experimental MVP rather than a drop-in production memory system.

Big BrainNiche GemShip It
ashishluthara
314mo ago