Skip to content
Agent

Deprecated Agents Migration Guide

by dirmacs

AI Summary

A migration guide for transitioning from deprecated hardcoded agents to a dynamic ConfigurableAgent system in a Rust-based agentic chatbot server. Developers maintaining or upgrading agent-based systems benefit from clear configuration patterns and best practices for multi-provider LLM setups.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to set up the "Deprecated Agents Migration Guide" agent in my project.

Please run this command in my terminal:
# Add AGENTS.md to your project root
curl --retry 3 --retry-delay 2 --retry-all-errors -o AGENTS.md "https://raw.githubusercontent.com/dirmacs/ares/main/docs/DEPRECATED_AGENTS.md"

Then explain what the agent does and how to invoke it.

Description

A production-grade agentic chatbot server built in Rust with multi-provider LLM support, tool calling, RAG, MCP integration, and advanced research capabilities

Overview

In v0.2.0, the legacy hardcoded agents have been removed and replaced with ConfigurableAgent, which is dynamically created from configuration. This provides: • ✅ No code changes needed to modify agent behavior • ✅ Hot-reloading of agent configurations • ✅ Per-agent model selection • ✅ Per-agent tool filtering • ✅ Custom system prompts via config

Step 3: Update Any Direct Agent Usage

If you had code that directly instantiated legacy agents: Before (v0.1.x): `rust use ares::agents::product::ProductAgent; let agent = ProductAgent::new(llm_client); let response = agent.execute(query, &context).await?; ` After (v0.2.0): `rust use ares::agents::AgentRegistry; // AgentRegistry is typically available via AppState let agent = agent_registry.create_agent("product").await?; let response = agent.execute(query, &context).await?; `

Tools Not Working

If agent tools aren't being used: • Ensure tools are listed in the agent's tools[n]: field • Check tools are defined in config/tools/ • Verify the model supports tool calling

Deprecated Agents Migration Guide

Version: 0.2.0 Date: 2024-12-15 Updated: 2024-12-19 (TOON format support) ---

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
6 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars6
Forks1
Issues0
Updated2mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code
Claude.ai