Self-host morphic
v1.9.0AI answer engine with generative UI
docker compose up -d- Stars
- 9 299
- Port
- 3000 (Morphic web app (Next.js); host mapping 3000:3000)
ghcr.io/miurla/morphicWhat is morphic?
Morphic is an open-source, AI-driven answer engine: you ask a question, an agent searches the web and streams back a cited answer instead of a list of links. Rather than plain markdown, replies are described by a streamed JSON spec that the browser turns into rich inline blocks — image grids, headings and source credits — so a result reads like a page rather than a chat bubble. It ships two retrieval modes (a fast Quick mode and a deeper Adaptive mode that crawls and scores results) and can use Tavily, SearXNG, Brave or Exa as the search backend, while the answering model comes from OpenAI, Anthropic, Google, a Vercel AI Gateway key, any OpenAI-compatible endpoint, or Ollama for inference kept on your own hardware. Chats, permalinks and feedback live in PostgreSQL, and Redis caches SearXNG results. Self-hosting is a single docker compose up -d: the bundled stack starts PostgreSQL, Redis and SearXNG beside the app, which listens on port 3000, so only an AI provider key needs to go into .env.local. Multi-user installs can enable built-in Better Auth accounts (optional SMTP for invitations and password resets, invite-only sign-up, bootstrap admin) or Supabase Auth; the default is anonymous single-user mode, and a guest mode runs stateless with no stored history. File upload requires your own Cloudflare R2 or S3-compatible bucket, and PostHog, Langfuse and Slack feedback notifications are opt-in; the privacy guide states the project has no phone-home endpoint of its own. It is also deployable to Vercel with a one-click button.
morphic alternatives
orbitSelf-hosted AI gateway connecting private data to local or hosted LLMs via one OpenAI-compatible API with built-in auth, quotas, audit logs, and admin UI.Compareorbit with morphic
faster-chatFaster Chat is a self-hosted, open-source AI chat interface for local and cloud LLMs with multi-user auth, encrypted keys, web search, and a fast Preact UI.Comparefaster-chat with morphic
LibreChatSelf-hosted open-source AI chat unifying OpenAI, Anthropic, Google, Azure, AWS, and local models with agents, code interpreter, artifacts, MCP, and enterprise auth.CompareLibreChat with morphic
AgenticSeekSelf-hosted, open-source alternative to Manus AI: a voice-enabled agent that browses the web, writes and runs code, and plans tasks on local LLMs.CompareAgenticSeek with morphic
OpenSERPSelf-hosted open-source SERP API querying six search engines with megasearch, page extraction, and a command-line interface.CompareOpenSERP with morphic
Meme SearchMeme Search is a self-hosted, open-source meme search engine using local AI for semantic search. Run with Docker Compose to find memes by meaning, not filenames.CompareMeme Search with morphic
OvertChatSelf-hosted AI chat with local models, bundled voice/search, multi-user accounts, native mobile/desktop apps, and portable SQLite database.CompareOvertChat with morphic
MeiliSearchSelf-hosted, open-source search engine with hybrid search (full-text + semantic), typo tolerance, filtering, faceting, and multi-tenancy. Runs via Docker or binary.CompareMeiliSearch with morphic
Should you self-host morphic?
morphic scores 71/100 on selfhost.directory (how scoring works) and ranks #8 of 41 in Search Engines. It has 9 299 GitHub stars, +147 in the last 30 days.
It shipped 10 stable releases in the past year. The latest, v1.9.0, came out on 27 October 2026. New versions land roughly every 3 weeks.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is SearXNG (86/100, 39 321 stars). It scores higher overall, so compare the two before you pick. See morphic vs SearXNG side by side.
Features
- AI web search with cited answers
- Chat History
- File UploadDisabled unless R2/S3 variables are configured; Docker Compose does not provision storage.
- Generative UI answers
- Invite-only sign-up
- LLM tracing / observabilityOff by default; traces include full prompts and completions.
- Local-only operation
- Model selector with multiple LLM providers
- Multiple search modes
- Pluggable search providers
morphic README
- AI-powered search with grounded, cited answers
- Generative UI — answers render rich inline components (source-credited images, grids, headings) live from a streamed JSON spec, beyond plain markdown
- Search modes: Quick and Adaptive
- Model selector with dynamic provider detection (OpenAI, Anthropic, Google, Ollama, Vercel AI Gateway, OpenAI-compatible providers)
- Multiple search providers (Tavily, SearXNG, Brave, Exa)
- Chat history stored in PostgreSQL
- Share search results with unique URLs
- File upload support
- User authentication with built-in accounts (Better Auth) or Supabase Auth
- Guest mode for anonymous usage
- Docker deployment ready
More in Search Engines
NominatimSelf-hosted, open-source geocoder built on OpenStreetMap data: forward and reverse lookups over a PostgreSQL/PostGIS database with minutely OSM updates.
OfflineWikipediaTextApiSelf-hosted API for searching and retrieving full Wikipedia articles from offline datasets using txtai embeddings. Runs on Linux, macOS, and Windows with ~70GB disk.
OneSearchSelf-hosted search engine for homelabs that indexes local files and provides quick full-text search from a browser. Runs in Docker with no cloud or telemetry.
Onyx Community EditionOpen-source, self-hosted AI enterprise search and chat: connectors index 50+ apps with permissions, then RAG search, custom agents and LLM chat run on any provider.
openbeamOpenBeam is a self-hosted, open-source enterprise search platform unifying SaaS tools and IoT systems into one searchable layer with hybrid search and AI agents.
OpenDocumentsOpen-source RAG system you run on your own hardware that indexes files from GitHub, Notion, Drive, Confluence, S3, and local folders, answering questions with citations.
openrecallOpen-source, self-hosted tool that snapshots your screen and makes text and images searchable with local OCR and semantic search — an alternative to Windows Recall.
OpenSearchOpenSearch is a powerful open-source search and analytics suite. Apache 2.0 fork of Elasticsearch 7.10 with security, anomaly detection, alerting, vector DB, and ML.
OpenSERPSelf-hosted open-source SERP API querying six search engines with megasearch, page extraction, and a command-line interface.
panySelf-hosted semantic search engine running in PostgreSQL via pgvector, using CLIP embeddings for text and image search to replace Pinecone or Weaviate.
PgStackPgStack is a self-hosted, open-source tool that creates search and audit read replicas of your Postgres database via logical replication.
Photonan open source geocoder for openstreetmap data


0 comments