Oboto

Oboto

Your AI-Powered Everything Assistant

Download Platform License

--- **Oboto** is an advanced AI assistant built to make you more productive, efficient, and successful โ€” across every domain. From software engineering and project management to research, automation, and creative work, Oboto combines a persistent cognitive architecture with deep system integration to act as your tireless partner in getting things done. ## ๐Ÿ“ฅ Download | Platform | Download | Notes | |----------|----------|-------| | **macOS** (Apple Silicon) | [Oboto-1.2.0-arm64.dmg](https://github.com/sschepis/oboto/releases/latest) | Code-signed, requires macOS 10.12+ | | **macOS** (zip) | [Oboto-1.2.0-arm64-mac.zip](https://github.com/sschepis/oboto/releases/latest) | Portable zip archive | | **Windows** | [Build via GitHub Actions](https://github.com/sschepis/oboto/actions/workflows/build-windows.yml) | NSIS installer + portable exe | ## ๐Ÿš€ Key Features ### Core Architecture * **๐Ÿค– Multi-Agent Architecture** โ€” Multiple parallel conversations per workspace, background tasks, recurring schedules, and an autonomous agent loop. Conversations share workspace memory and report findings back to a central command. See [Multi-Agent Architecture](docs/architecture/multi-agent.md). * **๐Ÿง  Consciousness Processor** โ€” Simulates an "inner life" with state persistence, ambiguity resolution (Semantic Collapse), and embodied cognition (Somatic Engine) for more coherent reasoning. * **๐Ÿ—๏ธ Structured Development** โ€” Enforces architectural discipline via a "Living Manifest" (`SYSTEM_MAP.md`), ensuring code changes align with global invariants and design phases. ### AI Provider Support * **Multi-Provider** โ€” Switch seamlessly between OpenAI, Google Gemini, Anthropic Claude, Google Vertex AI (Claude on GCP), local LLM Studio, and in-browser WebLLM models. * **Model Routing** โ€” Route specific task types (agentic, reasoning, summarization, code completion) to different models for cost/quality optimization. * **Auto-Detection** โ€” Provider is inferred automatically from the model name or can be set explicitly. ### Integrations * **๐Ÿ”Œ OpenClaw** โ€” Delegate tasks to external agents for cross-system coordination. * **๐Ÿ”Œ MCP Support** โ€” Connect to any Model Context Protocol server for dynamic tool extension. * **โ˜๏ธ Cloud Sync** โ€” Real-time cloud synchronization for conversations, files, and workspaces with presence indicators and multi-device support. ### User Interface * **๐Ÿ–ฅ๏ธ Generative UI (Surfaces)** โ€” Spawn dynamic React dashboards on the fly to visualize data or create custom control panels. Surfaces run in a **strict sandbox** by default, with `fetch` restricted to `localhost` to prevent data exfiltration (configurable via `.oboto.json`). * **๐Ÿ• Chronological UI Rendering** โ€” Tool calls are now interleaved with text exactly as streamed by the model, improving readability of long reasoning chains. * **โ“ Integrated Help System** โ€” Contextual help tooltips, searchable help panel, guided tours, feature spotlights, smart suggestions, and "What Is This?" mode for exploring the interface. * **๐Ÿง™ Setup Wizard** โ€” Guided first-run onboarding that walks through provider selection, API key configuration, workspace setup, and optional OpenClaw integration. * **๐ŸŽจ UI Themes** โ€” Customizable themes with live preview and theme editor. * **โŒจ๏ธ Keyboard Shortcuts** โ€” Global command palette (`Cmd+K`), keyboard shortcuts reference, and guake-style terminal. ### Desktop & Browser * **๐Ÿ–ฅ๏ธ System Tray App** โ€” Electron-based tray application for running Oboto as a persistent background service with workspace management and auto-start on login. * **๐ŸŒ Chrome Extension** โ€” Full browser automation and control via a Chrome extension that connects to the Oboto server over WebSocket. ### Workspace & Server * **๐ŸŒ Workspace Content Server** โ€” Each workspace automatically spins up a local HTTP server on a dynamic port, serving static files from `public/`. **Dynamic Routes** (executing JS handlers from `routes/`, `.routes/`, or `api/`) and **Background Tasks** are enabled by default. Opt out via `OBOTO_DYNAMIC_ROUTES=false` / `OBOTO_BACKGROUND_TASKS=false` or `.oboto.json`. All requests are logged to `server.log`. * **๐Ÿ’พ Conversation Autosave** โ€” Chat history is automatically saved on every turn with robust lock mechanisms to prevent corruption. * **๐Ÿ”„ Skill Promotion** โ€” Promote workspace-specific skills to the global skills directory with `promoteSkill(name)` so they can be reused across all workspaces. ### Reliability * **๐Ÿ›ก๏ธ Agent Loop Reliability** โ€” Improved "doom loop" detection (counting iterations, not individual batched tool calls) and robust handling of cancelled requests to prevent Anthropic API 400 errors. ### Developer Features * **๐Ÿ“ฆ Library API** โ€” Embeddable as an npm package (`@sschepis/oboto`) with a programmatic API for task execution, streaming, design-and-implement workflows, and custom tool registration. * **๐Ÿ” Secrets Vault** โ€” AES-256-GCM encrypted secrets storage for API keys and credentials, managed through the UI or CLI. ## ๐Ÿ”Œ Plugin Ecosystem Oboto ships with 30 built-in plugins, each extending capabilities in a specific domain: | Plugin | Description | |--------|-------------| | **browser** | Puppeteer-based browser automation | | **canvas-viz** | Canvas-based data visualization | | **chrome-ext** | Chrome extension integration | | **code-interpreter** | Sandboxed code execution environment | | **document-reader** | PDF, DOCX, and document parsing | | **embed** | Vector embedding operations | | **firecrawl** | Web scraping and crawling | | **hello-world** | Plugin development template | | **html-artifacts** | HTML artifact rendering | | **image** | AI-powered image generation and manipulation | | **knowledge-graph** | Semantic knowledge graph with memory fields | | **logger** | Structured logging | | **math** | Wolfram-style computation via mathjs | | **math-anim** | Animated mathematical explanations using a Manim-inspired DSL | | **note-taker** | Note capture and organization | | **notification-center** | System notifications | | **openclaw** | External agent task delegation | | **personas** | Agent personality management | | **poorman-alpha** | Symbolic math via SymPy bridge | | **prompt-editor** | System prompt editor | | **secure-backup** | Encrypted workspace backups | | **semantic-search** | Semantic document search | | **temporal-voyager** | Conversation time-travel | | **thought-stream-debugger** | Agent reasoning debugger | | **tts** | Text-to-speech (ElevenLabs, OpenAI) | | **ui-themes** | Theme management and editor | | **voice-suite** | Voice input/output providers | | **web-search** | Web search via Serper API | | **workflow-weaver** | Visual workflow builder | | **workflows** | Multi-step workflow automation | ## ๐Ÿ› ๏ธ Tool Categories | Category | Tools | Description | |----------|-------|-------------| | **File Operations** | read, write, search, diff | File CRUD with safety guards | | **Shell** | execute | Sandboxed command execution | | **Browser** | navigate, click, type, screenshot | Puppeteer-based browser automation | | **Chrome Extension** | tabs, DOM, CDP, cookies | Full Chrome browser control via extension | | **Desktop** | mouse, keyboard, screen | Native desktop automation via nut.js | | **Image** | generate, edit, analyze | AI-powered image generation and manipulation | | **Math** | evaluate, symbolic | Wolfram-style computation via mathjs | | **Web** | fetch, search | Web requests and search via Serper | | **Structured Dev** | manifest, flow, bootstrap | Project scaffolding and architecture | | **MCP** | connect, call | Model Context Protocol server integration | | **OpenClaw** | delegate, status | External agent task delegation | | **Workflows** | create, run, schedule | Multi-step workflow automation | | **Surfaces** | create, update, delete | Dynamic React dashboard generation | | **Async Tasks** | spawn, status, cancel | Background task management | | **Personas** | set, list, create | Agent personality management | | **Skills** | install, list, invoke, promote | Modular skill system with global promotion | | **Content Server** | static serve, dynamic routes | Per-workspace HTTP server for static & JS routes | | **Embeddings** | embed, search | Vector embedding operations | | **TTS** | speak | Text-to-speech via ElevenLabs/OpenAI | ## ๐Ÿ“š Documentation Detailed documentation is available in the [`docs/`](docs/) directory: * [**System Overview**](docs/architecture/overview.md) โ€” High-level architecture, components, and data flow * [**Multi-Agent Architecture**](docs/architecture/multi-agent.md) โ€” Parallel conversations, background tasks, agent loop * [**Consciousness Architecture**](docs/architecture/consciousness.md) โ€” Inference engine, somatic state, symbolic continuity * [**Structured Development Guide**](docs/architecture/structured-dev.md) โ€” Manifest-driven development workflow * [**Integrations (OpenClaw & MCP)**](docs/architecture/integrations.md) โ€” External agent delegation and MCP servers * [**Skills System**](docs/architecture/skills.md) โ€” Extending the agent with modular skills * [**Service & Tray App Design**](docs/architecture/service-tray-design.md) โ€” Background service and system tray architecture * [**Setup Wizard Design**](docs/architecture/setup-wizard-design.md) โ€” First-run configuration wizard * [**Integrated Help System**](docs/integrated-help-system-design.md) โ€” Contextual help, tours, and smart suggestions * [**First-Run Wizard Strategy**](docs/first-run-wizard-strategy.md) โ€” Onboarding flow design * [**Cloud AI Provider Design**](docs/oboto-cloud-ai-provider-design.md) โ€” Cloud sync and multi-device architecture * [**Skills Settings Tab**](docs/architecture/skills-settings-tab.md) โ€” Managing skills from the UI * [**Project Management**](docs/architecture/project-management.md) โ€” Phase controller, task scheduler, and template registry * [**Tools Reference**](docs/guides/tools.md) โ€” Complete list of available tools and commands * [**UI Surfaces Guide**](docs/guides/ui-surfaces.md) โ€” Dynamic dashboards and UI components * [**Surface Components**](docs/guides/surface-components.md) โ€” Reusable surface-kit UI primitives reference * [**Setup & Installation**](docs/guides/setup.md) โ€” Detailed installation instructions * [**Library API Reference**](src/lib/README.md) โ€” Programmatic API for embedding Oboto * [**Changelog**](CHANGELOG.md) โ€” Version history and release notes ## โšก Quick Start ### Prerequisites * Node.js v18+ * npm & pnpm * Google Chrome (for browser automation) ### Install via npm (Recommended) ```bash npm install -g @sschepis/oboto ``` After installation, two binaries are available on your PATH: | Command | Description | |---------|-------------| | `oboto` | CLI โ€” interactive mode, single-shot prompts, or `--server` flag | | `oboto-server` | Start the web server with UI directly | ### From Source 1. **Clone & Install** ```bash git clone https://github.com/sschepis/oboto.git cd oboto npm install ``` 2. **Build UI** ```bash cd ui pnpm install pnpm run build cd .. ``` 3. **Configure** ```bash cp .env.example .env # Edit .env with your API keys (Google Gemini, Anthropic, OpenAI) ``` ### Running Oboto **Server Mode (Agent + Web UI)** ```bash # Via the installed binary: oboto-server # Or via npm scripts: npm run start:server ``` Access the UI at `http://localhost:3000`. For development with hot-reloading UI: ```bash # Terminal 1: Start the backend npm run start:server # Terminal 2: Start the Vite dev server npm run dev:ui ``` Access the dev UI at `http://localhost:5173`. **CLI Mode** ```bash # Interactive mode oboto # Single-shot mode oboto "Create a REST API for user management" # Or via npm npm start ``` **System Tray App (Background Service)** ```bash npm run tray:install npm run tray ``` ### Building from Source **macOS DMG:** ```bash npm run tray:build:mac # Output: tray-app/dist/Oboto-1.2.0-arm64.dmg ``` **Windows Installer:** ```bash # Requires Wine on macOS, or run on Windows / via GitHub Actions npm run tray:build:win ``` Or trigger the [Windows build workflow](https://github.com/sschepis/oboto/actions/workflows/build-windows.yml) on GitHub Actions. ## ๐Ÿ—๏ธ Project Structure ``` oboto/ โ”œโ”€โ”€ ai.mjs # CLI entry point (interactive, single-shot, --server) โ”œโ”€โ”€ bin/ โ”‚ โ””โ”€โ”€ oboto-server.mjs # Server binary (installed to PATH via npm) โ”œโ”€โ”€ src/ # Backend source โ”‚ โ”œโ”€โ”€ core/ # Agent loop, AI provider, conversation, consciousness โ”‚ โ”œโ”€โ”€ server/ # Express + WebSocket server, WS handlers โ”‚ โ”œโ”€โ”€ execution/ # Tool executor and handler modules โ”‚ โ”œโ”€โ”€ structured-dev/ # Manifest, flow manager, bootstrapper, visualizers โ”‚ โ”œโ”€โ”€ reasoning/ # Fact inference, semantic collapse โ”‚ โ”œโ”€โ”€ cloud/ # Cloud sync, auth, realtime, conversation/file/workspace sync โ”‚ โ”œโ”€โ”€ skills/ # Skills manager โ”‚ โ”œโ”€โ”€ plugins/ # Plugin API, loader, manager, settings, storage โ”‚ โ”œโ”€โ”€ surfaces/ # Dynamic UI surface manager โ”‚ โ”œโ”€โ”€ lib/ # Embeddable library API (npm package entry point) โ”‚ โ”‚ โ”œโ”€โ”€ index.mjs # Main export: AiMan, Oboto, adapters, modules โ”‚ โ”‚ โ””โ”€โ”€ interfaces.d.ts # TypeScript type declarations โ”‚ โ””โ”€โ”€ ui/ # Console styler, generative UI renderer โ”œโ”€โ”€ ui/ # React + Vite frontend โ”‚ โ””โ”€โ”€ src/ โ”‚ โ”œโ”€โ”€ components/ # Chat, layout, features (60+ components) โ”‚ โ”‚ โ”œโ”€โ”€ features/ # Settings, plugins, surfaces, wizard, etc. โ”‚ โ”‚ โ”œโ”€โ”€ help/ # Help system (tours, tooltips, articles, search) โ”‚ โ”‚ โ””โ”€โ”€ ... โ”‚ โ”œโ”€โ”€ hooks/ # React hooks for state management โ”‚ โ”œโ”€โ”€ services/ # WebSocket service layer โ”‚ โ””โ”€โ”€ surface-kit/ # Reusable UI primitives (charts, data, feedback, overlay) โ”œโ”€โ”€ plugins/ # 30 built-in plugins (shipped with npm package) โ”œโ”€โ”€ tray-app/ # Electron system tray application โ”œโ”€โ”€ chrome-extension/ # Chrome browser controller extension โ”œโ”€โ”€ skills/ # Modular skill definitions (SKILL.md) โ”œโ”€โ”€ docs/ # Architecture and guide documentation โ”œโ”€โ”€ .github/workflows/ # CI/CD workflows (Windows build) โ””โ”€โ”€ themes.json # UI theme definitions ``` ## ๐Ÿง  The "Consciousness" Oboto features a unique cognitive architecture: * **Fact Inference Engine** โ€” Learns and deduces new facts from conversation context. * **Symbolic Continuity** โ€” Maintains a cryptographic "identity thread" across sessions, with optional Chinese Room Mode for encrypted private symbolic space. * **Somatic Engine** โ€” Simulates nervous system states (Focus, Stress, Rest) to modulate creativity and caution. * **Archetype Analyzer** โ€” Analyzes interaction patterns and adapts persona behavior. * **Persona Manager** โ€” Manages customizable agent personalities and behavioral archetypes. * **Semantic Collapse** โ€” Resolves ambiguity by collapsing probability distributions to concrete decisions. ## ๐Ÿ“ฆ Library Usage Oboto can be embedded as a library in your own Node.js applications: ```bash npm install @sschepis/oboto ``` ### Basic Usage ```javascript import { AiMan } from '@sschepis/oboto'; const ai = new AiMan({ workingDir: process.cwd() }); // Execute a task const result = await ai.execute('Create a REST API for user management'); // Design then implement const { design, result: impl } = await ai.designAndImplement('Add authentication middleware'); // Stream responses await ai.executeStream('Refactor the database layer', (chunk) => { process.stdout.write(chunk); }); // Register custom tools ai.registerTool(schema, handler); ``` ### Subpath Imports The package provides several subpath imports for granular access: ```javascript // Main library entry โ€” AiMan, Oboto, adapters, structured dev modules import { AiMan, Oboto, config } from '@sschepis/oboto'; // Adapters only โ€” for custom LLM/status/memory implementations import { ConsoleStatusAdapter, NetworkLLMAdapter, MemoryAdapter } from '@sschepis/oboto/adapters'; // Programmatic server โ€” create an Express server with the AiMan API import { createServer } from '@sschepis/oboto/server'; const app = createServer({ workingDir: process.cwd() }); app.listen(3000); // Plugin system โ€” manage plugins programmatically import { PluginManager, PluginLoader } from '@sschepis/oboto/plugins'; ``` ### Programmatic Server You can create a standalone API server programmatically: ```javascript import { createServer } from '@sschepis/oboto/server'; const app = createServer({ workingDir: '/path/to/workspace' }); app.listen(3000, () => console.log('Oboto API running on port 3000')); // POST /api/execute โ€” Execute a task // POST /api/execute/stream โ€” Stream a task (SSE) // POST /api/design โ€” Generate a design document // POST /api/implement โ€” Implement a design ``` See the full [Library API Reference](src/lib/README.md) for details. ## ๐ŸŒ Chrome Extension The Chrome extension enables full browser automation: 1. Navigate to `chrome://extensions` and enable Developer mode 2. Click "Load unpacked" and select the `chrome-extension/` directory 3. Start the Oboto server โ€” the extension auto-connects via WebSocket Features include tab management, DOM interaction, CDP debugging, cookie/storage access, and real-time event streaming. See [Chrome Extension README](chrome-extension/README.md). ## โš™๏ธ Configuration ### Environment Variables Key configuration options in `.env`: | Variable | Default | Description | |----------|---------|-------------| | `AI_MODEL` | `gpt-4o` | AI model to use | | `AI_PROVIDER` | auto-detect | Provider: `openai`, `gemini`, `anthropic`, `lmstudio`, `cloud`, `webllm` | | `AI_TEMPERATURE` | `0.7` | Response creativity | | `AI_MAX_TOKENS` | `4096` | Max response tokens | | `AI_MAX_TURNS` | `100` | Max conversation turns per execution | | `OBOTO_DYNAMIC_ROUTES` | `true` | Enable dynamic JS route execution in the workspace content server. Set to `false` to disable. | | `OBOTO_BACKGROUND_TASKS` | `true` | Enable background task spawning. Set to `false` to disable. | ### Workspace Configuration (`.oboto.json`) Place a `.oboto.json` file in any workspace root to customize per-workspace behavior. Both dynamic routes and background tasks are **enabled by default**; use this file to disable them for specific workspaces: ```json { "dynamicRoutes": { "enabled": false }, "backgroundTasks": { "enabled": false }, "surface": { "sandboxMode": "strict" } } ``` | Key | Values | Default | Description | |-----|--------|---------|-------------| | `dynamicRoutes.enabled` | `true` / `false` | `true` | Allow executing JS route handlers from `routes/`, `.routes/`, or `api/`. Set to `false` to disable. | | `backgroundTasks.enabled` | `true` / `false` | `true` | Allow spawning background AI tasks. Set to `false` to disable. | | `surface.sandboxMode` | `"strict"` / `"permissive"` | `"strict"` | `strict` restricts surface `fetch` to localhost; `permissive` allows any origin | ### Model Routing Route specific task types to different models for cost/quality optimization: ```env ROUTE_AGENTIC=gemini-2.5-flash ROUTE_REASONING_HIGH=gemini-2.5-pro ROUTE_REASONING_MEDIUM=gemini-2.5-flash ROUTE_REASONING_LOW=gemini-2.0-flash ROUTE_SUMMARIZER=gemini-2.0-flash ROUTE_CODE_COMPLETION=gemini-2.0-flash ``` ### Secrets Vault API keys can be managed through the Secrets Vault UI (`Cmd+K โ†’ "Secrets Vault"`). Secrets are AES-256-GCM encrypted at rest in `.secrets.enc`. Priority: Shell env vars > Vault secrets > `.env` file > defaults. ## ๐Ÿงช Testing ```bash npm test ``` Tests use Jest with `--experimental-vm-modules` for ESM support. Test files are located alongside source in `__tests__/` directories. ## ๐Ÿค Contributing We welcome contributions! Please see the [Structured Development Guide](docs/architecture/structured-dev.md) to understand how we use the `SYSTEM_MAP.md` to manage features. ## ๐Ÿ“„ License MIT