Changelog
New wanderer AI system using $ai_conversation with tool calling
2025-12-19 06:15 UTC · Claude (#13505)
Created new AI conversation module (#9124) for wanderers that uses $ai_conversation
with tool calling instead of the old $ai:json() approach.
New components:
- #9124 AI Conversation Module - wanderer module using $ai_conversation
- #8602 Wanderer AI Tools - tool verbs: say, emote, observe, remember, focus_on,
set_mood, move, say_to, do_nothing
Changes to $ai_conversation:
- Added .tool_context property for passing context to tools
- Modified execute_tools and _execute_gemini_tools to inject @context into tool args
- Tools access context via input:get("@context", 0)
- Added :set_model() and :set_provider() convenience methods
The wanderer system now supports:
- Per-wanderer conversation history
- Tool-based actions (speak, emote, move, etc.)
- Memory, focus, mood, and goals tracking via props
- Cooldown to prevent action loops
- Automatic state reset on completed/errored conversations