SymbioOS / README.md
batistado's picture
Publish SymbioOS v1.0 runtime, benchmarks, and IEEE TPDS manuscript bundle
f54a212 verified
|
Raw History Blame Contribute Delete
2.75 kB
metadata
license: apache-2.0
library_name: symbioos
tags:
  - llm-serving
  - kv-cache
  - coding-agents
  - operating-systems
  - gittins-index
  - streaming-prefill
  - pytorch

SymbioOS — Closed-Loop Rootless POSIX Sandbox Scheduling & White-Box Streaming KV Promotion

Overview

Autonomous software engineering agents (SWE-agent, OpenHands) alternate between GPU token generation and host POSIX tool execution (pytest, clang++, git). Existing inference engines (Continuum, UNISON/SPEAR, vLLM) and OS schedulers (CFS, AgentCgroup) operate open-loop: CPU contention stretches interactive pytest containers past GPU TTL cliffs, silent socket hangs stay pinned in scarce HBM, and thousands of stdout tokens wait until exit(0) to begin prefill.

SymbioOS Architecture

SymbioOS closes this loop in rootless user space:

  1. Unstopped-Quantum Sub-Turn Filtration (SubTurnRTTCFilter): Parses live [XX%] milestones and tracks silence strictly during unstopped quanta (!is_sigstopped), demoting stalled waits at 1.25s without false-positive evictions on CPU-throttled imports.
  2. KV-Weighted Gittins os.killpg Priority (KVWeightedGittinsScheduler) & Theorem-2 JIT Staging (OptimalStoppingJITController): Prioritizes hot-HBM interactive suites while staging evicted caches back just in time.
  3. 1-Token BPE Lookback Streaming Micro-Prefill (LookbackBPEStreamer): Pre-encodes 256-token chunks of append-only stdout during GPU slack with exact token and logit parity (cos_sim = 0.999997, 7.98x faster post-exit prefill).

Multi-Model Results

Quick Install

pip install git+https://github.com/batistado/symbioos.git

Citation

@article{syed2026symbioos,
  title   = {{SymbioOS}: Closed-Loop Rootless {POSIX} Sandbox Scheduling and White-Box Streaming {KV} Promotion for Tool-Intensive Agent Clusters},
  author  = {Syed, Mohammed Kamran and Rentala, Anudeep and Rahul, Somesh and Pai, Raghuram Malpe and Dara, Krishna Suman},
  journal = {IEEE Transactions on Parallel and Distributed Systems (TPDS)},
  year    = {2026},
  url     = {https://github.com/batistado/symbioos}
}