A fully autonomous and hardware-aware Hybrid Intelligence Agent running on your desktop.
Powered by the UNO (Unified Native Orchestration) architecture, featuring distributed actors and Apple Silicon optimization.
EliteAgent is an advanced native macOS application rather than a standard LLM (Large Language Model) text client. It is a Hybrid Intelligence tool capable of training its own subagents, executing terminal commands, navigating the web, and performing "Graceful Degradation" based on your system's hardware telemetry.
EliteAgent combines the analytical prowess of frontier cloud models (e.g., via OpenRouter) with the speed and privacy of local SLMs (Small Language Models) running natively on Apple M-Series GPUs and NPUs.
[v13.9 FORTRESS STABLE]: XPC Hardening, Weather Intelligence, and Biometric Secured Communication.
- Silent Background Research: Elimination of Safari tab spam with headless
WKWebViewscraping—70% less resource usage. - Atomic State Management: Centralized
ModelStateManagerfor zero-latency Provider (Local/Cloud) synchronization. - Health Dashboard (Swift Charts): Real-time monitoring of VRAM, TPS, and Thermal state with persistent history.
- Stress Simulator: Manual stress trigger to verify Auto-Recovery and Cloud Fallback mechanisms.
- MLX Engine Guardian: 180-second adaptive timeout and proactive VRAM sanitization.
- Deep Recovery (Hard Reset): Fast engine restart (2-3s) with session and memory preservation.
- TTFT Optimization [v9.9.15]: Context Pruning (Sliding Window) drops prefill latency from 146s to <5s for local models.
- Swift 6 Actor Isolation (v10.0): 100% thread-safe background processing for Dreams, Budgets, and Privacy Guards.
- YOLO Guard v2 & Encrypted Audits: Dynamic risk assessment with Keychain-backed AES.GCM forensic logging.
- XPC Architecture Hardening [v13.7]: Deterministic C-module resolution (
yyjson,Cmlx,_NumericsShims) with absolute path enforcement.
- Distributed Actor System: Type-safe, high-concurrency orchestration for native tools.
- Biometric Guard: Secured WhatsApp/iMessage communication with mandatory TouchID/Apple ID verification.
- WeatherKit Integration: Hardware-native meteorological data retrieval with zero-tab Safari fallback.
- Intent Persistence: Mission-bound intelligence that prevents task-switching during failures.
- Cognitive Guardrails: Workspace-aware but objective-locked reasoning, separating developer activity from user commands.
- Disciplinary Classification: Hardened intent mapping ensures high-priority tasks are isolated from general chat context.
- Standard Directory Compliance: Fully adheres to Apple's macOS FileSystem standards (
~/Library/Logs,~/Library/Application Support). - Smart Data Preservation: Factory reset logic explicitly excludes the
EliteAgentWorkspace, ensuring user-generated work is never lost. - Persistent Model Safety: LLM models are stored in non-volatile
Application Supportdirectories to prevent automatic system cache sweeps.
- Qwen 3.5 9B Specialization (4-bit): Native 4-bit Quantized Qwen 3.5 9B via
InferenceActor, providing high-speed local reasoning. - Hallucination Protection Shield: Integrated 1.4x Repetition Penalty and token-loop detection for s-tier stability.
- GGUF Integrity Shield: Mandatory verification (Magic bytes, Version v3+, and Tensors) to prevent memory corruption.
- Unified Memory Diagnostics: Fully Sandbox-compliant memory management using heuristics and
ProcessInfo.
- Weather Intelligence (WeatherKit): Native integration with Apple's
WeatherKitandCoreLocationfor precise meteorology withwttr.infallback. - Biometric Communication Guard: Secura Mode implementation for WhatsApp/iMessage, requiring TouchID/Password confirmation for all transmissions.
- Multi-Step Tool Sync: Advanced intent-mapping allowing seamless weather-to-messaging data flow without planning latency.
- Chroma CENS (Energy Normalized Statistics): Native implementation of the Librosa
chroma_censalgorithm for superior cover-song and harmonic fingerprinting. - Multi-Band PLP (Predominant Local Pulse): Advanced rhythm tracking using frequency-band splitting (Sub, Low, Mid, High).
- Hardware-Native DSP: All spectral analysis (STFT, Mel, CQT, YIN, Chroma, PLP) is vectorized via the Accelerate (vDSP) framework.
- Memory-Safe Ingestion: Supports 50MB+ documents using Memory-Mapped I/O (
mappedIfSafe), ensuring stable performance on 8GB-16GB RAM hardware. - Deterministic Cleanup: Implementation of a secure lifecycle for model weights, using a 50ms grace period to release mmap locks before deletion or switching.
- System Watchdog: The agent continuously communicates with your hardware. It tracks
ProcessInfo.thermalStateandMemoryPressureevery second. - PVP (Production Verification Protocol) [NEW]: A comprehensive CLI verification suite (
swift run elite --verify-pvp) that stress-tests memory pressure handling, fallback logic, and integrity shields.
- Silent Multi-Source Scraping: Background research using headless
WKWebView(No Safari tabs opened). - Ultra-Resilient Parsing:
ThinkParserwith 3-level JSON extraction (Direct/CodeBlock/Regex Fallback). - Autonomous JSON Detection: Intercepts structured LLM payloads to trigger premium
ResearchReportViewUI. - Multi-Tool Chain Support [v9.9.3]: Upgraded
ThinkParserextracts and executes multipletool_codeblocks in a single turn, even without backticks. - Summarization Fallback: Auto-titling sessions now falls back to local Titan models if cloud API keys are missing.
- KAIROS Adaptive Heartbeat (v10.0): Proactive energy management (15s-120s heartbeat) based on thermal and battery state.
- Dream Engine v2 (Autonomous Memory) [v10.0]:
- Background Consolidation: L1 bağlamını
memory_v{N}.mddosyalarına otonom olarak özetleyenDreamActor. - Net-Savings Validation: Özet boyutu ham verinin %25'inden fazlaysa işlemi iptal eden verimlilik kalkanı.
- Diff-Based Sync: Bellek güncellemelerinde sadece değişen kısımları (
diff.log) takip eden hafif mimari.
- Background Consolidation: L1 bağlamını
- Prompt Cache Manager (SHA256) [v10.0]:
- KV-Cache Optimization: Statik sistem komutlarını dinamik veriden ayırarak Apple Silicon KV-cache verimini %80 artıran otonom yönlendirici.
- Adaptive Prefix Shrinking: Hit oranı %60'ın altına düştüğünde prefix boyutunu küçülterek başarılı cache ihtimalini artıran otonom refleks.
- Token Guard Suite [v10.0 New Features]:
- TokenAccountant Middleware: Input, Output ve Cache token'larını anlık raporlayan
actortabanlı takip sistemi. - OutputSchemaGuard (Brief Mode): Yanıt boyutunu girdiyle oranlayarak (%60) semantik olarak sınırlayan çıktı kalkanı.
- Prompt Cache Monitor:
os_signpostile yerel performans izleme ve verimlilik analitiği. - token_baselines.json: CI/CD süreçleri için senaryo bazlı token verimlilik hedefleri ve regresyon takibi.
- TokenAccountant Middleware: Input, Output ve Cache token'larını anlık raporlayan
- Universal Shortcuts Bridge [NEW]: Native integration with macOS Shortcuts (
shortcuts list,shortcuts run) with 1-hour caching and stdin support.
- MessengerTool (Autonomous WhatsApp/iMessage): Biometric-secured communication with localized error handling and Multi-Step synchronization.
- PatchTool & WriteFileTool: Atomic string-matching (diff) for safe codebase modification.
- Brave Search & Web Fetch: Deep-web scouring via Brave API with Markdown structure preservation.
- Chicago Vision (v10.0): Native screen analysis via
ScreenCaptureKitandVNRecognizeTextRequest(macOS 15+). - AX Automation (v10.0): Direct application interaction via
AXUIElementwith AppleScript fallback. - Tulpar (Mythology Buddy) [v10.0]: Zero-latency ASCII companion for real-time state visualization.
- Experience Vault (MemoryTool): L2 vector database for long-term algorithmic memory.
- TokenAccountant Middleware: Real-time billing and KV-cache hit tracking (Input/Output/Cached).
- OutputSchemaGuard (Brief Mode): Enforces 60% compression with semantic sentence-level truncation.
-
Dream Net-Savings Validation: Automated skip of memory consolidation if efficiency criteria (
$\le 25%$ ) are not met. - Adaptive Cache Scaling: Proactive prefix shrinking when hit rates drop below 60% to recover performance.
-
CI/CD Token Regression: Build-time verification against
token_baselines.jsonwith 20% failure threshold.
- Privacy Manifest (2024): Fully compliant
PrivacyInfo.xcprivacyfor File Timestamp, Disk Space, and Apple Events usage. - Standard Path Management: strictly follows HIG for
Application Support,Caches, andLogs. - Memory-Efficient Integrity: Uses Chunked SHA-256 (64MB blocks) to verify multi-gigabyte model weights.
EliteAgent is compiled strictly using Apple's most modern concurrency standards (Swift 6, @MainActor, Sendable).
- Operating System: macOS 15.0 or later.
- Processor: Apple Silicon (M1/M2/M3/M4, etc.).
- Memory: 16GB RAM minimum recommended.
- Development Environment: Xcode 16.0 or later.
EliteAgent/
├── App/ # Xcode SwiftUI Interface
├── Sources/
│ ├── elite/ # PVP CLI Tool & Verification Suite
│ └── EliteAgentCore/ # The Core Brain
│ ├── Agents/ # Orchestrator, Planner, Critic
│ ├── ToolEngine/ # Messenger, Patch, Shell, Fetch
│ ├── UI/ # MTKView, NeuralSight.metal
│ ├── LLM/ # InferenceActor, HealthMonitor, Bridge
│ └── Security/ # VaultManager, PromptSanitizer
├── devlog.md # Comprehensive architectural history
└── Package.swift # SPM Modulations (MLX, Sparkle, etc.)
"Privacy by Design. Autonomy by Nature. Forensic by Intent. Native by Choice."
[EliteAgent Core - v13.9 FORTRESS STABLE]