cat WHY.md Why Oscar exists
I wanted an agent
I could keep.
Oscar started with a loss of trust, not a feature gap. When Nous Research partnered with Microsoft, the agent I was using stopped feeling like mine. The code was still there. The direction was not.
So I rebuilt it: a clean-room agent in Rust, extensible in Lua, with a real boundary around its tools and no platform in the middle. This page is the honest version of why, including the part that is opinion.
a partnership, not a patch
The partnership was the signal.
I don't think the people who wrote Hermes became villains overnight. I do think incentives change when a hyperscaler becomes a partner. Roadmaps get a new gravity. Defaults get a new owner. The question stops being “what should this agent do?” and starts being “what does the platform need?”
That is my judgment, and I'm not dressing it up as a neutral technical assessment. I don't trust Microsoft with the keys to my workflow. I don't want my agent's future decided by a partnership I didn't vote for. Once that trust is gone, “wait and see” is not a strategy. It's a dependency.
The code was still open. The direction was no longer mine.
Could I have forked Hermes? Maybe. But I didn't want to inherit a Python runtime, a dependency tree, and a roadmap I would spend the next year arguing with. I wanted something smaller, stricter, and legible end to end.
Rust + Lua
This is a rebuild, not a reskin.
Oscar is a clean-room reimplementation. I studied Hermes to learn how the agent behaves (the approval model, skills, memory, the gateway seam), and then wrote the behaviour again in Rust and Lua. No Python was transliterated into Rust. No files were copied over and renamed.
Hermes is MIT-licensed and genuinely good work. Oscar owes it a debt for the design questions it asked first. The difference is the shape of the answer: one static binary, a sandboxed Lua extension point, SQLite on disk, and a security boundary that doesn't depend on the model behaving.
That also means Oscar is not trying to be bug-for-bug compatible. It is trying to be small enough to audit, and honest about what it hasn't built yet.
your files
your call
Ownership is an architecture, not a slogan.
“Local-first” is easy to print on a landing page. The test is what happens when the network is gone, the vendor changes its mind, or the bill stops being convenient.
- Your keys. Provider credentials live in
~/.oscar/credentials.env, mode 0600. Oscar has no account and no key of its own. - Your files. Sessions, memory, skills and checkpoints are SQLite and Markdown in your home directory. You can read them without Oscar.
- Your model. OpenCode Go, OpenRouter, a local OpenAI-compatible endpoint, or Anthropic. There is no default provider and no silent fallback.
- Your exit. The public release will be MIT. If the direction changes, fork it. That is the entire point.
A local runtime is not automatically a trustworthy one, which is why the next section matters more than this one.
the OS is the line
An agent without a boundary is a remote shell.
Every agent that can read files, run commands and call the network is one persuasive paragraph away from doing something you didn't intend. A confirmation prompt is not a security model; it is a speed bump that the model can talk around.
Oscar separates the two and lets you pick. The approval gate is a readable policy
(allow, ask, deny, confirm):
dangerous commands always need a human, and every command on the host is written to
an audit log. When you want an actual limit, workspace mode is a jail: commands run
in a user namespace with a chroot, dropped capabilities and no_new_privs,
every .git entry is read-only, and the workspace is the only folder in
reach.
The docs say which mechanism is which. The tests try to escape. When the two disagree, the test wins.
not a promise
It is not finished. That is part of the deal.
Oscar is v0.0.1. The full-screen TUI, the Matrix gateway, OpenCode Go routing (Responses models included), web search, the browser, MCP and the Lua tool sandbox are working and tested, but the surface is still moving. Encrypted rooms are being verified, and Telegram, Discord, voice and scheduled jobs are still to come. Only Linux is supported.
I would rather ship a small agent with a boundary I can explain than a broad one with a roadmap I can't. If that trade-off is wrong for you, the source will be there to change it.
You shouldn't have to ask a platform for permission to keep your own agent.
Read it. Run it. Fork it.
Oscar is for people who want the agent to belong to the machine it runs on. If that is you, start with the manual or put it on a Linux box.