Skip to main content
Freesona is an open-source Discord AI bot that you run on your own infrastructure. Choose an AI provider, configure a persona, and control optional modules in Discord. Your provider and hosting choices determine available capacity and cost.

Open source Self-hosted Discord AI

Your bot.
Your infrastructure.

Shape the persona, select a provider, and choose which features your server needs. Freesona runs on your host, while requests to your selected AI provider are processed by that provider.

01 / A message, routed

Your setup, your request path.

01 / Discord

A message arrives in your server with its conversation context.

02 / Freesona

The bot assembles the persona and relevant memory or knowledge for the request.

03 / Your provider

Freesona sends the request to the AI provider you selected.

The diagram is simplified. Data handling depends on the provider and integrations you enable.

02 / Made of parts

One character. More than one setting.

Keep persona, memory, provider, and modules as separate choices. Change one without locking the rest in.

Shape a persona

Edit structured persona fields with /setpersona and save named presets.

Keep memory distinct

Conversation history, user facts, and Character Memory serve different roles. Canon and retrieved knowledge add separate context.

Choose a provider

Configure a supported provider and switch the active provider or model at runtime.

Configure optional modules

Enable or disable features such as moderation, media, autonomy, and knowledge tools.

03 / Provider choice

Bring the model you prefer.

Built-in provider adapters include Gemini, OpenAI, Ollama, NVIDIA NIM, Azure AI Foundry, Groq, and OpenRouter. Freesona also supports custom OpenAI-compatible endpoints.

  • Gemini
  • OpenAI
  • Ollama
  • NVIDIA NIM
  • Azure AI Foundry
  • Groq
  • OpenRouter
  • Custom OpenAI-compatible

Provider availability, usage limits, and cost depend on the provider account, model, and hosting setup.

04 / Get started

Start with the quickstart.

Create your Discord application, configure your selected provider, then launch and test the bot.

Set up Freesona

Follow the setup steps for your Discord bot, required settings, and first response.

Explore the source

Review the code and choose how to run Freesona on your own infrastructure.