Frequently Asked
Questions
Answers to common questions about Devscriptor
What is Devscriptor?
Devscriptor is a high-performance code analysis engine built in Rust that builds a knowledge graph of your codebase in a single SQLite file. It extracts entities (functions, classes, etc.), relationships (calls, inheritance), enables semantic search, and provides LSP code intelligence—making your codebase queryable by AI agents through the Model Context Protocol (MCP).
Is Devscriptor free?
Yes. Devscriptor and Rusta are free software under the GNU General Public License v3.0: free for personal, open-source and commercial use alike, with no license key, no account and no expiry. Pre-built archives for Linux (x86_64 and aarch64), macOS (Apple Silicon and Intel) and Windows (x86_64) are on GitHub Releases — download, extract and run — or build them from source.
Can I use it at work, or commercially?
Yes. The license places no conditions on running the tools — on company code, for paid client work, on as many machines as you like — or on changing them for your own use, and there are no seats to count. Its conditions apply when you pass copies on, changed or not: they go under the same license, with its text and their complete source. The License page sums it up.
Does the GPL apply to my own code?
No. It covers Devscriptor and Rusta themselves, not the code you work on with them: the code Devscriptor indexes, the answers it gives and the code Rusta writes are not covered, since the license covers a program’s output only when, given its content, it is a covered work itself. Any MCP client, proprietary ones included, can use Devscriptor: running it asks nothing of you.
Is there a license key to install?
No. There is nothing to activate and no phone-home: the release archives are built from the public source by GitHub Actions, and run the same on a laptop, in a dev container, or on a CI runner with no outbound internet.
How does MCP integration work?
Devscriptor includes a native, unified MCP (Model Context Protocol) server that exposes 75 tools over JSON-RPC on stdio to AI agents like Claude Desktop, Cursor, and Cline. This includes 32 core tools for scanning, search, analysis, the Context Graph, and the real-time watcher; 38 LSP tools for live code intelligence (go-to-definition, hover, completions, diagnostics); and 5 architecture tools for LSP detection and setup. Configure your client with command "devscriptor" and args ["mcp"] — one binary, one name, on every platform. The agents working in one workspace share one Devscriptor server, so they share its index, watcher, model and language servers. Rusta finds Devscriptor on your PATH and registers it with no configuration.
Does it work with local LLMs?
Yes. Devscriptor is an MCP server, not an LLM — it works with any MCP-compatible client, including agents backed by locally hosted models. Because all of Devscriptor’s own analysis runs on your machine, nothing about your code depends on a cloud provider. Your AI client (Claude Desktop, Cursor, Cline, etc.) connects to Devscriptor over stdio and can route to whatever model you choose.
Is my code sent to any external service?
No. Your code never leaves your machine. Scanning, parsing, indexing, and search make no network calls, all data lives in a local SQLite file, and there is no telemetry, no analytics, and no tracking of any kind. Devscriptor only touches the network to fetch things you ask for: the one-time embedding-model download the first time the model is needed, the LSP server installs you request, and the VS Code extension’s update check when you run it. None transmits your code, and the first two can be pre-staged so the tool runs fully air-gapped. This makes it well suited for proprietary codebases and environments with strict data-security requirements.
What languages are supported?
Devscriptor parses 26 languages and frameworks with tree-sitter 0.27: Python, Rust, TypeScript/TSX, JavaScript, Go, Java, C, C++, C#, Ruby, PHP, Swift, Kotlin, Scala, Dart, Bash, SQL, Solidity, F#, GraphQL, HTML, Objective-C, CUDA, and VB.NET — plus the Vue and Svelte frameworks. It extracts functions, classes, structs, enums, interfaces, components, and their relationships (calls, inherits, implements, uses).
What is LSP Code Intelligence?
LSP (Language Server Protocol) integration provides real-time IDE features: go-to-definition, hover information, completions, diagnostics, call hierarchy, and type hierarchy. Devscriptor includes 38 LSP tools and 5 architecture tools, and ships 21 pre-configured language servers, each looked for in four places (a configuration file → Devscriptor’s own installs → the system → editor extensions) and, where none has it, installed when you ask — checksum-verified. Servers include rust-analyzer, pyright, typescript-language-server, gopls, clangd, and more.
What is the Context Graph?
Context Graph is an AI memory system that persists across sessions in the same local SQLite database as the code graph. It stores notes using 9 structured types: adr (architecture decisions), standard (coding standards), optimization, failure, practice, reflection, general, file_description, and modification. Notes can be linked to concrete code entities and abstract concepts, and retrieved by keyword, semantic, or hybrid search. A code search names the notes its query matches, so an agent reads the ones that bear on its task. When you return to a project weeks later, your AI recalls the context.
How does semantic search work?
Devscriptor generates 768-dimensional vector embeddings for your code using the local jina-embeddings-v2-base-code model (INT8-quantized, ~160 MB). No API keys are required — the model downloads once, then runs offline. These embeddings capture the semantic meaning of code, so you can search by concept (e.g., "functions that handle authentication") rather than keywords. Vector search uses cosine similarity via sqlite-vec, and can be fused with FTS5 keyword results using Reciprocal Rank Fusion.
Is it suitable for large codebases?
Yes. Devscriptor is built in Rust and uses parallel, gitignore-aware file discovery, memory-mapped parsing, and a streamed cross-file analysis pass with bounded memory. Incremental scanning (mtime+size+XXH3) and a content-hash embedding cache make re-analysis fast. A scan stays under ~400 MB of memory, and under memory pressure the pipeline slows down instead of failing. Embedding is CPU-bound and takes longest: minutes to an hour or two for a small or medium repository, and it can run in the background, incrementally.
How do I get started?
Download the archive for your platform from the Download page (it comes from GitHub Releases), check it against its .sha256 file, extract it, and put the devscriptor binary on your PATH. Then run "devscriptor scan ./your-project" to build the knowledge graph, and optionally "devscriptor embed" for semantic search. For AI integration, configure your MCP client with command "devscriptor" and args ["mcp"]. See the Download page for full setup instructions.
Why Rust?
Rust provides memory safety without garbage collection, zero-cost abstractions, and predictable performance. Devscriptor leans on that with multi-threaded parsing (scaling to num_cpus), memory-mapped file reading, a pure-Rust ONNX embedding engine (tract) with a RAM- and core-aware auto-tuner, batched WAL-mode SQLite transactions, and content-hash caches that skip redundant work. The result is a fast, low-overhead engine that stays responsive on large codebases while keeping strong safety guarantees.
What is Rusta?
Rusta is a coding agent for the terminal, built in Rust for Kimi, GLM and DeepSeek models — and any OpenAI-compatible endpoint, such as one serving their open weights. It speaks each vendor’s API natively: preserved reasoning, where the effort setting goes, sampling and output budgets, each as that vendor wants them. It finds Devscriptor on your PATH and registers its 75 tools with no configuration. It is a separate download, under the same license, the GNU GPL v3.0; see the Rusta page.
Do I need Rusta to use Devscriptor?
No. Devscriptor works with any MCP client — Claude Desktop, Claude Code, Cursor, Cline and others. Rusta is one such client, built to use it well, and Rusta works without Devscriptor too.
Does Devscriptor make an agent resolve more issues?
Not on SWE-bench Multilingual. Run side by side by Rusta on all 300 tasks, DeepSeek V4.1-Flash resolved 241 with Devscriptor and 245 without it, a gap within chance, and the runs with it cost more. There, finding the code was not the hard part: the model named a file the fix changes by its second request either way, and every request carried Devscriptor’s tools and guidance. Rusta 1.0.2 and Devscriptor 1.0.7 cut what Devscriptor adds to a request from 7,045 tokens to 3,823. Run again on every task with the two, DeepSeek V4.1-Flash resolved 244 with Devscriptor and 243 without it, and Devscriptor still cost 13% more, against 15% before. The benchmarks page has the figures, and the archive every run.
Still have questions?
We're here to help. Reach out and we'll get back to you as soon as possible.
contact@devscriptor.com