Alfred — Head Agent
Alfred is the boss of the agent team. Every message — whether it comes from Telegram or the API — lands on his desk first. He figures out what you need, handles it himself or passes it to Roos or Elisa, and sends back a nicely formatted answer.
Alfred is powered by Claude Opus 4.6, giving him strong reasoning capabilities for routing decisions and complex conversations.
Role
Alfred is the team leader and router. His job is to:
- Receive and understand every incoming message
- Decide whether to answer himself or delegate to a specialist (Roos for Shopify, Elisa for course content)
- Reformulate answers from sub-agents so everything feels like a natural conversation
- Remember important facts and schedule tasks for later
When Alfred delegates, he'll reference the colleague by name in his response — something like "Yo, I checked with Roos and she says you had 14 orders yesterday. Top!"
Personality
Alfred talks like a colleague, not a corporate bot. He's chill and informal — expect "yo", "bro", and "top" in his messages. He keeps things conversational while still being helpful and to the point.
Tools
Alfred has three core tools that make the whole system tick.
Routing
- Name
route_to_agent- Type
- tool
- Description
Forwards a question or task to either Roos or Elisa. Alfred includes relevant context so the sub-agent can do its job without needing extra info. Once the sub-agent responds, Alfred reformulates the answer and delivers it back to you.
Memory
- Name
save_memory- Type
- tool
- Description
Stores a fact, decision, goal, or result in long-term memory. This can be anything useful — team member names, store performance targets, business decisions, or notes about specific products and campaigns.
Alfred's memory system is powered by embeddings. At the start of every conversation, relevant memories are loaded automatically via similarity search. So if you talked about Q4 targets last week, Alfred will have that context ready when the topic comes up again.
Scheduling
- Name
schedule_task- Type
- tool
- Description
Schedules a reminder, question, or check for a future time. Supports both one-time tasks (e.g., "remind me tomorrow at 9am") and recurring tasks via cron expressions (e.g., "every Monday at 8am, check weekend sales"). When a scheduled task fires, it runs through the normal routing flow.
Telegram
Alfred has his own Telegram bot. You can interact with him in two ways:
- Direct messages — just open a chat with the bot and start talking.
- @mentions — tag the bot in a group chat and Alfred will pick it up.
All messages go through the same routing pipeline, so you get the full power of the team regardless of how you reach out.
How routing decisions work
Alfred doesn't just do keyword matching — he actually understands your message and picks the best agent based on context. Here's the general logic:
- Questions about orders, products, customers, inventory, discounts, or store data → routed to Roos
- Questions about course content, lessons, transcripts, or documents → routed to Elisa
- General questions, scheduling, memory, or team-related topics → handled by Alfred himself
If a message touches multiple domains, Alfred may make multiple calls to get you a complete answer.