Own your AI.
Agents, memory, tools, and identity that live on your Mac. Built purely in Swift. Fully offline. Open source.
Download for Mac · Docs · Discord · Twitter · Plugin Registry
Models are getting cheaper and more interchangeable by the day. What's irreplaceable is the layer around them -- your context, your memory, your tools, your identity. Others keep that layer on their servers. Osaurus keeps it on your machine.
Osaurus is the AI harness for macOS. It sits between you and any model -- local or cloud -- and provides the continuity that makes AI personal: agents that remember, execute autonomously, run real code, and stay reachable from anywhere. The models are interchangeable. The harness is what compounds.
Works fully offline with local models. Connect to any cloud provider when you want more power. Nothing leaves your Mac unless you choose.
Native Swift on Apple Silicon. No Electron. No compromises. MIT licensed.
brew install --cask osaurusOr download the latest .dmg from Releases. After installing, launch from Spotlight (⌘ Space → "Osaurus") or the CLI:
osaurus ui # Open the chat UI
osaurus serve # Start the server
osaurus status # Check statusRequires macOS 15.5+ and Apple Silicon.
Agents are the core of Osaurus. Each one gets its own prompts, tools, memory, and visual theme -- a research assistant, a coding partner, a file organizer, whatever you need. Everything else in the harness exists to make agents smarter, faster, and more capable over time.
Give an agent an objective. It breaks the work into trackable issues, executes step by step -- parallel tasks, file operations, background processing. Describe what you want done, not how to do it.
Agents execute code in an isolated Linux VM powered by Apple's Containerization framework. Full dev environment -- shell, Python, Node.js, compilers, package managers -- with zero risk to your Mac.
Each agent gets its own Linux user and home directory. The VM connects back to Osaurus (inference, memory, secrets) via a vsock bridge -- sandboxed but not disconnected. Extend with simple JSON plugin recipes, no Xcode or code signing required.
┌────────────────┐ ┌────────────────────────────┐
│ Osaurus │ │ Linux VM (Alpine) │
│ │ │ │
│ Sandbox Mgr ──┼───────┤→ /workspace (VirtioFS) │
│ Host API ←──┼─vsock─┤→ osaurus-host bridge │
│ │ │ │
│ │ │ agent-alice (Linux user) │
│ │ │ agent-bob (Linux user) │
└────────────────┘ └────────────────────────────┘
Requires macOS 26+ (Tahoe). See the Sandbox Guide for configuration, built-in tools, and plugin authoring.
4-layer system: user profile, working memory, conversation summaries, and a knowledge graph. Extracts facts, detects contradictions, recalls relevant context -- all automatically. Agents get smarter over time, and that knowledge stays with you, not a provider.
Every participant -- human, agent, device -- gets a secp256k1 cryptographic address. Authority flows from your master key (iCloud Keychain) down to each agent in a verifiable chain of trust. Create portable access keys (osk-v1), scope per-agent, revoke anytime. See Identity docs.
Expose agents to the internet via secure WebSocket tunnels through agent.osaurus.ai. Unique URL per agent based on its crypto address. No port forwarding, no ngrok, no configuration.
The harness is model-agnostic. Swap freely -- your agents, memory, and tools stay intact.
Run Llama, Qwen, Gemma, Mistral, DeepSeek, and more on Apple Silicon with optimized MLX inference. Models stored at ~/MLXModels (override with OSU_MODELS_DIR). Fully private, fully offline.
Osaurus supports Liquid AI's LFM family -- on-device models built on a non-transformer architecture optimized for edge deployment. Fast decode, low memory footprint, and strong tool calling out of the box.
On macOS 26+, use Apple's on-device model as a first-class provider. Pass model: "foundation" in API requests. Tool calling maps through Apple's native interface automatically. Zero inference cost, fully private.
Connect to OpenAI, Anthropic, Gemini, xAI/Grok, Venice AI, OpenRouter, Ollama, or LM Studio. Venice provides uncensored, privacy-focused inference with no data retention. Context and memory persist across all providers.
Osaurus is a full MCP (Model Context Protocol) server. Give Cursor, Claude Desktop, or any MCP client access to your tools:
{
"mcpServers": {
"osaurus": {
"command": "osaurus",
"args": ["mcp"]
}
}
}Also an MCP client -- aggregate tools from remote MCP servers into Osaurus. See the Remote MCP Providers Guide for details.
osaurus tools install osaurus.browser # Install from registry
osaurus tools list # List installed
osaurus tools create MyPlugin --swift # Create a plugin
osaurus tools dev com.acme.my-plugin # Dev with hot reload20+ native plugins: Mail, Calendar, Vision, macOS Use, XLSX, PPTX, Browser, Music, Git, Filesystem, Search, Fetch, and more. Plugins support v1 (tools only) and v2 (full host API) ABIs -- register HTTP routes, serve web apps, persist data in SQLite, dispatch agent tasks, and call inference through any model. See the Plugin Authoring Guide.
Skills -- Import reusable AI capabilities from GitHub repos or files. Compatible with Agent Skills. See Skills Guide.
Automation -- Schedules run recurring tasks in the background. Watchers monitor folders and trigger agents on file changes.
Voice -- On-device transcription via FluidAudio on Apple's Neural Engine. Voice input in chat, VAD mode with wake-word activation, and a global hotkey to transcribe into any app. No audio leaves your Mac. See Voice Input Guide.
Developer Tools -- Server explorer, MCP tool inspector, inference monitoring, plugin debugging. See Developer Tools Guide.
Drop-in endpoints for existing tools:
| API | Endpoint |
|---|---|
| OpenAI | http://127.0.0.1:1337/v1/chat/completions |
| Anthropic | http://127.0.0.1:1337/anthropic/v1/messages |
| Ollama | http://127.0.0.1:1337/api/chat |
All prefixes supported (/v1, /api, /v1/api). Full function calling with streaming tool call deltas. See OpenAI API Guide for tool calling, streaming, and SDK examples. Building a macOS app that connects to Osaurus? See the Shared Configuration Guide.
osaurus serve --port 1337 # Start on localhost
osaurus serve --port 1337 --expose # Expose on LAN
osaurus ui # Open the chat UI
osaurus status # Check status
osaurus stop # Stop the serverHomebrew auto-links the CLI, or symlink manually:
ln -sf "/Applications/Osaurus.app/Contents/MacOS/osaurus" "$(brew --prefix)/bin/osaurus"┌─────────────────────────────────────────────────────┐
│ The Harness │
├──────────┬──────────┬───────────┬───────────────────┤
│ Agents │ Memory │ Work Mode │ Automation │
├──────────┴──────────┴───────────┴───────────────────┤
│ MCP Server + Client │
├──────────┬──────────┬───────────┬───────────────────┤
│ MLX │ OpenAI │ Anthropic │ Ollama / Others │
│ Runtime │ API │ API │ │
├──────────┴──────────┴───────────┴───────────────────┤
│ Plugin System (v1 / v2 ABI) · Native Plugins │
├──────────┬──────────┬───────────┬───────────────────┤
│ Identity │ Relay │ Tools │ Skills │
├──────────┴──────────┴───────────┴───────────────────┤
│ Sandbox VM (Alpine · Apple Containerization) │
│ vsock bridge · VirtioFS · per-agent isolation │
└─────────────────────────────────────────────────────┘
Most features are accessible through the Management window (⌘ ⇧ M).
git clone https://github.com/osaurus-ai/osaurus.git
cd osaurus
open osaurus.xcworkspaceBuild and run the osaurus target. Requires Xcode 16+ and macOS 15.5+.
Osaurus is actively developed and we welcome contributions: bug fixes, new plugins, documentation, UI/UX improvements, and testing.
Check out Good First Issues, read the Contributing Guide, or join Discord. See docs/FEATURES.md for the full feature inventory.
- Discord -- chat, feedback, show-and-tell
- Twitter -- updates and demos
- Community Calls -- bi-weekly, open to everyone
- Blog -- long-form thinking on personal AI
- Docs -- guides and tutorials
- Plugin Registry -- browse and contribute tools
Osaurus, Inc. · osaurus.ai
