An AI search engine that generates grounded answers with interactive UI components instead of plain markdown text.

Morphic is an open-source, self-hosted web app and server that functions as an AI-powered search engine that combines conversational AI with a generative user interface to provide grounded answers with citations. The software is deployed as a web application and can be run via Docker or as a local development project using Bun, making it accessible for both server-side hosting and local experimentation.
The system allows users to perform searches using different modes, such as Quick and Adaptive, to retrieve information from the web. Instead of returning only plain text or markdown, the interface renders rich inline components like grids and images based on a streamed JSON specification. Users can manage their sessions through authentication or use a guest mode for anonymous queries, ensuring a flexible access model for different user needs.
Built with TypeScript, React, and Next.js, Morphic utilizes the Vercel AI SDK to handle model interactions and Tailwind CSS for its styling. It integrates with various backend services, including Upstash for Redis and PostgreSQL for persistent data storage. The architecture is designed for flexibility, allowing users to connect to local models via Ollama or cloud-based providers through the Vercel AI Gateway. By including SearXNG in the Docker Compose configuration, the software provides a functional search environment without requiring external search API keys immediately upon setup.
Morphic is a tool for users who require a searchable AI interface that goes beyond standard chat windows by incorporating dynamic UI elements and verifiable web citations.
Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.