Ai! Jack!v2026.04.01-f12
← 홈GitHub 라이징

OpenSparX/MasterAgent

원문 보기
★ 37310 forksC++중국

AI 분석

•온디바이스 AI 에이전트용 C++ 커널 → 클라우드 의존 없는 실행 기반 구축 지향
•Qualcomm NPU에서 100ms 미만 지연을 내세우며 기기 내 실행과 데이터 통제에 집중하는 포지션
•Alpha 단계로 API가 불안정하며, 공개 빌드의 지원 범위와 지연 측정 조건 확인 필요

Build AI agents that run 100% on-device. Sub-100ms latency on Qualcomm NPU. Zero cloud dependency.

검증 정보

출처
github.com
피드
GitHub 라이징
수집/분석 기준
2026. 9. 8. 오전 9:00
원문 확인
원문 열기

본문

# 🌳 OAK — Open Agent Kernel

The Linux kernel for AI agents.

Build agents that run 100% on-device. No cloud. No latency. No data leaks.

构建 100% 端侧运行的 AI Agent。无云端依赖,无网络延迟,无数据泄露。

[](LICENSE)

[](https://github.com/OpenSparX/MasterAgent/actions)

[](#-supported-hardware)

⚠️ Status: Alpha — Core kernel is functional. APIs are unstable. Contributions welcome.
git clone https://github.com/OpenSparX/MasterAgent.git && cd MasterAgent
cmake -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build -j$(nproc)

[Quick Start](#-quick-start) · [Why OAK?](#-why-oak) · [Docs](#-documentation) · [中文文档](#中文)


## ⚡ 30-Second Demo

$ cmake -B build && cmake --build build -j$(nproc) && ctest --test-dir build

[100%] Built target bench_strategic
Test project /home/you/MasterAgent/build
    Start 1: test_integration_speculation
1/5 Test #1: test_integration_speculation .....   Passed    0.8 sec
    Start 2: test_orset
2/5 Test #2: test_orset .......................   Passed    0.4 sec
    Start 3: test_merkle
3/5 Test #3: test_merkle ......................   Passed    0.4 sec
    Start 4: test_embedding
4/5 Test #4: test_embedding ...................   Passed    0.4 sec
    Start 5: bench_strategic
5/5 Test #5: bench_strategic ..................   Passed    2.9 sec

100% tests passed, 0 tests failed out of 5

The OSS build compiles and tests the strategic features: speculative execution,

CRDT mesh sync, formal verification, and embedding search. The full CLI

(with model inference) requires the kernel runtime — see [Architecture](#-architecture).


## 🧠 Why OAK?

### ⚡ Sub-100ms

No network round-trip. 80% of requests resolve via pattern matching in microseconds. The other 20% run local LLM inference.

### 🔒 Private by Default

Data never leaves the device. No telemetry. No cloud calls. Encrypted-at-rest storage with device-bound keys.

### 🔋 NPU-Optimized

Develop on CPU anywhere. Deploy to Qualcomm NPU for 14× speedup at 3.5× less power. Same code, different backend.

### How OAK compares

OAKLangChainAutoGPTApple Intelligence
Runs 100% on-device✅❌❌✅
Open source✅✅✅❌
Crash recovery (WAL)✅❌❌❌
Formal verification✅❌❌❌
Multi-device mesh✅❌❌❌
Speculative execution✅❌❌❌
On-device learning✅❌❌❌
NPU acceleration✅❌❌✅
Latency (typical)87ms2-5s3-10s~200ms

## 🚀 Quick Start

### Build from Source

# Prerequisites: CMake 3.18+, C++17 compiler (GCC 9+, Clang 11+)
git clone https://github.com/OpenSparX/MasterAgent.git
cd MasterAgent
cmake -B build -DCMAKE_BUILD_TYPE=Release \
      -DMASTER_AGENT_BUILD_CLI=ON \
      -DMASTER_AGENT_BUILD_TESTS=ON
cmake --build build -j$(nproc)

# Run tests
ctest --test-dir build --output-on-failure

### Run with a Local Model (llama.cpp)

# The sparx CLI connects to any llama-server compatible endpoint.
# Start llama-server (install separately: https://github.com/ggml-org/llama.cpp)
llama-server -m your-model.gguf --port 8080

# Run the CLI
./build/cli/sparx run --endpoint 127.0.0.1:8080

### Run in Deterministic-Only Mode (No Model Needed)

# Deterministic skills respond without any model loaded
./build/cli/sparx demo automotive
💡 Most intent routing works without a model — only open-ended queries need LLM inference.

## 📦 What's Open Source

OAK uses an open-core model. This repository contains:

ComponentStatusLOC
Speculative Execution (LSTM + HNSW)✅ Full source2,565
Formal Plan Verification (CDCL SAT)✅ Full source3,656
Agent Mesh (mDNS + CRDT + Merkle)✅ Full source4,875
On-Device Learning (DP-SGD)✅ Full source1,800+
Constrained Decoding (GBNF)✅ Full source1,200+
llama.cpp Model Runtime✅ Full source527
Agent Scheduler✅ Full source600+
Kernel Interfaces (headers)✅ Public API—
Kernel Runtime (orchestrator, WAL, dispatch)❌ Proprietary—

The proprietary kernel runtime handles task orchestration, WAL recovery, and agent dispatch. The strategic feature modules (the algorithmic innovations) are fully open and independently testable.

We're working toward open-sourcing the kernel runtime. Track progress in [#1](https://github.com/OpenSparX/MasterAgent/issues/1).


## 🏗️ Architecture

┌─────────────────────────────────────────────────────────────────┐
│                         User Input                               │
└──────────────────────────────┬──────────────────────────────────┘
                               ▼
┌──────────────────────────────────────────────────────────────────┐
│  Preprocessing: UTF-8 normalize → parameter extract → memory     │
└──────────────────────────────┬───────────────────────────────────┘
                               ▼

관련 아이템

OpenSparX/MasterAgent — Ai! Jack! — Ai! Jack!