Skip to content

Self-Hosted AI Assistant, Source Code Included

Looking for an open source AI assistant you can run yourself? GAIA's full source is public under the PolyForm Noncommercial license, so you can self-host it free for personal use. It manages your email, calendar, tasks and workflows from databases on your own server.

Source-Available

A self-hosted AI assistant that does real work

Many open source AI assistant projects are chat interfaces for a model. GAIA is a full personal assistant you can run yourself: it manages email, calendar, tasks and workflows from databases on your own server.

github IconGitHubnotion IconNotionslack IconSlackgmail IconGmailgooglecalendar IconCalendar

Source-Available

The entire codebase (backend, frontend and agents) is public under the PolyForm Noncommercial license. Read it, fork it and self-host it for personal and noncommercial use.

Self-Hostable via Docker

One command, `gaia up`, installs Docker if it is missing, writes the configuration and starts the whole stack. Run it on a laptop, a home server or any VPS.

Your Data in Your Databases

Email context, calendar events, tasks, memories and conversation history are stored in databases you own. Analytics and error reporting stay off unless you add your own keys.

No Vendor Lock-In

Pick your LLM provider, add custom MCP servers, change agent behavior or connect internal systems. You own the deployment and the code that runs it.

Capabilities

What GAIA actually does for you

A proactive AI assistant that handles the repetitive work across every tool you use, so you can focus on what matters.

gmail IconGmailgooglecalendar IconCalendarslack IconSlacknotion IconNotiongithub IconGitHub
  • Triages your inbox: labels emails by urgency, drafts replies, archives noise
  • Manages your calendar: schedules meetings, handles conflicts, sends invites
  • Tracks your tasks: syncs with Todoist, Linear, GitHub Issues, and more
  • Sends proactive briefings: your day's priorities each morning, without asking
  • Connects your tools: Slack, Notion, HubSpot, GitHub, Google Workspace, plus any MCP server you add
  • Runs automated workflows: recurring tasks, follow-ups, reports, on a schedule
Why Self-Host

Why public source code matters for an AI assistant

An assistant reads your email and acts in your accounts. Being able to read its code and choose where it runs changes how far you can trust it.

Privacy

Hosted assistants keep your email, calendar and work context on the vendor's servers. Self-hosted GAIA keeps it in your own databases; only the prompts for each request go to the LLM provider you chose, under your own account.

Customization

Need a custom integration with your internal tools? Want to change how the agent reasons about your tasks? You have the code. Modify anything for your own noncommercial use.

No per-seat pricing

Hosted assistants charge a subscription per user. For noncommercial use, self-hosted GAIA has no seat or usage fee of its own: you pay for your server and your LLM provider's usage. For-profit organizations self-host under an enterprise license.

Auditability

You can read every line of code that processes your data and see exactly which external services it calls. No black boxes, no undisclosed data sharing.

The Fine Print

What self-hosting GAIA actually means

The license, the data flow and the limits, stated plainly before you install anything.

Open source vs source-available

Open source licenses (MIT, Apache, GPL) allow any use, including commercial. GAIA's PolyForm Noncommercial license gives you the code, the right to modify it and the right to self-host it, but commercial use needs a separate license. For a personal assistant, the practical freedoms are the same.

What stays on your server

PostgreSQL, MongoDB, Redis, ChromaDB, RabbitMQ and per-user file storage all run in Docker on your machine, and memory embeddings are computed locally with no external API.

What leaves your server

Each request's prompt goes to your LLM provider (OpenAI or Google Gemini). Connected apps such as Gmail and Google Calendar are reached through Composio with your own key. Nothing is sent to GAIA's infrastructure.

When GAIA is not the right fit

If you need an assistant that runs fully offline on local models, or you want to resell or embed it commercially without a license, look elsewhere. GAIA needs a hosted LLM and is licensed for noncommercial use.

Comparison

Self-hosted GAIA vs hosted AI assistants

How GAIA compares with ChatGPT, Copilot and Notion AI on ownership, hosting and control.

FeatureGAIAChatGPTCopilotNotion AI
Source codePublic (PolyForm Noncommercial)ClosedClosedClosed
Self-hostableYes, Docker via the GAIA CLINoNoNo
Where your data is storedDatabases on your serverOpenAI's serversMicrosoft's serversNotion's servers
Free to self-hostYes, for noncommercial useNoNoNo
Bring your own LLM keyYes, OpenAI or Google GeminiNoNoNo
Modify the agent's codeYesNoNoNo
Self-Hosting

How to self-host GAIA in 3 steps

No Kubernetes required. You need Docker, Node.js 20+ and an API key for OpenAI or Google Gemini.

github IconGitHub
  1. 1

    Install the GAIA CLI

    Run `curl -fsSL https://heygaia.io/install.sh | sh`. It sets up Node.js if needed and installs the `gaia` command.
  2. 2

    Run gaia up

    Run `gaia up`. It installs Docker if it is missing, downloads GAIA's setup files and images, writes the configuration, and starts every service: the API, worker, databases, and message broker. No Git needed.
  3. 3

    Finish setup in the browser

    Open the address `gaia up` prints, create the admin account, and paste your AI provider key. GAIA is running on your server.

Frequently asked questions

Common questions about self-hosting GAIA.

Not in the strict OSI sense. GAIA is source-available: the complete code is public on GitHub under the PolyForm Noncommercial license. You can read it, modify it and self-host it for personal and other noncommercial use. Commercial use needs a separate license, which is the main difference from an MIT or Apache project.

Public

source on GitHub

1 cmd

gaia up

1 click

OAuth integrations

free

to self-host

Challenges Open Source Users Face Every Day

✕

Closed AI assistants send your sensitive emails and work context to corporate servers with no visibility into how it's used.

✕

Per-seat subscriptions make AI assistants expensive for teams and power users.

✕

You can't audit, modify, or trust a black-box AI system with your most sensitive professional data.

✕

Vendor lock-in means your workflows break the moment a service changes pricing, shuts down, or deprecates an API.

✕

No way to integrate internal tools, custom data sources, or proprietary systems with closed platforms.

How GAIA Helps Open Source Users

Source-Available

The entire codebase (backend, frontend and agents) is public under the PolyForm Noncommercial license. Read it, fork it and self-host it for personal and noncommercial use.

Self-Hostable via Docker

One command, `gaia up`, installs Docker if it is missing, writes the configuration and starts the whole stack. Run it on a laptop, a home server or any VPS.

Your Data in Your Databases

Email context, calendar events, tasks, memories and conversation history are stored in databases you own. Analytics and error reporting stay off unless you add your own keys.

No Vendor Lock-In

Pick your LLM provider, add custom MCP servers, change agent behavior or connect internal systems. You own the deployment and the code that runs it.

Frequently Asked Questions

Not in the strict OSI sense. GAIA is source-available: the complete code is public on GitHub under the PolyForm Noncommercial license. You can read it, modify it and self-host it for personal and other noncommercial use. Commercial use needs a separate license, which is the main difference from an MIT or Apache project.

GAIA for Other Roles

Stop doing everything yourself

Join thousands of professionals who gave their grunt work to GAIA.