Raw documentation
Raw (npm package @tlelabs/raw) is an open-source agent harness from TLE Labs, released under the MIT license. The tool loop, context compaction, saved sessions, approvals, a terminal REPL, a local dashboard and the Agent Client Protocol already work. Every tool, skill, hook and policy is a file you can change, so you can turn Raw into an internal agent, a coding agent or an ops agent without starting from an empty loop. You decide what each run can use: an agent selects an ordered list of tools, skills and hooks, a system prompt, and one model connection, so models with limited context stay useful.
What Raw does
Section titled “What Raw does”- Explicit capabilities. Tools, skills, hooks and MCP tools run only when an agent selects them. Nothing is added implicitly.
- Local and hosted models. Connect a local model server such as Ollama, or a hosted API through one of four wire methods: OpenAI-compatible Chat Completions, OpenAI Responses, Anthropic Messages, or Google Generate Content.
- Saved sessions. Conversations persist across process restarts and can be resumed from any surface.
- Extensible parts. Write your own tools, skills, hooks and agents, and package them for another machine.
Raw runs tools with your operating system account’s permissions. The working directory sets where relative paths resolve, but it is not a sandbox. Read Permissions before you run Raw on code you do not trust.
Ways to use Raw
Section titled “Ways to use Raw”Raw has three surfaces that share the same agents and saved sessions:
- Terminal. Run one task with
raw "task", or open a saved REPL withraw. - Dashboard. Run
raw dashboardto chat in a local browser app, review approvals and context usage, and edit agents, tools, models and packages. - ACP. Run
raw --acp --stdioso an IDE or a parent agent can drive sessions over the Agent Client Protocol.