OwCLI: agent and terminals
OwCLI is OpenWeights' terminal screen, right below AgenticOw in the sidebar. Every session there is a real terminal: the OwCLI agent, a plain shell (bash, zsh, PowerShell) or an outside agent such as Claude Code. Several stay open at once, side by side, and keep running when you switch screens.
The OwCLI agent is OpenWeights' fork of OpenAI's Codex CLI (Apache-2.0 license): the upstream core, with the branding, privacy and your models on top. Its interface is in English for now.
The screen
Three lists sit on the left: Open (the sessions that are running), Projects and Conversations. Each open session shows the title the program gave its terminal, the folder it is in and a status dot: green while it runs, dim once it ended (with the exit code), amber when it needs you. The arrow keys move through the list.
The grid is on the right. The Layout buttons at the top show 1, 2 or 4 panes, and the divider between them drags with the mouse or the arrow keys. The choice is remembered. Clicking a session in the list puts it in the focused pane. A session shows in one pane only, and shrinking the grid hides panes without closing anything.
The + at the top of the list (New session) opens both ways in: OwCLI agent… or New terminal. With the screen empty, the same two buttons sit in the middle of it, and every empty pane of the grid offers both too.
Switching screens stops nothing: the terminal keeps running and drawing, and what it wrote is there when you come back. Closing a session (the × in the list or the right-click menu) ends the program and everything it started.
The agent
New session → OwCLI agent… (or Open the OwCLI agent, on the empty screen, or the same command in the palette, Ctrl+K) asks four things before opening:
- Model: the models OpenWeights can serve right now, grouped by source. The choice is remembered for the next session.
- Project: None — standalone conversation (~/OwCLI/…), the default, or one of your projects, or + New project… to create one right there. See Projects and folders.
- When to ask for your approval: when it needs to (recommended), before any command or never.
- What it can do: read and edit the folder (recommended), read only or everything, no limits.
Inside, /model switches models in the same conversation, across every source. Every time the dialog opens it starts fresh: only the model is remembered, and approval and sandbox go back to the recommended ones.
Installing the agent
The agent does not ship inside the app: it is a separate program, downloaded the first time you pick it. Before downloading, the app shows the size on the button itself, and only downloads if you accept. The package is checked against the size and sha256 the app carries, and tried on this machine before it stays: a package that does not run here is not kept, and Try again downloads it again. It lives in the app's folder (runtimes/owcli). Closing the window during the download does not stop it, and once installed, the app goes straight to the open dialog.
There are packages for Linux x64, Windows x64 and macOS. On a computer with no package, the app says the agent is not available there, and the terminals work as usual.
Where the brain comes from
OwCLI has no provider, key or login of its own: it thinks only with the app's models. Those are the Local Server's, your OpenRouter favorites and 9router's, the same ones AgenticOw uses. When there are none (the server is stopped and no remote source is on), the dialog turns into Choose OwCLI's brain and shows the next step for each source. Start the Local Server brings the engine up right there, and the dialog comes back with the models.
You see the model thinking. Local models think before they answer, sometimes for minutes, and the agent used to show only "Working". Sessions opened by the app now show the model's reasoning as it writes it, so you can follow what it is weighing and where it is heading. The logs panel (Ctrl+Shift+L) shows the engine's own side: tokens generated and speed.
Projects and folders
A new conversation never opens in your home folder. With the recommended sandbox the agent reads and edits the folder it works in, and your whole home folder was too much room. Now every conversation has a place of its own, or a project's:
- Standalone conversation. With no project, the app creates a new folder in
~/OwCLI, with the date and time in its name (for example,~/OwCLI/20261004-142310-a3f9). It belongs to that conversation alone. If you open the agent and close it without writing anything, the empty folder goes away on its own. - Project. A name and a folder that group the conversations held in it. The + next to Projects creates one: with a new folder at
~/OwCLI/projetos/<name>(the default) or with a folder that already exists, such as the repository you work in. Your home folder, the root of the disk and~/OwCLIitself cannot be a project's folder, and the dialog says why.
Each project in the list opens and collapses with a click, and the choice is remembered. On hover, the project's + opens an agent already in it, and the ⋯ offers Rename, Open the folder and Remove from list. Removing only takes the project off the list: the folder and its files stay as they are, and its conversations move to Conversations. A project whose folder was deleted or moved shows dimmed, with a notice, until you recreate the folder or remove it.
Older conversations, from before projects, that ran in your home folder stay in Conversations and can still be continued — and when you continue one, the agent opens in your home folder again, where it ran. To work with the sandbox limited to one folder, start a new conversation or one in a project.
The configuration backup (Settings) carries the projects: each one's name and path. On a machine where the folder does not exist — including one from another system, such as a Linux backup imported on Windows —, the project comes in anyway and shows the notice.
History
The conversations OwCLI saved sit in their project or, those that belong to no project, in Conversations. Each shows its name (or the start of the first message) and when it was. Clicking continues the conversation in a new session, in its folder and with its model, if that model is still available. The ⋯ (or a right click) offers Continue, Rename and Delete. The list shows up to the 200 most recent conversations.
If a standalone conversation's folder is gone, continuing recreates it. If it was a project's folder, or any other, the app does not open the agent somewhere else: it says the folder no longer exists and offers Try again (after you recreate it) or Delete the conversation.
Deleting a conversation
Delete (in the menu, or the Delete key with the conversation focused) takes the conversation off the list at once, and a notice offers Undo for 8 seconds. Once that time is up (or the notice is closed), it is deleted for good.
The conversation's standalone folder goes with it when it is empty. If the agent left files in it, the app asks first, saying how many and how much space they take: Keep folder or Delete. A project's folder is never deleted, nor a folder another conversation still uses.
A conversation open in a tab cannot be deleted: close the tab first. If the app closes before the notice goes away, the deletion finishes the next time it opens, without deleting a folder that has files (nobody was asked); the app says how many folders were kept.
When it needs you
When the agent asks approval for a command and you are not looking at that session, the session gets the amber dot and the needs your attention note in the list. With the app window unfocused, a system notification arrives too, at most one every 15 seconds per session. Opening the session clears the note.
Copy and paste
Ctrl+Shift+C copies the selection and Ctrl+Shift+V pastes; the right-click menu does the same and also clears the screen. Programs that copy through the terminal (the OSC 52 sequence, used by tmux and Neovim) reach the system clipboard.
Other agents in a session
Claude Code, Aider and OpenCode open here too, from Local Server → Use it in another app: the app starts the program in a session on this screen, pointed at your local API and with the chosen model. On Windows, the card also offers External terminal, which opens the program in a window of its own.
The owcli command in the system terminal
In Settings → OwCLI in the system terminal (Advanced mode), Turn on the owcli command makes the agent available in any terminal, with the same models as the OwCLI screen and the same home (~/.owcli), where conversations are kept. Nothing changes in your terminal without that click, and Turn off undoes only what the app did.
Like git, the command works in the folder the terminal is in: cd into the folder of the work before running owcli. The OwCLI screen's New terminal opens in your home folder, and running the agent there gives it your whole home folder.
- Linux and macOS: a link at
~/.local/bin/owclito the installed version. If a file with that name already exists and is not OpenWeights', the app says so and leaves it alone. On macOS, and on some Linux setups,~/.local/binis not on the PATH: the card shows the line to put in~/.zshrcor~/.bashrc. - Windows: the agent's folder is added to your user
Path(the machine's is not touched). Open a new terminal after turning it on.
When the agent is updated, the command points to the new version, and the old one is only deleted when no session runs from it. Since the agent thinks with OpenWeights' models, the app has to be open when you use the command; when it is closed, owcli says so and exits.
Privacy
- OwCLI talks only to OpenWeights, on
127.0.0.1, and proves who it is with a token from the app. The OpenRouter and 9router keys never leave the app: OpenWeights itself adds them to each request. - Telemetry, feedback, version checks and the features that talk to OpenAI services are off.
- OwCLI's conversations and settings live in its own home (
~/.owcli), separate from any Codex installed on the same machine. The folders it works in (the standalone ones and those of new projects) are in~/OwCLI.