Welcome to the InputLayer documentation. InputLayer is a streaming reasoning layer for AI systems - an incremental rules engine with vector search, graph traversal, and explainable derivation traces.
All documentation content lives in docs/content/ as MDX files - this is the single source of truth.
Edit files in docs/content/. Navigation is controlled by _meta.json files in each directory.
| Method | URL |
|---|---|
| GUI (InputLayer Studio) | Navigate to /docs in the GUI - works without a server connection |
| GitHub Pages | Deployed automatically on push to main |
| Local dev | cd docs/site && npm install && npm run dev |
docs/content/
├── index.mdx # Landing page
└── docs/
├── guides/ # Step-by-step tutorials (18 pages)
│ ├── quickstart.mdx
│ ├── installation.mdx
│ ├── first-program.mdx
│ ├── python-sdk.mdx
│ ├── deployment.mdx
│ ├── authentication.mdx
│ ├── websocket-api.mdx
│ ├── migrations.mdx
│ └── ...
├── reference/ # API reference (6 pages)
│ ├── commands.mdx
│ ├── functions.mdx
│ ├── syntax.mdx
│ └── ...
├── spec/ # Formal specification (7 pages)
│ ├── types.mdx
│ ├── rules.mdx
│ ├── queries.mdx
│ └── ...
└── internals/ # Architecture docs (7 pages)
├── architecture.mdx
├── coding-standards.mdx
└── ...
- Nextra site (
docs/site/) - Static site for GitHub Pages. Copies content at build time. - GUI docs viewer (
gui/scripts/bundle-docs.mjs) - Bundles content into the GUI at build time.
Code blocks with ```iql get syntax highlighting via a TextMate grammar at docs/grammars/iql.tmLanguage.json.
- 3,107 unit tests across all modules
- 1,121 snapshot tests for end-to-end validation
- 0 failures, 0 ignored
