Skip to content

About

Source-verified AI Agent engineering knowledge base: architecture patterns, commit-anchored repo audits & practical playbooks for coding agents.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Agent Knowledge Base

English | 简体中文

License: MIT KB Lint Coverage

A source-verified engineering knowledge base for AI coding agents and engineers—distilling commit-anchored open-source repository audits, failure-mode postmortems, and cross-project architectural patterns into an agent-ready playbook.

Language note: Top-level documentation (README.md, CONTRIBUTING.md, PLAYBOOK.md) is maintained in English (with a full Chinese mirror at README.zh-CN.md). Deep-dive engineering guides, patterns, and repository audits under guides/, patterns/, and repos/ are primarily written in Chinese alongside English technical terms, exact file paths, and symbol/line citations (path#Lxx-Lyy).


Three-Tier Knowledge Architecture

Designed for token efficiency and prompt-cache preservation when wired into coding agents:

  1. Tier 1 — Compact Index (PLAYBOOK.md)
    • High-signal, one-line architectural pointers and hard guardrails (<= 200 lines). Agents read this upfront without blowing context budgets.
  2. Tier 2 — Domain Guides & Reusable Patterns (guides/*.md, patterns/*.md)
    • guides/: Problem-first engineering syntheses linking concrete rules of thumb to audited repositories.
    • patterns/: Cross-repository design blueprints covering triggers, minimal implementation skeletons, edge-case trade-offs, and anti-patterns.
  3. Tier 3 — Commit-Anchored Repository Audits (repos/*.md)
    • Source-level analyses bound to exact owner/repo@<short-sha> revisions—documenting entry points, state machines, tool schemas, licensing boundaries, hidden telemetry, and real bugs.

Quick Start for AI Coding Agents

Clone the repository locally:

git clone https://github.com/IMYin/agent-knowledge-base.git

Reference PLAYBOOK.md inside your project or global AGENTS.md, CLAUDE.md, GEMINI.md, or .cursorrules so your agent loads compact pointers first and lazily reads deep dives only when relevant:

## Engineering Knowledge Base
Before designing new modules, selecting open-source agent tools, or building 3D/video pipelines:
1. Read `/path/to/agent-knowledge-base/PLAYBOOK.md`.
2. Lazily open only the specific `guides/*.md`, `patterns/*.md`, or `repos/*.md` files matching the current task to avoid bloating the system prompt.

Validate structure, frontmatter, and relative links locally at any time (zero external dependencies):

python3 scripts/check-kb.py

Knowledge Catalog by Engineering Domain

1. Frontend Anti-Slop & Quantitative Design Gates

2. Multi-Agent Review, Context Isolation & Verification Ledgers

3. Zero-Asset Procedural 3D, WebGL2 Safety & Deterministic Rendering

4. Deterministic Video Forensics, Motion Cloning & Toolchains

5. Local-First Agent Memory, Knowledge Graphs & Prefix Caching

6. Cloud GPU Offload, Zero-Drift Rough-Cut & 4K60 Mastering

7. Deterministic Code-to-Cinema Rendering & Zero-Disk Piping


Audited Repositories (26)

Repository Pinned Commit Engineering Summary Source Audit
0xpratzyy/dissect 66993ef Video reverse-engineering toolkit with frame-exact CV/audio measurement, contradiction-checked blueprints, and 100-point rebuild scoring. Audit
2akouwu/reverify f32ea84 Zero-dep Python MCP/CLI claim verifier with CORE anti-gaming weights, Unicorn/Z3/angr tiers, SHA-256 ledger, and summary-free context rollover. Audit
FFmpeg/FFmpeg 64b26fd Core multimedia engine powering frame-boundary cuts, qsin crossfades, Lanczos scaling, h264_nvenc piping, EBU R128 loudness QA, and tmix motion blur. Audit
JuneYaooo/rea-video 0d0d1e1 Video-forensics planner fusing kinematics checks and Bayesian VLM scoring to classify 11 visual sources into tiered VIDEO.md packs. Audit
MemPalace/mempalace 87ae502 Local-first verbatim AI memory (sqlite_exact, 3-tool light MCP, temporal KG); audited for Antigravity JSONL & CJK tokenization gaps. Audit
MengTo/Skills 8b526e8 223 Markdown frontend and motion skills enforcing anti-slop subtraction gates, quantitative design tokens, and sandboxed demo checks. Audit
NiazMorshed2007/reanimate 3f7a55a Frame-accurate web and WebGL motion-cloning skill combining deterministic virtual clocks, 5 engine scene probes, easing fits, and pixel QA. Audit
Nutlope/hallmark 04977e1 Zero-dependency frontend anti-slop system pairing anti-convergence theme dealing and OKLCH scaffolds with pixel linting and cold subagent review. Audit
basicmachines-co/basic-memory 9a99b36 AGPL-3.0 Markdown knowledge graph & 17-tool MCP server with CJK script_ngrams FTS5, sqlite-vec hybrid search, and watchfiles sync. Audit
browser-use/video-use 43cfc56 Conversational video-editing agent skill using audio-first word indexing, on-demand frame verification, and lossless FFmpeg segment assembly. Audit
drashyakuruwa/Google-I-O-2026-Journey 0a92c98 Zero-asset React Three Fiber isometric 3D chronicle with a 13×13 grid, 10 parametric landmarks, timeline lighting, and Web Audio synth. Audit
finiking/model-lab 71e379c Single-file WebGL A/B benchmark arena plus source audits of Chongqing 8D dioramas covering Metal ANGLE NaN guards and draw-call batching. Audit
google-gemini/demolab 6a5e364 13-file Apache-2.0 multi-host plugin tuning Gemini 4 research and anti-slop UI via 16KB Markdown budgets, without scripts or linters. Audit
google/elephant-goldfish-model 4693375 Google's Elephant-Goldfish plugin separating stateful builder context from zero-history read-only reviewers across 7+ hosts via trace probes. Audit
googlecolab/google-colab-cli 7370b25 Official Apache-2.0 CLI exposing Colab GPUs/TPUs over Jupyter & SSH WebSocket tunnels with idempotent retry backoff and guaranteed _teardown(). Audit
heygen-com/hyperframes 71228e0 HTML-first video engine injecting VIRTUAL_TIME_SHIM, 13 deterministic adapters, interleaved FrameReorderBuffer, and zero-disk image2pipe. Audit
huytieu/COG-second-brain 144c7a3 Pure-Markdown Obsidian+Git vault & 43-skill/10-agent multi-host pack (not an MCP server); strong V-model/CRM patterns, heavy bloat & doc drift. Audit
hzwer/Practical-RIFE bbfd2ea Arbitrary-timestep IFNet optical-flow interpolator supporting 2-frame 2:3 60fps cadence, SSIM cut protection, and 256px mirror padding. Audit
karpathy/llm-council 92e1fcc Karpathy's 3-stage LLM council (FastAPI + React + OpenRouter); audit flags missing Stage 2 shuffling/self-eval filter and Stage 3 name leaks. Audit
motion-canvas/motion-canvas 7b91435 Procedural 2D Canvas animation engine pairing TS generator coroutines (time/fixedTime dual tracks) with direct RGBA rawvideo FFmpeg piping. Audit
mrdoob/three.js 940edbc JavaScript 3D engine offering ping-pong animation mixers, glTF spline interpolation, and WebGL2/WebGPU backends for deterministic code films. Audit
pbakaus/impeccable 2fc5e14 20-crate Rust engine delivering cross-22-harness design linting with 62 deterministic anti-slop rules, dual-agent critique, and live edit hooks. Audit
remotion-dev/remotion 53975c8 Deterministic React video engine mapping frames to pure trees via useCurrentFrame, mulberry32, delayRender barriers, and Rust/FFmpeg. Audit
sarpstar/cinecode c8a3e75 Zero-dependency CDP capture harness with k->0->k SHA --verify determinism gate, staggered headless rendering, BT.709 & -14 LUFS mastering. Audit
xikhar/papercraft 30e9aaf Agent skill building Three.js r187 pop-up papercraft worlds (matte BRDF, FlapSpring hinges, PCSS shadows) rendered via Playwright WebCodecs. Audit
xinntao/Real-ESRGAN a4abfb2 Blind super-resolution framework with SRVGGNetCompact, DNI denoising interpolation, Py3.12 runtime shims, and in-VRAM 4K downscaling. Audit

Audit Methodology & Quality Standards

  • Source-First Verification: Every repos/*.md audit inspects actual source files (runtime loops, prompts, hooks, schemas, build scripts), never marketing claims or README summaries alone.
  • Exact Revision Pinning: Findings bind to owner/repo@<short-sha> and cite path#Lxx-Lyy so readers can inspect or challenge any detail.
  • License, Telemetry & Failure Transparency: Audits call out non-permissive licenses (AGPL-3.0, PolyForm Noncommercial, Source-Available), silent outbound telemetry/auto-updaters, CJK tokenization blind spots, and cross-platform graphics pitfalls.

Contributing & License

  • See CONTRIBUTING.md for note templates, source-citation standards, and running python3 scripts/check-kb.py before opening a PR.
  • Released under the MIT License.

About

Source-verified AI Agent engineering knowledge base: architecture patterns, commit-anchored repo audits & practical playbooks for coding agents.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages