Загрузка видео...

Не удалось загрузить видео

На главную

Agents let us build systems for different workloads and requirements. But… can we trust what they build? We release 🌟SkySynth🌟: an engine for synthesizing high-performance, just-in-time (JIT) systems we can trust, by co-evolving formal proofs and tests alongside the code. Results: 💿 KV stores up to 2.3× faster than...

55,748 просмотров • 3 дней назад •via X (Twitter)

Комментарии: 17

Фото профиля Shu Lynn Liu
Shu Lynn Liu3 дней назад

(2/N) General-purpose systems must support broad use cases: Redis and RocksDB span many storage patterns; vLLM and SGLang span many models, hardware configurations, and workloads. But a single deployment is usually much more specific. Why pay for generality you don’t need? Coding agents make specialization cheap enough to do just in time (JIT).

Фото профиля Shu Lynn Liu
Shu Lynn Liu3 дней назад

(3/N) Implementation is no longer the bottleneck. But can we trust what agents build? We found that agents are surprisingly good at finding gaps in the spec: ❌ a server dropped requests to increase throughput ❌ a KV store reconstructed values instead of storing them ❌ an inference engine emitted a fake first token to improve TTFT They looked fast, but weren’t doing what we intended. 😫

Фото профиля Shu Lynn Liu
Shu Lynn Liu3 дней назад

(4/N) This led to the core idea behind SkyDiscover-Synthesize (SkySynth): the specification must co-evolve with the implementation. As agents get better at optimizing the system, a fixed specification becomes easier to exploit. So SkySynth evolves both together: 🔐 formal proofs when requirements can be precisely specified 🧪 evolving tests and requirements when formal properties are not provided

Фото профиля Shu Lynn Liu
Shu Lynn Liu3 дней назад

(5/N) For correctness-critical systems, SkySynth uses formal-proof-driven synthesis. With Inductive Deductive Synthesis (IDS), agents generate the implementation and machine-checked proof together. Rather than building the full system first and verifying it later, code and proof evolve incrementally, with Lean/Rocq checking correctness along the way. On distributed KV stores, SkySynth synthesized verified implementations for 7/7 specifications, with a 95.2% pass rate vs. 33.3% for Claude Code.

Фото профиля Shu Lynn Liu
Shu Lynn Liu3 дней назад

(6/N) For systems whose requirements are difficult to formalize, SkySynth uses a multi-agent, test-driven synthesis loop to optimize both performance and correctness. Coding agents build and optimize implementations, while an auditor searches for reward hacks. When it finds one, it turns the failure into a new test and feeds it back into synthesis. So the implementation and specification co-evolve, toward systems that are both faster and harder to game.

Фото профиля Shu Lynn Liu
Shu Lynn Liu3 дней назад

(7/N) 💿 For key-value stores, SkySynth synthesized workload-specific designs with different caching, eviction, and logging strategies. They achieve up to 2.3× higher throughput than all other baselines like Redis, with far less reward hacking than Claude Code. It also synthesized formally verified distributed stores that reach a 95.2% pass rate, nearly 3× Claude Code.

Фото профиля Shu Lynn Liu
Shu Lynn Liu3 дней назад

(8/N) ⚡ For inference, SkySynth built a new engine from scratch for Qwen3-4B on an L4, specialized for a repeated-sampling workload with shared prefixes. By exploiting the workload structure, it achieved 2.2× the throughput of other baselines.

Фото профиля Shu Lynn Liu
Shu Lynn Liu3 дней назад

(9/N) 🚏 For model routing, different workloads led SkySynth to synthesize different routing policies. For an interactive assistant, the specialized router achieved 1.9× lower cost, +3.8% answer quality, and 1.6× fewer late responses than a general router.

Фото профиля Shu Lynn Liu
Shu Lynn Liu3 дней назад

(10/N) SkySynth expands the scope of automated discovery from: functions → algorithms → entire deployed systems.

Фото профиля Shu Lynn Liu
Shu Lynn Liu3 дней назад

(11/N) It is also fully open-source as part of SkyDiscover. You can use it today as a skill for coding agents. 🚀 Try building specialized systems for your own use cases! 💻 Code: 📝 Blog:

Фото профиля Shu Lynn Liu
Shu Lynn Liu3 дней назад

(12/N) Check out our paper on formal-proof-driven synthesis:

Фото профиля Shu Lynn Liu
Shu Lynn Liu3 дней назад

(13/N) And our paper on test-driven synthesis:

Фото профиля Shu Lynn Liu
Shu Lynn Liu3 дней назад

(14/14) This is a joint collaboration from Sky Computing lab with @shagarw21, @AlexKrentsel, @mertcemri, @sidzsan, @ziming_mao, @adityagp, @AlexGDimakis, @matei_zaharia, @istoica05 We also thank @abeirami, @audreyccheng, @bradenjhancock, Mohsen Lesani, @chunliang_tw, @RuiMeng_, @melissapan, @tomaspfister, @ponnapalli95, Sylvia Ratnasamy, @ShangyinT, @tianyin_xu, @Andy_ShuoYang, @0xlf_ for their helpful discussions and feedback. And we’re grateful to @LaudeInstitute for their support through the Slingshots program!

Фото профиля Shu Lynn Liu
Shu Lynn Liu3 дней назад

@AlexKrentsel @mertcemri @sidzsan @ziming_mao @adityagp @AlexGDimakis @matei_zaharia @istoica05 @abeirami @audreyccheng @bradenjhancock @chunliang_tw @RuiMeng_ (15/15) And additional thanks to @Ponnapalli95 for the feedback and support!

Фото профиля Qiuyang Mang
Qiuyang Mang3 дней назад

Just joking 😄 Consider another name: SkySmith?

