CostWise
Engineering

Context Research Blog

Latest insights, technical write-ups, and compiler tutorials from the CostWise creator.

June 10, 2026 okyashgajjar [Yash Gajjar] 8 min read

Deep Dive into CostWise: Context Compression & AST Parsing

How CostWise leverages tree-sitter to parse source files into concrete syntax trees, extracting local scopes and definitions to trim prompt payloads.

Read article
June 08, 2026 okyashgajjar [Yash Gajjar] 7 min read

Relational SQLite Storage & Codebase Query Pipelines

Understanding how CostWise organizes codebase entities (symbols, references, calls) into lightweight SQLite relational database schemas.

Read article
June 06, 2026 okyashgajjar [Yash Gajjar] 6 min read

Model Context Protocol: Standardizing Stdio Handshakes & Tool Execution

A comprehensive technical breakdown of how CostWise handles stdio-based JSON-RPC handshakes to interface with Claude Code and Cursor.

Read article