A conversational bot can describe a task without being able to do it. The step from answering to acting depends on something more concrete than a longer system prompt: the tools available to the model, the arguments they accept, and the results they return.
Agent Fantasy explores that idea inside Discord. The project connects a Python Discord bot to an AI model and a collection of tools, including capabilities supplied by MCP servers. The central experiment is how much of the bot’s behavior can be expressed through an agent’s instructions and tool choices rather than a separate command handler for every task.
Discord as the place where the work happens
Discord provides the conversation surface. The bot uses discord.py to participate there, while the model integration decides how to respond and when a tool is needed.
That creates a different shape from a traditional command bot. A fixed command usually maps to a known function. An agent has to choose an operation from the available descriptions, supply arguments, inspect the returned information, and decide what to say or do next.
The tool interface is therefore part of the product. A capability can exist in Python and still be difficult for a model to use if its purpose or inputs are unclear.
Extending the tool surface with MCP
Agent Fantasy supports connecting to MCP servers over SSE. That makes it possible to add externally supplied tools without moving every implementation into the Discord bot’s own codebase.
The separation is useful: Discord integration stays in the bot, while a specialized service can own its own operations. It also introduces a dependency boundary. A connected server needs to be reachable, its tools need to behave as described, and the bot needs to handle the fact that a remote operation can fail.
“Extensible” is a more accurate description than “unlimited.” A larger tool list still consumes context, and every added capability brings its own permissions, latency, credentials, and failure modes.
Keeping the pieces understandable
The repository separates built-in modules, argument types, bot classes, and prompt resources. Its dependencies cover several kinds of work: OpenAI integration, MCP, Hugging Face services, search, and document conversion.
Those components make the project a useful place to explore an agent beyond a plain text response. Search and document-processing integrations can provide material for an answer; generation services can produce other kinds of output. Whether a particular capability is available depends on the configured services and credentials, not simply on the bot being online.
The engineering challenge is maintaining that boundary between the conversation loop and the capabilities it can invoke. Keeping them separate makes it easier to reason about which layer is responsible when a request fails.
An experiment, not a promise of autonomous correctness
A tool-enabled model can act on an incorrect interpretation just as readily as it can produce an incorrect sentence. The agent still needs sensible permissions, clear tool descriptions, and a user who can understand what happened.
For that reason, I think of Agent Fantasy as an exploration of agent-controlled Discord workflows rather than proof that a prompt can safely replace application logic. Tools make actions possible; they do not remove the need to design the surrounding system.
The Agent Fantasy repository contains the project and its setup documentation. Running it requires the relevant Discord and model credentials, with additional service configuration for optional integrations.
