What do you want to do?
4 use cases
-
Run a coding agent on your own model
Start a working terminal coding agent on a local or hosted model in one afternoon.
- Raw CLI
- Software and DevOps
- Intermediate
View prompt
Install the Raw agent harness from the repo lploc94/raw-cli, set up a configured agent on the model <model-id> at <base-url>, and run it with the task "Explain the tests in <repo-path>". Expected output: a plain-text explanation of the test files. Verify that the run finished with a model answer and no configuration error.
-
Fork a built-in tool to change how it works
Copy the shipped bash tool, rename it, and change its behavior for one agent.
- Raw CLI
- Software and DevOps
- Advanced
View prompt
Using the repo lploc94/raw-cli, copy examples/tools/bash/ to ~/.config/raw/tools/<tool-name>/, change its manifest id and name, and select local/<tool-name> in the agent <agent-name>. Expected output: a successful run of one shell command through the forked tool. Verify the run output shows the forked tool name and a status line.
-
Ask for approval before risky shell commands
Add tools.rules so an agent prompts only for matching bash commands such as rm.
- Raw CLI
- Software and DevOps
- Intermediate
View prompt
Using the repo lploc94/raw-cli, add an ordered tools.rules entry to the agent <agent-name> that asks before any bash command containing rm, then run it with the task "List files in <folder>" and "Remove <file>". Expected output: the list runs and the removal triggers an approval prompt. Verify the prompt appears and the -y flag does not skip it.
How to use Raw CLI
- Check you have what it needs: Node.js 22.13+ on macOS, Linux or Windows 10/11; Bash for the bash tool (Git Bash on Windows, or PowerShell if Bash is absent); A local model served over an OpenAI-compatible endpoint, or a hosted model with an API key.
- Open lploc94/raw-cli on GitHub and read the README and license.
- Run
npm install -g @tlelabs/raw. - Run
raw config initto create the config file. - Edit the config so the
localmodelmodel_idmatches your installed model, or add your hosted model withapi_key_env. - Run
raw --agent raw "Explain the tests in this repository"from the project folder.
These steps come from our top use case, Run a coding agent on your own model, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeRaw CLI alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forDevelopers and platform engineers who want to build a coding or internal agent on their own model by editing parts of a working harness instead of writing an agent loop from scratch.
- Why it is hot
- LanguageTypeScript
- Sourcegithub.com/lploc94/raw-cli · Back to Hot repos
Requirements
- Node.js 22.13+ on macOS, Linux or Windows 10/11
- Bash for the bash tool (Git Bash on Windows, or PowerShell if Bash is absent)
- A local model served over an OpenAI-compatible endpoint, or a hosted model with an API key
- Comfort editing a strict JSON config file
Maintain Raw CLI? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/lploc94-raw-cli/?ref=badge)
Questions about Raw CLI
What is Raw CLI?
Raw is an open-source TypeScript agent harness with a working tool loop, context compaction, sessions, approvals, a terminal REPL, a local browser dashboard and ACP, where every tool, skill, hook and policy is an editable file. It is an open-source project on GitHub: https://github.com/lploc94/raw-cli.
Who is Raw CLI for?
Developers and platform engineers who want to build a coding or internal agent on their own model by editing parts of a working harness instead of writing an agent loop from scratch.
What can I do with Raw CLI?
4 use cases so far, for example: Run a coding agent on your own model; Fork a built-in tool to change how it works; Package an agent so teammates can install it. Each has steps and a copy-paste agent prompt.
What do I need to run Raw CLI?
Node.js 22.13+ on macOS, Linux or Windows 10/11; Bash for the bash tool (Git Bash on Windows, or PowerShell if Bash is absent); A local model served over an OpenAI-compatible endpoint, or a hosted model with an API key; Comfort editing a strict JSON config file.
What are alternatives to Raw CLI?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Raw CLI safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.