GitPedia

Morphic

An AI-powered search engine with a generative UI

From miurla·Updated June 17, 2026·View on GitHub·

- 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 UR... The project is written primarily in TypeScript, distributed under the Apache License 2.0 license, first published in 2024. It has gained significant community traction with 8,913 stars and 2,344 forks on GitHub. Key topics include: generative-ai, generative-ui, nextjs, ollama, react.

Latest release: v1.5.0
June 10, 2026View Changelog →
<div align="center">

Morphic

An AI-powered search engine with a generative UI.

DeepWiki GitHub stars GitHub forks

<a href="https://vercel.com/oss"> <img alt="Vercel OSS Program" src="https://vercel.com/oss/program-badge.svg" /> </a> <br /> <br />

<a href="https://trendshift.io/repositories/9207" target="_blank"><img src="https://trendshift.io/api/badge/repositories/9207" alt="miurla%2Fmorphic | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>

<img src="./public/screenshot-2026-06-10.png" /> </div>

Features

  • 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 Supabase Auth
  • Guest mode for anonymous usage
  • Docker deployment ready

Installation

The quickest way to run Morphic locally:

bash
docker pull ghcr.io/miurla/morphic:latest

Then set up with Docker Compose:

  1. Clone the repository and configure environment:
bash
git clone https://github.com/miurla/morphic.git cd morphic cp .env.local.example .env.local
  1. Edit .env.local and set at least one AI provider API key:
bash
OPENAI_API_KEY=your_openai_key

See supported providers for other options (Anthropic, Google, Ollama, Vercel AI Gateway, OpenAI-compatible providers).

  1. Start all services:
bash
docker compose up -d
  1. Visit http://localhost:3000 and select your model from the model selector.

Docker 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.

Local Development

  1. Clone and install:
bash
git clone https://github.com/miurla/morphic.git cd morphic bun install
  1. Configure environment:
bash
cp .env.local.example .env.local

Edit .env.local and set your API keys:

bash
OPENAI_API_KEY=your_openai_key TAVILY_API_KEY=your_tavily_key

To enable chat history, authentication, file upload, and other features, see CONFIGURATION.md.

  1. Start the dev server:
bash
bun dev

Visit http://localhost:3000.

Deploy

Vercel

Deploy with Vercel

Contributing

We welcome contributions! Please see our Contributing Guide for details on how to get started, including local development setup.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from miurla/morphic via the GitHub API.Last fetched: 6/17/2026