BotBeat
...
← Back

> ▌

Independent DeveloperIndependent Developer
OPEN SOURCEIndependent Developer2026-03-25

ARK: New AI Runtime Reduces Tool Schema Context Overhead by 99%, Learns from Every Execution

Key Takeaways

  • ▸ARK reduces tool schema context overhead by 99.9% (from 30.2% to 0.05% of context window), freeing tokens for reasoning and conversation
  • ▸The system learns from execution history, dynamically ranking tools based on success rates and relevance, improving performance across multiple runs without manual retraining
  • ▸Open-source implementation with multi-provider support (Anthropic, OpenAI, Ollama) and safety-first design with explicit opt-in for write operations and comprehensive audit trails
Source:
Hacker Newshttps://github.com/atripati/ark↗

Summary

ARK, a new open-source AI Runtime Kernel, addresses a critical inefficiency in AI agent systems: tool schema overhead consuming approximately 30% of an LLM's context window. The runtime dynamically controls which tools are loaded into context based on task requirements, reducing overhead from 60,468 tokens (30.2% of context) to approximately 80 tokens (0.05%), a 99.9% reduction. Rather than treating each execution as independent, ARK learns from every run, maintaining a weighted scoring model that ranks tools based on relevance, success rate, latency, token cost, and confidence. This enables ARK to continuously improve tool selection across multiple executions, with demonstrated improvements showing successful tools rising in priority while failing tools are demoted.

The system implements three core capabilities: context efficiency through selective tool loading (3-5 tools per task instead of all 140), adaptive execution that reacts to tool failures by loading additional tools or upgrading to full schemas, and online learning that persists scoring models across restarts. ARK supports multiple LLM providers including Anthropic's Claude, OpenAI, and local Ollama models, with no external API dependencies for demos. Safety is prioritized through default-deny operations, explicit opt-in for write actions, domain allowlisting, output sanitization, and comprehensive audit trails for all context decisions.

Editorial Opinion

ARK addresses a genuine pain point in AI agent development that has been largely overlooked—the substantial context waste from loading all available tool schemas regardless of task relevance. The combination of dynamic context allocation with persistent online learning represents a practical advancement in making AI agents more efficient without sacrificing capability. If the demonstrated 99.9% context savings hold across diverse real-world use cases, this could meaningfully extend what's possible within fixed context windows and reduce latency for agent systems.

AI AgentsMLOps & InfrastructureOpen Source

More from Independent Developer

Independent DeveloperIndependent Developer
PRODUCT LAUNCH

CrankGPT: A Fully Offline, Hand-Powered AI Assistant

2026-06-19
Independent DeveloperIndependent Developer
OPEN SOURCE

reasoning-core: Open-Source 130M-Param Guardrail Cuts AI Agent Token Usage by Up to 29%

2026-05-13
Independent DeveloperIndependent Developer
PRODUCT LAUNCH

The 'Google for AI Agents' Is Coming – and It's Being Built Outside Big Tech

2026-04-20

Comments

Suggested

MicrosoftMicrosoft
RESEARCH

Microsoft's Leaked 'Aion' Project Reveals Vision for Copilot-First Operating System

2026-07-04
Google / AlphabetGoogle / Alphabet
RESEARCH

Stanford Researchers Use Multi-Agent AI and Reinforcement Learning to Improve HIP Kernel Generation for AMD GPUs

2026-07-04
LLM Agent EcosystemLLM Agent Ecosystem
RESEARCH

Researchers Expose Critical Payload-Less Attack on LLM Agent Supply Chains

2026-07-04
← Back to news
© 2026 BotBeat
AboutPrivacy PolicyTerms of ServiceContact Us