An AI-powered search engine with a generative UI
The quickest way to run Morphic locally:
docker pull ghcr.io/miurla/morphic:latestThen set up with Docker Compose:
git clone https://github.com/miurla/morphic.git
cd morphic
cp .env.local.example .env.local.env.local and set at least one AI provider API key:OPENAI_API_KEY=your_openai_keySee supported providers for other options (Anthropic, Google, Ollama, Vercel AI Gateway, OpenAI-compatible providers).
docker compose up -dDocker Compose starts PostgreSQL, Redis, SearXNG, and Morphic automatically. No additional search API key is needed — SearXNG is included.
See the Docker Guide for more options including building from source and file upload configuration.
git clone https://github.com/miurla/morphic.git
cd morphic
bun installcp .env.local.example .env.localEdit .env.local and set your API keys:
OPENAI_API_KEY=your_openai_key
TAVILY_API_KEY=your_tavily_keyTo enable chat history, authentication, file upload, and other features, see CONFIGURATION.md.
For what a self-hosted instance sends outbound, and what is off by default, see PRIVACY.md.
bun devVisit http://localhost:3000.
We welcome contributions! Please see our Contributing Guide for details on how to get started, including local development setup.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Guest chat requests with malformed messages fail as stream errors instead of 400
PDF attachment token estimate is far below the provider's, so cold-start guards never fire on large PDFs
The chat cache is never invalidated by the assistant answer
Add Webz.io to the search provider registry
Pasted content is replayed in full on every turn, outside every history guard
Inline image spec blocks are rarely emitted: domain-restricted searches plus unfollowed image instruction
[BUG] Trouble with Ollama
[BUG] Docker instance does not allow creating new user
How many parallel requests can it handle? (Highload ready)
[BUG] <title>