██████╗ ██████╗ ███╗ ██╗████████╗███████╗██╗ ██╗████████╗ ██╗ █████╗ ██╗ ██╗███████╗██████╗ ██╔════╝██╔═══██╗████╗ ██║╚══██╔══╝██╔════╝╚██╗██╔╝╚══██╔══╝ ██║ ██╔══██╗╚██╗ ██╔╝██╔════╝██╔══██╗ ██║ ██║ ██║██╔██╗ ██║ ██║ █████╗ ╚███╔╝ ██║ ██║ ███████║ ╚████╔╝ █████╗ ██████╔╝ ██║ ██║ ██║██║╚██╗██║ ██║ ██╔══╝ ██╔██╗ ██║ ██║ ██╔══██║ ╚██╔╝ ██╔══╝ ██╔══██╗ ╚██████╗╚██████╔╝██║ ╚████║ ██║ ███████╗██╔╝ ██╗ ██║ ███████╗██║ ██║ ██║ ███████╗██║ ██║ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
// Structured context for AI agentsOSS
~/projects/context-layer❯cat README.md
Context Layer is a specification and tooling for providing structured context to AI coding agents.
Instead of stuffing everything into a single prompt, Context Layer organizes context into layers that AI can query as needed — like giving an agent access to documentation, codebase knowledge, and project conventions on demand.
~/projects/context-layer❯cat example.ts
◇context-layer.config.ts
~/projects/context-layer❯cat philosophy.md
Core Ideas:
- → Context should be structured, not a wall of text
- → Agents should pull context, not have it pushed
- → Layers separate concerns (project, module, task)
- → Context is executable — can include functions