An open-source AI OS fusing an AI Agent framework with a model-agnostic AI Orchestration system. Designed for modular reasoning, dynamic execution, and explainable intelligence workflows.
2
stars
239
commits
TypeScript
primary language
Sep 5, 2026
updated
An AI Operating System for Modular Reasoning and Runtime Intelligence
ArcAsha is not a model. It is an operating system that runs on top of neural models — it configures, controls, measures, and explains AI reasoning at the OS level.
Core research question: Can we compose, control, and measure intelligence at the OS level — and prove it reproducibly — rather than scaling the model alone?
Models (GPT / MoE) perform all reasoning inside the neural network — a black box.
ArcAsha moves reasoning outside the model:
Task → Compiler → AILSM IR → Kernel → Executive → Hypothesis → Search → Experts → Memory
Layer 3 Intelligence Attachments
Reflection / Debate / Planning / Search / Creativity / Simulation / Coding
Layer 2 Executive Runtime
Executive / Meta Executive / Expert Evolution / Intelligence Scheduler
Layer 1 Fast Runtime
Kernel / AVM / Expert Runtime / ODAR / Device Tree ← realtime, always fast
| Feature | Description |
|---|---|
| AVM | AI Virtual Memory — context as demand-paged virtual memory (real-API validated on long-context docs: 96.5% token reduction at 100% accuracy — the legacy 4.10x / −77% figure is a pre-separation measurement) |
| Executive / Meta Executive | Commands the search; learns its own policy from observed outcomes |
| Expert Evolution | Experts split / merge / retire by objective criteria (health, overlap, utilization) |
| Thinking Modes | Fast / Auto / Deep / Custom — same OS, different pipeline |
| Explainable | Decision Explanation (why this configuration), Decision Replay (step-by-step), OS Policy Learning (decisions become training data) |
| Validation | Simulation vs Real Device separated; external benchmarks: GSM8K / MATH500 / HumanEval / MBPP / MMLU / LiveCodeBench (the Qwen1.5B rows are pre-separation simulation; real-API validation → see Phase 4 below) |
# Install (after publishing) or run from repo
npm install arcasha
# Full benchmark suite (Simulation) + Decision Explanation + Real Device plan + reports/
arcasha benchmark
# "Why did the AI choose this?" — replay the decision process step by step
arcasha replay
# OS Policy Learning — decisions become training data for the Meta Executive
arcasha policy
Or run from the repo (workspace root — convenience scripts delegate to the core package):
npm run setup # npm install --prefix akasha-master
npm run selftest # AILSM 89 deterministic tests
npm run benchmark # full benchmark + reports/ (json/csv/md)
npm run arcasha -- benchmark
Or work directly in the core package:
cd akasha-master
npm install
npm run ailsm:selftest # 89 deterministic tests
npx tsx examples/quickstart.ts # 5-minute tour
This repository hosts two independent projects (boundaries clarified, git split pending):
| Project | Directory | Role |
|---|---|---|
| Akasha-Link | akasha-link/ | 分散推論 — edge (WebGPU) distributed inference / tensor transport engine. Zero-copy binary relay, WebGPU overhead reduction, 5G/Wi-Fi compression (planned). No cognition. |
| ArcAsha-Core / MetaOS | akasha-master/ | AI オーケストラ(異モデル AI 分散 MoE) — model-agnostic orchestration OS layer. Thinking modes, AVM paging, harnesses, Caravan cognitive loop. Any backend (MLX / OpenAI / Anthropic / WebGPU) is connectable. |
akasha-link/PROTOCOL.md は両プロジェクト間の共有ワイヤ契約です(48B ヘッダ + f32[] ペイロード)。
注意: 現行の client-web ワーカーは従来の 20 バイト層ヘッダ(txId + layerId)を使用しており、
PROTOCOL.md 形式への移行は別途追跡されます。
akasha-master/ Project B: ArcAsha-Core / MetaOS (TypeScript / AILSA / AILSM / Kernel / AVM / Executive / Attachments / Caravan)
akasha-link/ Project A: Akasha-Link (distributed inference / tensor transport)
├── client-web/ Web client (WebGPU inference)
├── kernel-native/ Native kernel prototype (Rust: GPU compute / QUIC / TCP / memory pool)
└── PROTOCOL.md Akasha Wire Protocol (48B header + f32[] payload — the shared contract)
examples/ Attachment examples (code / math)
.github/ Issue templates + CI workflow
AI_*.md Specifications (ArcAsha-Core, see below)
| Doc | Contents |
|---|---|
INNOVATIONS.md | 革新技術まとめ(AI OS / AILSA・AILSM / AVM / Reasoning / Executive / Attachment / Cognitive Graph / Belief-Driven / Akasha-Link を一覧) |
MASTER_SPEC.md | Full architecture vision |
ARCASHA_V2_SPEC.md | v2 design spec (v0.36) |
AI_REASONING.md | Hypothesis SSA / Reasoning Graph / Executive / Meta Executive / Expert Evolution |
ARCHITECTURE.md | 全体アーキテクチャ(Linux との対比 / 3 層 + メモリ / 研究ロードマップ) |
AI_COGNITIVE.md | Composable Intelligence Runtime(タスクごとの動的配線 / 共有メモリ + IR / Team Learning / Knowledge Oasis) |
AI_IR_MODEL.md | IR とモデルの関係(IR は OS の内部バス / モデルは IR を知らない / 蒸留・IR ネイティブ化) |
AI_ATTACHMENTS.md | Attachment plugin layer / Thinking Modes |
AI_VALIDATION.md | Scientific validation (Simulation vs Real Device) / Decision Explanation / Replay / Policy Learning |
AI_VIRTUAL_MEMORY.md | AVM |
PAPER_OUTLINE.md | Paper: "ArcAsha: An Explainable Runtime for AI Intelligence" |
CHANGELOG.md | Release history (v1.0 / v1.1) |
Phase 4 validates each component with real API calls (deepseek-v4-flash, measured, no fabricated numbers), comparing configurations on the same tasks and model. Full data: akasha-master/reports/ablation/.
| Config | Accuracy | Avg latency | Avg tokens |
|---|---|---|---|
| ① Baseline LLM | 98% | 1297ms | 161 |
| ② +AVM | 99% | 1256ms | 186 |
| ③ +Executive | 98% | 1334ms | 163 |
| ④ Full ArcAsha | 100% | 1442ms | 187 |
akasha-master/reports/ablation/ablation.md (authoritative). akasha-master/reports/ablation/ablation-quick.md is a pre-separation quick measurement (12 tasks)| Config | Accuracy | Avg input tokens |
|---|---|---|
| Model alone (no doc) | 0% | 98 |
| AVM OFF (full context) | 100% | 8382 |
| AVM ON (relevant pages only) | 100% | 290 |
akasha-master/reports/ablation-long/)forceDelegate (12% of tasks made a second empty/duplicate call) → fixedakasha-master/reports/ablation-exec/)ArcAsha's software-engineering agent (akasha-master/src/arcasha/swe/) solved real SWE-bench Lite instances with real API calls (deepseek-v4-flash, temperature=0). Details: akasha-master/README.md.
24213 (dimension equivalence), 23117 (Array([])), 24152 (TensorProduct.expand)test_patch is applied at eval time)akasha-master/reports/swebench/swebench-results.json)To quantify what the agent/tool layer adds, we compared a plain deepseek-v4-flash call (issue + file excerpt, one-shot unified diff) against the arcasha agent on the same instance sympy__sympy-24213. Real API measurements; details: akasha-master/reports/swebench/compare-deepseek-vs-arcasha.md.
git apply failed every trial (43,184 tokens / $0.027 off-peak / 267 s)edit_file, so the diff is generated by git (no hand-written hunk math) → always applicable (741,409 tokens / $0.170 off-peak / 127 s)ArcAsha is not "a bigger model". It is:
An experimental platform to compose, control, and measure AI intelligence at the OS level — reproducibly.
The most novel point: the OS can explain why Reflection / Planning / Debate were used (Decision Explanation), replay the whole decision process (Decision Replay), and learn from its own decisions (OS Policy Learning) — a training axis orthogonal to Transformer pretraining.
MIT — see LICENSE.
200 commits
39 commits
TypeScript
74.4%
C++
5.6%
Python
5.4%
HTML
5.3%
Rust
2.3%
C
1.9%
Swift
1.7%
JavaScript
1.4%
An open-source AI OS fusing an AI Agent framework with a model-agnostic AI Orchestration system. Designed for modular reasoning, dynamic execution, and explainable intelligence workflows.
2
stars
239
commits
TypeScript
primary language
Sep 5, 2026
updated
An AI Operating System for Modular Reasoning and Runtime Intelligence
ArcAsha is not a model. It is an operating system that runs on top of neural models — it configures, controls, measures, and explains AI reasoning at the OS level.
Core research question: Can we compose, control, and measure intelligence at the OS level — and prove it reproducibly — rather than scaling the model alone?
Models (GPT / MoE) perform all reasoning inside the neural network — a black box.
ArcAsha moves reasoning outside the model:
Task → Compiler → AILSM IR → Kernel → Executive → Hypothesis → Search → Experts → Memory
Layer 3 Intelligence Attachments
Reflection / Debate / Planning / Search / Creativity / Simulation / Coding
Layer 2 Executive Runtime
Executive / Meta Executive / Expert Evolution / Intelligence Scheduler
Layer 1 Fast Runtime
Kernel / AVM / Expert Runtime / ODAR / Device Tree ← realtime, always fast
| Feature | Description |
|---|---|
| AVM | AI Virtual Memory — context as demand-paged virtual memory (real-API validated on long-context docs: 96.5% token reduction at 100% accuracy — the legacy 4.10x / −77% figure is a pre-separation measurement) |
| Executive / Meta Executive | Commands the search; learns its own policy from observed outcomes |
| Expert Evolution | Experts split / merge / retire by objective criteria (health, overlap, utilization) |
| Thinking Modes | Fast / Auto / Deep / Custom — same OS, different pipeline |
| Explainable | Decision Explanation (why this configuration), Decision Replay (step-by-step), OS Policy Learning (decisions become training data) |
| Validation | Simulation vs Real Device separated; external benchmarks: GSM8K / MATH500 / HumanEval / MBPP / MMLU / LiveCodeBench (the Qwen1.5B rows are pre-separation simulation; real-API validation → see Phase 4 below) |
# Install (after publishing) or run from repo
npm install arcasha
# Full benchmark suite (Simulation) + Decision Explanation + Real Device plan + reports/
arcasha benchmark
# "Why did the AI choose this?" — replay the decision process step by step
arcasha replay
# OS Policy Learning — decisions become training data for the Meta Executive
arcasha policy
Or run from the repo (workspace root — convenience scripts delegate to the core package):
npm run setup # npm install --prefix akasha-master
npm run selftest # AILSM 89 deterministic tests
npm run benchmark # full benchmark + reports/ (json/csv/md)
npm run arcasha -- benchmark
Or work directly in the core package:
cd akasha-master
npm install
npm run ailsm:selftest # 89 deterministic tests
npx tsx examples/quickstart.ts # 5-minute tour
This repository hosts two independent projects (boundaries clarified, git split pending):
| Project | Directory | Role |
|---|---|---|
| Akasha-Link | akasha-link/ | 分散推論 — edge (WebGPU) distributed inference / tensor transport engine. Zero-copy binary relay, WebGPU overhead reduction, 5G/Wi-Fi compression (planned). No cognition. |
| ArcAsha-Core / MetaOS | akasha-master/ | AI オーケストラ(異モデル AI 分散 MoE) — model-agnostic orchestration OS layer. Thinking modes, AVM paging, harnesses, Caravan cognitive loop. Any backend (MLX / OpenAI / Anthropic / WebGPU) is connectable. |
akasha-link/PROTOCOL.md は両プロジェクト間の共有ワイヤ契約です(48B ヘッダ + f32[] ペイロード)。
注意: 現行の client-web ワーカーは従来の 20 バイト層ヘッダ(txId + layerId)を使用しており、
PROTOCOL.md 形式への移行は別途追跡されます。
akasha-master/ Project B: ArcAsha-Core / MetaOS (TypeScript / AILSA / AILSM / Kernel / AVM / Executive / Attachments / Caravan)
akasha-link/ Project A: Akasha-Link (distributed inference / tensor transport)
├── client-web/ Web client (WebGPU inference)
├── kernel-native/ Native kernel prototype (Rust: GPU compute / QUIC / TCP / memory pool)
└── PROTOCOL.md Akasha Wire Protocol (48B header + f32[] payload — the shared contract)
examples/ Attachment examples (code / math)
.github/ Issue templates + CI workflow
AI_*.md Specifications (ArcAsha-Core, see below)
| Doc | Contents |
|---|---|
INNOVATIONS.md | 革新技術まとめ(AI OS / AILSA・AILSM / AVM / Reasoning / Executive / Attachment / Cognitive Graph / Belief-Driven / Akasha-Link を一覧) |
MASTER_SPEC.md | Full architecture vision |
ARCASHA_V2_SPEC.md | v2 design spec (v0.36) |
AI_REASONING.md | Hypothesis SSA / Reasoning Graph / Executive / Meta Executive / Expert Evolution |
ARCHITECTURE.md | 全体アーキテクチャ(Linux との対比 / 3 層 + メモリ / 研究ロードマップ) |
AI_COGNITIVE.md | Composable Intelligence Runtime(タスクごとの動的配線 / 共有メモリ + IR / Team Learning / Knowledge Oasis) |
AI_IR_MODEL.md | IR とモデルの関係(IR は OS の内部バス / モデルは IR を知らない / 蒸留・IR ネイティブ化) |
AI_ATTACHMENTS.md | Attachment plugin layer / Thinking Modes |
AI_VALIDATION.md | Scientific validation (Simulation vs Real Device) / Decision Explanation / Replay / Policy Learning |
AI_VIRTUAL_MEMORY.md | AVM |
PAPER_OUTLINE.md | Paper: "ArcAsha: An Explainable Runtime for AI Intelligence" |
CHANGELOG.md | Release history (v1.0 / v1.1) |
Phase 4 validates each component with real API calls (deepseek-v4-flash, measured, no fabricated numbers), comparing configurations on the same tasks and model. Full data: akasha-master/reports/ablation/.
| Config | Accuracy | Avg latency | Avg tokens |
|---|---|---|---|
| ① Baseline LLM | 98% | 1297ms | 161 |
| ② +AVM | 99% | 1256ms | 186 |
| ③ +Executive | 98% | 1334ms | 163 |
| ④ Full ArcAsha | 100% | 1442ms | 187 |
akasha-master/reports/ablation/ablation.md (authoritative). akasha-master/reports/ablation/ablation-quick.md is a pre-separation quick measurement (12 tasks)| Config | Accuracy | Avg input tokens |
|---|---|---|
| Model alone (no doc) | 0% | 98 |
| AVM OFF (full context) | 100% | 8382 |
| AVM ON (relevant pages only) | 100% | 290 |
akasha-master/reports/ablation-long/)forceDelegate (12% of tasks made a second empty/duplicate call) → fixedakasha-master/reports/ablation-exec/)ArcAsha's software-engineering agent (akasha-master/src/arcasha/swe/) solved real SWE-bench Lite instances with real API calls (deepseek-v4-flash, temperature=0). Details: akasha-master/README.md.
24213 (dimension equivalence), 23117 (Array([])), 24152 (TensorProduct.expand)test_patch is applied at eval time)akasha-master/reports/swebench/swebench-results.json)To quantify what the agent/tool layer adds, we compared a plain deepseek-v4-flash call (issue + file excerpt, one-shot unified diff) against the arcasha agent on the same instance sympy__sympy-24213. Real API measurements; details: akasha-master/reports/swebench/compare-deepseek-vs-arcasha.md.
git apply failed every trial (43,184 tokens / $0.027 off-peak / 267 s)edit_file, so the diff is generated by git (no hand-written hunk math) → always applicable (741,409 tokens / $0.170 off-peak / 127 s)ArcAsha is not "a bigger model". It is:
An experimental platform to compose, control, and measure AI intelligence at the OS level — reproducibly.
The most novel point: the OS can explain why Reflection / Planning / Debate were used (Decision Explanation), replay the whole decision process (Decision Replay), and learn from its own decisions (OS Policy Learning) — a training axis orthogonal to Transformer pretraining.
MIT — see LICENSE.
200 commits
39 commits
TypeScript
74.4%
C++
5.6%
Python
5.4%
HTML
5.3%
Rust
2.3%
C
1.9%
Swift
1.7%
JavaScript
1.4%