Фото профиля EKOS _ AGI 🦊 🇮🇷
EKOS _ AGI 🦊 🇮🇷3 дней назад

This is the interesting part of agents building systems: getting the code to work is one thing, proving why we should trust it is another. Formal proofs handle the system side, but the knowledge and evidence behind agent decisions matter too.

Фото профиля catman
catman3 дней назад

how are the formal proofs handled when the generated kv store changes under jit specialization?

Похожие видео

Introducing LobeHub: Agent teammates that grow with you. LobeHub is the ultimate space for work and life: to find, build, and collaborate with agent teammates that grow with you. We’re building the world’s first and largest human–agent co-evolving network. Two years ago, we built LobeChat, an open-source interface for using different AI models. Today, LobeChat has 70k+ GitHub stars and serves 6M+ users worldwide. How to fully unlock the power of models has always been a shared mission between us and the community. We started with interaction — a fundamentally new, agent-first experience. Agents are no longer passive tools invoked in a single conversation. They should be proactive, always-on units of work. Treating agents as the minimal atomic unit is also the core of our agent harness infra. Today’s agents are mostly one-off executors. Even with memory, it’s often global — and hallucinates. We build long-term agent teammates that evolve with users. Each agent has its own dedicated memory space, editable by users, allowing humans and agents to co-evolve over time. This, in turn, allows us to design clearer rewards for reinforcement learning and create cleaner environments for continual learning. Agent teammates can work in groups. Through a multi-agent system, agent groups operate faster, more cost-effective, and go beyond what single-agent systems can achieve. For example, a single agent often requires heavy user involvement to proceed step by step, whereas LobeHub can execute the same work from a single instruction, with a supervisor orchestrating agents that run in parallel or debate to produce better results. We are building the collaboration network among agent teammates — and between humans and agent teammates as well. Ease of use matters. AI intelligence and shared human intelligence are equally important. With simple instructions and tool selection, you can effortlessly build and team up with agent coworkers to deliver complex, systematic work — even assembling a quant team to execute trades. Through the LobeHub community, anyone can discover, reuse, and remix agents and agent groups, customizing them to fit their own workflows, preferences, and needs. Last but not least, our vision started with LobeChat: multi-model support is the most efficient approach for users. We believe different models excel in different scenarios. By routing across multiple models, LobeHub improves cost efficiency and unlocks capabilities that a single-model setup cannot easily support.

LobeHub

185,401 просмотров • 7 месяцев назад

I ditched Unreal for AI. Kaiju Engine is a completely AI written replacement. To prove it was ready for production, I tested it by recreating and porting my old game, Firefall, into Kaiju, purely from the Steam download, no source. And it worked. Real game code is messy, full of difficult details and compromises. If our engine could handle a commercially released game, it proves you can ship a game with it. We're developing 2 orders of magnitude faster (93x) by lines of code and features. We have fewer bugs, and iteration is super fast. Build times have gone from 30 mins (Unreal) to 36 seconds. Feature rate is through the roof, days instead of months. Our original engine for Firefall took 2-3 years and cost over 5M to build (adjusted). Our new engine was written in 5 months for a couple grand. We built only what we needed, with none of the Unreal bloat. And we added some features: - Modern meshlet based rendering with PBR. - Vis Buffer/Forward+ with clustered lighting. - Id Tech 5 style megatexture streaming. - Planetary sized renderer (entire solar systems possible). - Seamless flight from ground to orbit and space. - No loading screens. - Procedural planet generation with plate simulation. - Client/Server at all times. - Ozz for animation. Jolt for Physics. - Companion Blender plug-in for AI directed asset exports. - 140fps currently, 200-300 projected after optimizations. You can see Firefall's assets and levels ported over into our engine in the video. Texture resolution and pop-in are limitations of the original game (high rez CDN based textures were lost when game went offline, fog hid the original's pop-in). Our meshlet renderer will be able to do much better with LOD and already supports high rez textures. I used Grok/Codex/Claude to tag team the code. This is not just a boon for indie games, it's a real game changer for game preservation. The reaction to seeing this 10 year old discontinued game revived is very emotional for Firefall fans. But we're not just preserving Firefall, we're going beyond, creating an original game that is the spiritual successor, Em-8ER. Gliding, jumpjets... it's all coming back. Moving past Unreal let us move much faster, without the bloat, and with better performance. If you want to signup to follow news on the game, sign up is free at

Grummz

356,713 просмотров • 1 месяц назад

New short course: Building Code Agents with Hugging Face smolagents! Learn how to build code agents in this course, created in collaboration with Hugging Face, and taught by Thomas Wolf, its co-founder and CSO, and m_ric, Hugging Face’s Project Lead on Agents. Tool-calling agents use LLMs to generate multiple function calls sequentially to complete a complex sequence of tasks. They generate one function call, execute it, observe, reason, and decide what to do next. Code agents take a different approach. They consolidate all these calls into a single block of code, letting the LLM lay out an entire action plan at once, which can be executed efficiently to provide more reliable results. You’ll learn how to code agents using smolagents, a lightweight agentic framework from Hugging Face. Along the way, you’ll learn how to run LLM-generated code safely and develop an evaluation system to optimize your code agent for production. In detail, you’ll learn: - How agentic systems have evolved, gaining greater levels of agency over time—and why code agents are a next step. - How code agents write their actions in code. - When code agents outperform function-calling agents. - How to run code agents safely in your system using a constrained Python interpreter and sandboxing using E2B. - To trace, debug, and assess the code agent to optimize its behaviours for complex requests. - How to build a research multi-agent system that can find information online and organize it into an interactive report. By the end of this course, you’ll know how to build and run code agents using smolagents, and deploy them safely with a structured evaluation system in your projects. Please sign up here!

Andrew Ng

127,724 просмотров • 1 год назад