[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6551":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":16,"starSnapshotCount":16,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},6551,"osaurus","osaurus-ai\u002Fosaurus","osaurus-ai","Own your AI. The native macOS harness for AI agents -- any model, persistent memory, autonomous execution, cryptographic identity. Built in Swift. Fully offline. Open source.","https:\u002F\u002Fosaurus.ai",null,"Swift",5743,317,22,36,0,105,172,522,335,113.51,"MIT License",false,"main",true,[27,28,29,30,31,32,33,34,35,36],"anthropic","apple-foundation-models","apple-intelligence","apple-neural-engine","llm","mcp","mcp-server","mlx","openai","swift","2026-06-12 04:00:29","\u003Cp align=\"center\">\n\u003Cimg width=\"865\" height=\"677\" alt=\"Screenshot 2026-03-19 at 3 42 04 PM\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fc16ee8bb-7f31-4659-9c2c-6eaaf8441c26\" \u002F>\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">Osaurus\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  \u003Cstrong>Own your AI.\u003C\u002Fstrong>\u003Cbr>\n  Agents, memory, tools, and identity that live on your Mac. Built purely in Swift. Fully offline. Open source.\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fosaurus-ai\u002Fosaurus\u002Freleases\u002Flatest\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fosaurus-ai\u002Fosaurus?sort=semver\" alt=\"Release\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fosaurus-ai\u002Fosaurus\u002Freleases\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002Fosaurus-ai\u002Fosaurus\u002Ftotal\" alt=\"Downloads\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fosaurus-ai\u002Fosaurus\u002Fblob\u002Fmain\u002FLICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fosaurus-ai\u002Fosaurus\" alt=\"License\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fosaurus-ai\u002Fosaurus\u002Fstargazers\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fosaurus-ai\u002Fosaurus?style=social\" alt=\"Stars\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPlatform-macOS%20(Apple%20Silicon)-black?logo=apple\" alt=\"Platform\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FOpenAI%20API-compatible-0A7CFF\" alt=\"OpenAI API\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAnthropic%20API-compatible-0A7CFF\" alt=\"Anthropic API\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FOllama%20API-compatible-0A7CFF\" alt=\"Ollama API\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FMCP-server-0A7CFF\" alt=\"MCP Server\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FApple%20Foundation%20Models-supported-0A7CFF\" alt=\"Foundation Models\">\n  \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002FOsaurusAI\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F%F0%9F%A4%97%20Hugging%20Face-OsaurusAI-FFD21E\" alt=\"Hugging Face\">\u003C\u002Fa>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPRs-welcome-brightgreen\" alt=\"PRs Welcome\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fosaurus-ai\u002Fosaurus\u002Freleases\u002Flatest\u002Fdownload\u002FOsaurus.dmg\">Download for Mac\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Fdocs.osaurus.ai\">Docs\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002FOsaurusAI\">Models\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002Fosaurus\">Discord\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Fx.com\u002FOsaurusAI\">Twitter\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fosaurus-ai\u002Fosaurus-tools\">Plugin Registry\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n## Inference is all you need. Everything else can be owned by you.\n\nModels 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.\n\nOsaurus 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.\n\nWorks fully offline with local models. Connect to any cloud provider when you want more power. Nothing leaves your Mac unless you choose.\n\nNative Swift on Apple Silicon. No Electron. No compromises. MIT licensed.\n\n## Install\n\n```bash\nbrew install --cask osaurus\n```\n\nOr download the latest `.dmg` from [Releases](https:\u002F\u002Fgithub.com\u002Fosaurus-ai\u002Fosaurus\u002Freleases\u002Flatest). After installing, launch from Spotlight (`⌘ Space` → \"Osaurus\") or the CLI:\n\n```bash\nosaurus ui       # Open the chat UI\nosaurus serve    # Start the server\nosaurus status   # Check status\n```\n\n> Requires macOS 15.5+ and Apple Silicon.\n\n## Agents\n\nAgents are the core of Osaurus. Each one gets its own prompts, memory, and visual theme -- a research assistant, a coding partner, a file organizer, whatever you need. Tools and skills are automatically selected via RAG search based on the task at hand -- no manual configuration needed. Everything else in the harness exists to make agents smarter, faster, and more capable over time.\n\n### Agent Loop\n\nEvery chat is an agent loop. Pick a working folder and the agent gets file, search, and git tools. Toggle the sandbox and it gets shell access in an isolated Linux VM. The model writes a markdown todo list, executes against it, and closes out with a verified summary -- all in the same chat window. See the [Agent Loop Guide](docs\u002FAGENT_LOOP.md).\n\n### Sandbox\n\nAgents execute code in an isolated Linux VM powered by Apple's [Containerization](https:\u002F\u002Fdeveloper.apple.com\u002Fdocumentation\u002Fcontainerization) framework. Full dev environment -- shell, Python, Node.js, compilers, package managers -- with zero risk to your Mac.\n\nEach 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.\n\n```\n┌────────────────┐       ┌────────────────────────────┐\n│    Osaurus     │       │   Linux VM (Alpine)        │\n│                │       │                            │\n│  Sandbox Mgr ──┼───────┤→ \u002Fworkspace  (VirtioFS)    │\n│  Host API   ←──┼─vsock─┤→ osaurus-host bridge       │\n│                │       │                            │\n│                │       │  agent-alice  (Linux user) │\n│                │       │  agent-bob    (Linux user) │\n└────────────────┘       └────────────────────────────┘\n```\n\n> Requires macOS 26+ (Tahoe). See the [Sandbox Guide](docs\u002FSANDBOX.md) for configuration, built-in tools, and plugin authoring.\n\n### Memory\n\nThree layers -- identity, pinned facts, and per-session episodes -- plus a transcript fallback. Agents distill conversations once at session end (not on every turn), score what matters by salience, and surface at most one compact slice per request based on what you're actually asking. A background consolidator decays, merges, and evicts so memory stays sharp instead of bloating. Most turns inject ~800 tokens or less; many inject zero. See the [Memory Guide](docs\u002FMEMORY.md).\n\n### Identity\n\nEvery 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](docs\u002FIDENTITY.md).\n\n### Relay\n\nExpose 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.\n\n## Models\n\nThe harness is model-agnostic. Swap freely -- your agents, memory, and tools stay intact.\n\n### Local\n\nRun Gemma 4, Qwen3.6, GPT-OSS, Llama, and more on Apple Silicon with optimized MLX inference. Osaurus maintains its own [optimized model library on Hugging Face](https:\u002F\u002Fhuggingface.co\u002FOsaurusAI) with curated quantizations for the best quality-to-size ratio on Apple Silicon. Models stored at `~\u002FMLXModels` (override with `OSU_MODELS_DIR`). Fully private, fully offline.\n\n### Liquid Foundation Models\n\nOsaurus supports [Liquid AI's LFM](https:\u002F\u002Fwww.liquid.ai\u002Fmodels) 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.\n\n### Apple Foundation Models\n\nOn 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.\n\n### Cloud\n\nConnect to OpenAI, Anthropic, Gemini, xAI\u002FGrok, [Venice AI](https:\u002F\u002Fvenice.ai), OpenRouter, Ollama, or LM Studio. Venice provides uncensored, privacy-focused inference with no data retention. Context and memory persist across all providers.\n\n## MCP\n\nOsaurus is a full MCP (Model Context Protocol) server. Give any MCP-compatible client access to your tools:\n\n```json\n{\n  \"mcpServers\": {\n    \"osaurus\": {\n      \"command\": \"osaurus\",\n      \"args\": [\"mcp\"]\n    }\n  }\n}\n```\n\nAlso an MCP client -- aggregate tools from remote MCP servers into Osaurus. See the [Remote MCP Providers Guide](docs\u002FREMOTE_MCP_PROVIDERS.md) for details.\n\n## Tools & Plugins\n\n```bash\nosaurus tools install osaurus.browser    # Install from registry\nosaurus tools list                       # List installed\nosaurus tools create MyPlugin --swift    # Create a plugin\nosaurus tools dev com.acme.my-plugin     # Dev with hot reload\n```\n\n20+ 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](docs\u002FPLUGIN_AUTHORING.md).\n\n## More\n\n**Skills & Methods** -- Skills import reusable AI capabilities from GitHub repos or files, compatible with [Agent Skills](https:\u002F\u002Fagentskills.io\u002F). Methods are learned workflows that agents save and reuse over time. Both are automatically selected via RAG search -- no manual configuration needed. See [Skills Guide](docs\u002FSKILLS.md).\n\n**Automation** -- Schedules run recurring tasks in the background. Watchers monitor folders and trigger agents on file changes.\n\n**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](docs\u002FVOICE_INPUT.md).\n\n**Developer Tools** -- Server explorer, MCP tool inspector, inference monitoring, plugin debugging. See [Developer Tools Guide](docs\u002FDEVELOPER_TOOLS.md). For the inference scheduler, model leases, continuous-batching engine, and feature flags that tune them, see [Inference Runtime](docs\u002FINFERENCE_RUNTIME.md).\n\n## Compatible APIs\n\nDrop-in endpoints for existing tools:\n\n| API       | Endpoint                                      |\n| --------- | --------------------------------------------- |\n| OpenAI    | `http:\u002F\u002F127.0.0.1:1337\u002Fv1\u002Fchat\u002Fcompletions`   |\n| Anthropic | `http:\u002F\u002F127.0.0.1:1337\u002Fanthropic\u002Fv1\u002Fmessages` |\n| Ollama    | `http:\u002F\u002F127.0.0.1:1337\u002Fapi\u002Fchat`              |\n\nAll prefixes supported (`\u002Fv1`, `\u002Fapi`, `\u002Fv1\u002Fapi`). Full function calling with streaming tool call deltas. `\u002Fchat\u002Fcompletions` keeps **strict OpenAI semantics** -- it returns `tool_calls` and the client executes them, so Osaurus drops in cleanly behind harnesses that already manage their own tool loop. For server-side autonomous loops use `POST \u002Fagents\u002F{id}\u002Frun`; to expose Osaurus tools to remote MCP harnesses use `\u002Fmcp\u002Ftools` + `\u002Fmcp\u002Fcall`. See [OpenAI API Guide](docs\u002FOpenAI_API_GUIDE.md) for tool calling, streaming, and SDK examples. Building a macOS app that connects to Osaurus? See the [Shared Configuration Guide](docs\u002FSHARED_CONFIGURATION_GUIDE.md).\n\n## CLI\n\n```bash\nosaurus serve --port 1337              # Start on localhost\nosaurus serve --port 1337 --expose     # Expose on LAN\nosaurus ui                             # Open the chat UI\nosaurus status                         # Check status\nosaurus stop                           # Stop the server\n```\n\nHomebrew auto-links the CLI, or symlink manually:\n\n```bash\nln -sf \"\u002FApplications\u002FOsaurus.app\u002FContents\u002FMacOS\u002Fosaurus\" \"$(brew --prefix)\u002Fbin\u002Fosaurus\"\n```\n\n## Architecture\n\n```\n┌─────────────────────────────────────────────────────┐\n│                   The Harness                       │\n├──────────┬──────────┬────────────┬──────────────────┤\n│ Agents   │ Memory   │ Agent Loop │ Automation       │\n├──────────┴──────────┴────────────┴──────────────────┤\n│              MCP Server + Client                    │\n├──────────┬──────────┬───────────┬───────────────────┤\n│ MLX      │ OpenAI   │ Anthropic │ Ollama \u002F Others   │\n│ Runtime  │ API      │ API       │                   │\n├──────────┴──────────┴───────────┴───────────────────┤\n│      Plugin System (v1 \u002F v2 ABI) · Native Plugins   │\n├──────────┬──────────┬───────────┬───────────────────┤\n│ Identity │ Relay    │ Tools     │ Skills · Methods  │\n├──────────┴──────────┴───────────┴───────────────────┤\n│  Sandbox VM (Alpine · Apple Containerization)       │\n│  vsock bridge · VirtioFS · per-agent isolation      │\n└─────────────────────────────────────────────────────┘\n```\n\nMost features are accessible through the Management window (`⌘ ⇧ M`).\n\n## Build from Source\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fosaurus-ai\u002Fosaurus.git\ncd osaurus\nopen osaurus.xcworkspace\n```\n\nBuild and run the `osaurus` target. Requires Xcode 16+ and macOS 15.5+.\n\n### Git Hooks (lefthook)\n\nInstall [lefthook](https:\u002F\u002Fgithub.com\u002Fevilmartians\u002Flefthook) to set up the hooks that verify quality of the code:\n\n```bash\nbrew install lefthook\nlefthook install\n```\n\nThis installs a `pre-push` hook that runs `swift-format` over the `Packages\u002F` directory before each push.\n\n## Project Structure\n\n```\nosaurus\u002F\n├── App\u002F                          # macOS app target (SwiftUI entry point, assets, entitlements)\n├── Packages\u002F\n│   ├── OsaurusCore\u002F              # Core library — all app logic\n│   │   ├── Models\u002F               # Data types, DTOs, configuration stores\n│   │   ├── Services\u002F             # Business logic (actors and stateless types)\n│   │   ├── Managers\u002F             # UI-facing state holders (@MainActor, observable)\n│   │   ├── Views\u002F                # SwiftUI views, organized by feature\n│   │   ├── Networking\u002F           # HTTP server, routing, relay\n│   │   ├── Storage\u002F              # SQLite databases\n│   │   ├── Identity\u002F             # Cryptographic identity and access keys\n│   │   ├── Tools\u002F                # MCP tools, plugin ABI, tool registry\n│   │   ├── Folder\u002F               # Working-folder context, file ops, batch tool\n│   │   ├── Utils\u002F                # Cross-cutting utilities\n│   │   └── Tests\u002F                # Unit and integration tests\n│   ├── OsaurusCLI\u002F               # CLI (osaurus command)\n│   └── OsaurusRepository\u002F        # Plugin registry and installation\n├── docs\u002F                         # Feature guides and documentation\n├── scripts\u002F                      # Build, release, and benchmark scripts\n├── sandbox\u002F                      # Sandbox VM Dockerfile\n└── assets\u002F                       # DMG packaging assets\n```\n\nSee [CONTRIBUTING.md](docs\u002FCONTRIBUTING.md) for the architecture guide and layer definitions.\n\n## Contributing\n\nOsaurus is actively developed and we welcome contributions: bug fixes, new plugins, documentation, UI\u002FUX improvements, and testing.\n\nCheck out [Good First Issues](https:\u002F\u002Fgithub.com\u002Fosaurus-ai\u002Fosaurus\u002Fissues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22), read the [Contributing Guide](CONTRIBUTING.md), or join [Discord](https:\u002F\u002Fdiscord.gg\u002Fosaurus). See [docs\u002FFEATURES.md](docs\u002FFEATURES.md) for the full feature inventory.\n\n## Community\n\n- [Discord](https:\u002F\u002Fdiscord.gg\u002Fosaurus) -- chat, feedback, show-and-tell\n- [Twitter](https:\u002F\u002Fx.com\u002FOsaurusAI) -- updates and demos\n- [Hugging Face](https:\u002F\u002Fhuggingface.co\u002FOsaurusAI) -- optimized models for Apple Silicon\n- [Community Calls](https:\u002F\u002Flu.ma\u002Fosaurus) -- bi-weekly, open to everyone\n- [Blog](https:\u002F\u002Fosaurus.ai\u002Fblog) -- long-form thinking on personal AI\n- [Docs](https:\u002F\u002Fdocs.osaurus.ai) -- guides and tutorials\n- [Plugin Registry](https:\u002F\u002Fgithub.com\u002Fosaurus-ai\u002Fosaurus-tools) -- browse and contribute tools\n\n## License\n\n[MIT](LICENSE)\n\n---\n\n\u003Cp align=\"center\">\n  Osaurus, Inc. · \u003Ca href=\"https:\u002F\u002Fosaurus.ai\">osaurus.ai\u003C\u002Fa>\n\u003C\u002Fp>\n","Osaurus 是一个专为 macOS 设计的 AI 代理管理工具，支持任何模型、持久化内存、自主执行和加密身份。项目采用 Swift 语言构建，完全离线运行且开源。其核心功能包括提供持续记忆能力的 AI 代理、自主代码执行以及跨平台的身份认证，能够兼容多种主流 AI 模型 API 如 OpenAI 和 Anthropic。特别适用于需要在本地环境中拥有高度个性化与隐私保护的 AI 应用场景，如个人助理、自动化任务处理等。",2,"2026-06-11 03:07:35","top_language"]