Show HN: AI code reviewer with Python agent called from Rust, streaming works

Hacker News - AI
Jul 28, 2025 14:40
sawradip
1 views
hackernewsaidiscussion

Summary

A developer has built an AI code reviewer using the Letta Python agent framework, which can be called natively from Rust applications with seamless real-time streaming, enabled by RunAgent. This approach eliminates the need for traditional FFI or complex bridges, allowing persistent agentic memory and learning across language boundaries. The solution demonstrates a significant advance in cross-language AI integration, simplifying deployment and enabling more flexible use of AI agents in diverse tech stacks.

Built an AI code reviewer using Letta (Python) that I can call natively from Rust applications. The interesting part: real-time streaming works perfectly across the language boundary with zero hassle using RunAgent. The agent runs in Python with persistent memory, leverages the best in house agentic memory management with Letta (Pythonic AI agent framework), and my rust code just uses it (kinda) natively, though Letta has no Rust bindings. And, streaming works like magic. No FFI, no complex bridges - just native async/streaming that feels like calling any Rust librar, but without writing a single line of websocket code. The AI agent remembers coding patterns and learns from previous reviews, but the deployment abstraction is what made this possible. Code: https://github.com/runagent-dev/runagent/tree/main/examples/... Comments URL: https://news.ycombinator.com/item?id=44711344 Points: 3 # Comments: 0