Skip to content

Repository files navigation

uCore — Unified Development OS

PythonTypeScriptLicenseTests

uCore is a local-first, AI-powered development daemon that unifies syntax, automation, and runtime management.

Port: 8484 | Stack: Python 3.12 + aiohttp + SQLite + Vue 3 + TypeScript

Quick Start

First Time on macOS (Fresh System)

curl -fsSL https://raw.githubusercontent.com/uDosGo/uCore/main/scripts/bootstrap.sh | bash

This installs Homebrew, Python 3.12, Node.js 22, pnpm, clones uCore, and starts everything.

The installer also validates and syncs locked vendor modules for a consistent uDos experience (SnackMachine core, udos-agents, udos-budget, udos-identity).

Already Have Prerequisites

git clone https://github.com/uDosGo/uCore.git
cd uCore
./scripts/setup.sh

Vendor Module Lock (Deterministic)

# Refresh lock metadata from vendor/sources.yaml and validate
./scripts/vendor_sync.sh --refresh-lock --check
# Install locked Python vendor modulessource .venv/bin/activate
./scripts/vendor_sync.sh --install-python --check

Verify

curl http://localhost:8484/api/health
# Look for 🍿 in the macOS menu bar# Frontend: http://localhost:5175

Uninstall

./scripts/install.sh --uninstall

Manual Smoke Workflow (GitHub Actions)

uCore includes a manual workflow for SnackMachine integration smoke:

  • Workflow name: SnackMachine Smoke
  • Workflow file: .github/workflows/snackmachine-smoke.yml
  • Trigger: Actions -> SnackMachine Smoke -> Run workflow

Inputs:

Self-hosted runner prerequisites:

  • uCore backend running and reachable at ucore_url
  • uCore frontend running and reachable at frontend_url
  • SnackMachine repo checked out at snackmachine_path
  • Python 3 available on runner PATH

What it runs:

  • bash scripts/smoke_snackmachine_integration.sh

Architecture

uCore is the host platform core. Optional capabilities — workflow, knowledge, and domain plugins — live in dedicated repos and plug in via a lightweight extension contract.

Codex (external development) → Git/GitHub → uCore (port 8484)
uCore guided agents → Ollama/OpenRouter/OpenAI APIs
│
├── Core shell (uCore host-only)
│ ├── Skills (15 built-in) — backup, sync, route, ask vault
│ ├── Secrets — AES-256-GCM encrypted store
│ ├── Chat — AI providers via OpenRouter/Ollama/Gemini
│ ├── Surfaces (10) — Dashboard, Assistant, Server, Developer,
│ │ System, Workflow, SnackMachine, BrowserUI,
│ │ Documentation, uCode
│ ├── Plates — Vault plates, surface templates (Cookiecutter)
│ ├── Hivemind — MCP orchestration, template verification, audit
│ ├── TOON Context Optimization — Token-optimized context encoding
│ └── Flow-LLM Router — Cost-optimized routing with analytics
│
├── Extension Registry (plugin contract)
│ ├── Discovery — scans for ucore-extension.json manifests
│ ├── Loading — imports and calls setup(app) on each extension
│ └── Routing — delegates /api/* prefixes to extensions
│
├── Adaptable (moving to dedicated repos)
│ ├── uFlow — workflow engine, runs, logs, task orchestration
│ └── uKnowledge — vault search, semantic search, indexing
│
└── Plugins (udos-* prefix)
└── HomeNest/modules/home-ops/udos-home — starter domain plugin module
→ Roundtable MCP → parallel Claude/Gemini/OpenRouter execution

Repositories

RepoKindPurposeLocation
uCorehost/corePlatform daemon + extension registry~/Code/uCore
uFlowworkflowWorkflow engine, runs, logs, tasks~/Code/uFlow
uKnowledgeknowledgeVault search, semantic search, indexing~/Code/uKnowledge
uCoderuntimeBase runtime and core grid/code foundation~/Code/uCode
uCode2runtimeAdvanced runtime layer (later extension)~/Code/uCode2
HomeNestplugin (udos)Home automation + app-layer runtime~/Code/HomeNest
uDocsdocsCanonical documentationGitHub

Editor Strategy

  • Dedicated third-party workspace sync inside uCore is deprecated.
  • Vault content should remain portable and work in standard editors such as Obsidian without uCore-specific lock-in.
  • Primary editing happens in the in-product Markdown editor for first-class document workflows.
  • Task flows should link to markdown specs/docs when deeper implementation details are required.

During the repo split, uCore keeps routing adapters (app.extensions.adapters/) as import bridges only. Missing required external repos must fail fast.

Surfaces (10)

SurfaceRouteDescription
Dashboard/Main landing, Dev Mode filtering
Intelligence/intelligenceChat, planning, models, agents, budget, and history
Snackbar/snackbarServices, feeds, skills, snacks, extensions, logs, and MCP
Developer/developerDeveloper tools
System/systemSystem settings
Workflow/workflowWorkflow builder
SnackMachine/snackbar?tab=snacksCore snack workspace (packaged snacks via SnackMachine extension)
BrowserUI/browseruiBrowser automation
Documentation/documentationDocs viewer
uCode/ucodeuCode runtime bridge: GridCore, GridSmith, teletext, terminal widgets

Documentation

Canonical docs live in uDocs:

SectionDescription
ArchitectureSystem topology, data flow, security
API ReferenceAll endpoints with examples
RunbooksSetup, deploy, backup, troubleshooting
SurfacesAll 12 surfaces
Agent ArchitectureGuided model routing and orchestration

Local docs in docs/ cover vault plates, USX layout, and system specs.

Key Endpoints

curl http://localhost:8484/api/health # Health check
curl http://localhost:8484/api/skills # 15 skills
curl http://localhost:8484/api/tools # 7 tools
curl http://localhost:8484/api/models # 4 providers
curl http://localhost:8484/api/secrets # Encrypted store
curl http://localhost:8484/api/mcp/tools # MCP tools
curl http://localhost:8484/api/knowledge/workspaces # Vault workspace bridge

Status

  • 301 backend tests — all passing
  • 0 TypeScript errors — clean build
  • 15 built-in skills — auto-discovered
  • 4 AI providers — Ollama, OpenRouter, Claude, Gemini
  • 12 surfaces — Vue 3 + USX layout system
  • Plates system — Vault plates, surface templates, destroy patterns

License

Apache 2.0 — see LICENSE.

About

uCore host/core daemon for the uDosGo ecosystem. Python aiohttp host runtime with extension registry, surface management, MCP bridge, snack orchestration, and GitHub automation.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages