Skip to Content
DocsOverview

Truss

Truss is a local-first runtime for coding agents. It separates agent execution from clients, so the same runtime powers a CLI, full-screen terminal workspace, desktop app, and VS Code side panel without coupling agent behavior to any one interface.

What works today

  • Native Ollama and OpenAI-compatible local servers
  • Automatic local provider and model detection
  • Streaming chat, native tool calling, approvals, and interruption
  • Filesystem search, file reads and writes, grep, and terminal execution
  • Optional bounded public web search and page reading
  • CLI, full-screen terminal UI, desktop app, and VS Code side-panel client
  • Workspace configuration profiles and persistent project memory

Choose a starting point

GoalStart here
Install and run a local model immediatelyGet Started
Configure Ollama, LM Studio, or llama.cppLocal Models
Use commands or service modeCLI
Use the terminal workspaceTerminal UI
Use the standalone workspaceDesktop App
Use the VS Code side panelVS Code Extension
Diagnose installation or model issuesTroubleshooting

Install clients

Install the command-line and terminal clients from npm:

npm install -g @truss-harness/cli @truss-harness/tui

Then use truss-cli from the folder you want the agent to work in, or launch truss-tui for the full-screen terminal workspace.

Architecture

The runtime owns sessions, context, streaming, tools, approvals, and workspace memory. Clients only provide interaction surfaces. This keeps the local agent implementation usable outside VS Code and makes clients independently replaceable.

Last updated on