Announcing ADK-Rust v0.1.8: Visual Agent Builder & Rust 2024
Introducing ADK Studio for visual workflow design, Rust 2024 edition support, and the new Router Agent pattern.
1. ADK Studio: Visual Agent Builder
We are thrilled to introduce ADK Studio, a powerful visual environment for designing, testing, and deploying AI agents. With ADK Studio, you can:
- Visual Workflow Editor: Drag and drop agents, tools, and routers to create complex workflows without writing boilerplate code.
- Real-time Testing: Chat with your agents immediately as you build them, with live state inspection.
- Code Generation: Export your visual designs to production-ready Rust code with a single click.
ADK Studio Visual Editor
2. Rust 2024 Edition Support
ADK-Rust v0.1.8 fully supports the new Rust 2024 edition. We've updated our internal crates to leverage the latest language features, ensuring better performance and ergonomics.
Note: ADK-Rust now requires Rust 1.85 or later.
[package]
edition = "2024"
rust-version = "1.85"
[dependencies]
adk-rust = "0.1.8"3. New Router Agent
The new Router Agent pattern simplifies intelligent request routing. Instead of complex prompt engineering, use the dedicated Router Agent to dispatch tasks to specialized sub-agents based on intent.
let router = LlmAgentBuilder::new("router")
.description("Routes requests to the appropriate specialist")
.sub_agents(vec![
Arc::new(billing_agent),
Arc::new(tech_support),
Arc::new(sales_agent),
])
.model(Arc::new(model))
.build()?;4. Breaking Changes
This release includes a few breaking changes to improve consistency and stability:
- Renamed `gemini_rust` crate to `adk_gemini` for consistency.
- Updated minimum supported Rust version to 1.85.
- Refactored `AgentBuilder` to `LlmAgentBuilder` for clarity.