Turbostar logo Turbostar

Virtual Context Paging

Context windows are finite and costly. Instead of discarding history when the buffer fills, Turbostar pages chunks of conversation in and out dynamically, mimicking OS virtual memory.

  • Paging Levels: Implements tiered compression: Full Content, Think-Removed Content (condensing reasoning outputs), and Tool-Call Reduced Content (redirection markers for duplicated actions).
  • On-Disk Fallback: Reductions occur in memory only; full details are saved to disk. Paged-out blocks leave hints instructing the agent on when to request page-in upgrades.
turbostar --history-compaction

In-Editor Code Review & Edits

Run automated security reviews and code formatting recommendations directly inside the TUI. Agent edits are tracked cleanly as single atomic undo operations.

  • Unified Review Dialogs: Inline review comments let developers step through and resolve suggestions with coordinate-free layout dialogs.
  • Safety Verification: Python execution tools scan scripts automatically using bandit before running them.
turbostar --code-review

Compiler Context Optimization

Low-level development is verbose. Healthy build logs can easily span hundreds of kilobytes of compiler outputs, wasting critical agent context and inflating token costs.

  • Noise Filtering: Turbostar filters out thousands of lines of successful compilation outputs (e.g. [12/350] Compiling C++ object...), leaving only the overall summary or precise error locations.
  • Context Preservation: Instead of dumping massive raw compiler stdout logs, Turbostar parses compiler diagnostics, shrinking logs from 40+ KB of noise to less than 1 KB of actionable target context.
agentcli --run-build
# Raw compiler output (480 targets compiled)
# [Info] Truncating 476 lines of successful compilation output.
# Retaining summary and diagnostics:

[479/480] Compiling C++ object src/editor_events.cpp.o ... OK
[480/480] Linking target build/turbostar ... OK

Build Success: 480 targets built in 12.4s.
Context Saved: Retained 0.2 KB of 42.1 KB raw output.

Interactive Agent-Driven Debugging

Debugging isn't just about reading stack traces. Turbostar allows the AI agent to run, interact with, and debug your application concurrently in real-time.

  • Parallel GDB Control: The agent can drive GDB commands (setting breakpoints, stepping, viewing backtraces) in one window while feeding test inputs directly into the application's stdin in another.
  • Signal & I/O Isolation: Utilizes a dedicated loop control systemd namespace and custom signal disposition wrappers (ignoring job control signals) to prevent GDB from hung states (e.g. SIGTTOU loops).
turbostar --agent-debug

Agent Command Center

Keep complete visibility over active background agents. The Agent Command Center provides a real-time visual dashboard, mapping subagent hierarchies and executing processes dynamically.

  • Agent State Monitoring: Track thread status, active tool calls, and lifecycle stages (e.g., active, idle, dead) with clean DOS-inspired ncurses flow grids.
  • Subagent Hierarchy Trees: Visualize parent-child relationships and terminate or inspect active subagents directly from the panel.
turbostar --command-center

Built-in Standards & Extensibility

Turbostar supports the standard agent stack natively to minimize custom orchestration layer code.

Model Context Protocol (MCP)

Connect custom servers and tools natively. Turbostar acts as a high-fidelity MCP host for model and tool discovery.

Structured Skill Registration

Define directory-based capabilities (instruction documents, scripts, and examples) that are automatically discovered and loaded into the agent's context.

Customizations & Rules

Inject global or project-level guidelines and constraints into agent turn iterations dynamically using custom markdown configurations.