Replies: 1 comment
-
|
Great research summary! The recommendation to prototype with Mercury 2 seems solid. I'd also keep an eye on Gemini Diffusion if/when it becomes generally available, as Google's approach might offer different trade-offs. Looking forward to seeing how this integrates with the code graph! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Task Description
Explore using diffusion large language models (dLLMs) for Cypher generation and other agentic tasks requiring low latency.
Acceptance Criteria
Updated Context (February 2026)
The dLLM landscape has evolved significantly since this was first opened in July 2025. Here is a summary of the current state:
Mercury 2 (Inception Labs)
On February 24, 2026, Inception Labs launched Mercury 2, the first reasoning dLLM. Key facts:
The original blocker (Mercury lacking tool calling) has been resolved with Mercury 2.
Gemini Diffusion (Google DeepMind)
Gemini Diffusion is Google's experimental diffusion model announced mid 2025. It generates entire blocks of tokens at once and matches the coding performance of their fastest autoregressive model. Currently still in waitlist/experimental status.
Code Specific dLLMs
PydanticAI Integration Path
PydanticAI supports OpenRouter natively, and Mercury is available on OpenRouter. This means integration could be as simple as:
Since Mercury 2 now supports tool calling and structured output, the PydanticAI integration path is viable for agentic workflows.
Ecosystem Maturity
While dLLMs have made major progress, the ecosystem is still maturing compared to autoregressive LLMs. Training and inference tooling is less established, and some benchmark gaps remain vs top autoregressive code models. However, the speed and cost advantages (5 to 10x on both fronts) make dLLMs very compelling for latency sensitive tasks like Cypher generation.
Recommendation
Mercury 2 is now the strongest candidate for integration. The original blocker (no tool calling) is gone, the model is fast, cheap, and accessible through OpenRouter. Worth prototyping with
openrouter:inception/mercuryto evaluate Cypher generation quality.Converted from #46
Beta Was this translation helpful? Give feedback.
All reactions