VTCode: A Rust TUI Coding Agent That Aggressively Trims Context with AST-Level Chunking

VTCode is an open-source Rust TUI coding agent that takes a different approach to context management: instead of dumping your entire directory tree into every prompt, it aggressively trims context using AST-level chunking. Built with a focus on token efficiency and security, it uses ripgrep and ast-grep to extract only structurally relevant code chunks, dropping prompt size sharply on refactor tasks.
Key Features
- AST-level context extraction: Uses ripgrep + ast-grep to send only relevant code chunks to the model, reducing token burn.
- Explicit token budget tracking: The agent monitors and manages token usage, preventing context overflow.
- Sandboxing for command execution: macOS Seatbelt + Linux Landlock + seccomp + tree-sitter-bash validation on every model-generated command. The agent stays within the workspace.
- Custom OpenAI-compatible providers: Easily plug in any third-party endpoint with a single config block.
Running with DeepSeek V4 Flash
The author paired VTCode with DeepSeek V4 Flash via the Atlas Cloud endpoint for lower latency during peak hours. Configuration is straightforward:
[agent]
provider = "atlas"
default_model = "deepseek-ai/deepseek-v4-flash"
[[custom_providers]]
name = "atlas"
base_url = "https://api.atlascloud.ai/v1"
api_key_env = "ATLAS_API_KEY"
model = "deepseek-ai/deepseek-v4-flash"
The agent natively supports OpenAI-compatible providers, so any similar host works — the author just used Atlas because they already had a key.
Who It's For
Developers who want a lean, context-aware TUI agent for coding tasks without burning tokens on irrelevant files or worrying about command security.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Godogen: Claude Code Skills for Complete Godot Game Generation
Godogen is an open-source pipeline that uses Claude Code skills to generate complete, playable Godot 4 projects from text prompts. It handles architecture design, 2D/3D asset generation, GDScript writing, and visual QA testing, addressing specific engineering bottlenecks like GDScript training data scarcity and build-time vs runtime state issues.

Agent-Desktop: Structured Desktop Automation via OS Accessibility Trees
Agent-desktop is a cross-platform CLI (Rust binary, ~15 MB) that exposes 53 commands with JSON output for inspecting and operating native apps through OS accessibility APIs — no screenshots or vision models needed. It uses progressive skeleton traversal to reduce token usage by 78-96% on dense apps like Slack or VS Code.

Claude Code gains TLA+ model checking via tla-mcp MCP server
tla-mcp is a new MCP server that lets Claude Code call the TLA+ model checker tla-rs as a first-class tool — validate specs, run bounded checks with counterexample traces, and replay scenarios from the chat.

LocalSynapse MCP Server Adds macOS Support and Search Improvements
LocalSynapse, an offline MCP server for searching local documents, now supports macOS and includes fixes for multi-word search queries. The developer has implemented feedback-driven improvements including position-adjusted click boosting and time decay as promotion.