Welcome to the Sharc Context Engine documentation.
- Getting Started: Zero to code in 5 minutes.
- Cookbook: 15 copypasta-ready recipes (Reading, Filtering, Graph, Trust).
- FAQ: Common questions and answers.
- When NOT to Use Sharc: Honest limitations.
- Sharc Query (Sharq): The SQL-like query language reference (Syntax, Graph Arrows, Cotes).
- Deep Dive: Parsing: How Sharq achieves zero-allocation parsing with SIMD.
- BakedFilter JIT: The internal engine that compiles your queries to machine code.
- Distributed Trust: (Critical) The architecture for Agent Identity, Ledgers, and decentralized AI memory.
- API Quick Reference: Includes strict typed accessor guidance for
GUID/UUIDandFIX128decimal (28-29 digits).
- Architecture: High-level system design and layer breakdown.
- File Format: Binary layout reference for the
sharc/sqlitefile format. - Comparison vs. MCP: Why Sharc is the "State" to MCP's "Protocol".
- SQLite Analysis: Detailed comparison of Sharc vs. System.Data.SQLite.
- Benchmarks: Methodology and results vs. SQLite, DuckDB, and others (latest focused hot-path update: 2026-02-25).
- Alternatives: Honest comparison vs SQLite, LiteDB, DuckDB, SQLitePCLRaw.
- Graph DB Comparison: Sharc vs SurrealDB, ArangoDB, Neo4j — when to use which.
- Integration Recipes: 10 copy-paste integration recipes.
- JitSQL Cross-Language: JitSQL patterns mapped to Prisma, SQLAlchemy, Knex, GORM.
- Vector Search: Embedding storage, similarity search, RAG patterns, comparison vs Pinecone/pgvector.
- Coding Standards: Rules for contributing to the alloc-free codebase (including generic type naming and high-value comment guidelines).
- Migration Guide: Coming from older versions.
- PRC (Process, Requests, Comments): Design documents and engineering logs.