Back to directory

AI & Machine Learning · AI Interaction & Interfaces

Morphic

A self-hosted answer engine with configurable models and search providers

Morphic is an open-source AI search application for developers and teams that want control over answer generation, search providers, and conversation storage. Maintained by Yoshiki Miura and contributors under Apache-2.0, it can be self-hosted with model and search credentials. A free public hosted service offers a way to try it without operating the application.

Key facts

License
Apache-2.0
Main language
TypeScript
Maintainer
Yoshiki Miura and contributors
First released
2024
Latest release
v1.8.0, October 17, 2026
GitHub stars
9.2k, October 2026
Hosted option
Public hosted service, free; no paid plan published

What Morphic is

Morphic is an AI search engine that turns questions into answers with source references and renders results in a generative interface. Yoshiki Miura started the repository in April 2024 and remains its principal maintainer, with outside contributors joining later releases. GitHub reports roughly 9,200 stars in October 2026. Its release history moved from 0.x to v1.0.0 in February 2026, a rewrite that changed storage and AI foundations. The project has no disclosed corporate parent or funding announcement. Its public service lets people try the product without operating a server, while the repository remains available for inspection and modification. That combination suits developers evaluating answer-search mechanics more than teams seeking a vendor contract.

How it works

Morphic offers Quick and Adaptive search, URL research, file uploads, chat history, shareable result links, source favicons, and streamed components such as images, grids, and headings. A typical session starts with a natural-language question. Morphic selects a configured model, calls search providers, fetches pages when needed, and streams an answer with citations into the browser. Users can choose models exposed by their provider, inspect research steps, continue a conversation, and share the resulting chat. Guest mode is available, while authenticated deployments can use Supabase Auth or Better Auth. Output quality and cost depend on the selected model and search service.

Architecture and recent releases

The main application is TypeScript on Next.js with the App Router and Turbopack. AI SDK 6 and ToolLoopAgent coordinate model calls and tools; Drizzle ORM stores chat data in PostgreSQL. Docker Compose can run PostgreSQL, Redis, SearXNG, and the application. Integrations include OpenAI, Anthropic, Google, Ollama, Vercel AI Gateway, Tavily, Brave, Exa, Firecrawl, and SearXNG. Version 1.0.0 moved chat history from Redis to PostgreSQL and upgraded Next.js and the AI SDK. Releases through v1.8.0 added auth, local fetching, usage budgets, and fixes for citations, attachments, and privacy. Operators therefore need to treat upgrades as application and database changes together, checking configuration and saved conversations before replacing a running deployment.

License and pricing

Apache-2.0 permits commercial use, modification, redistribution, and SaaS operation subject to its notice conditions. Morphic has no open-core split described in the repository. Its public hosted service is free as of October 2026, with no published paid plan or enterprise SLA. Self-hosting is free software, but model, search, storage, and infrastructure bills remain the operator's responsibility. The project supports container images and Compose, and can also deploy through Vercel. A third-party managed VPS listing offers deployments from $24.99 monthly, but that is not a Morphic-operated plan. Separating the application license from those operating charges is important when comparing a private deployment with a managed search subscription.

Limitations and how it compares

Morphic depends on external model and search APIs unless configured with local services, so cost and availability vary by provider. Docker also brings several services, and the v1 database migration does not preserve old Redis chat history. Perplexity is easier for users wanting a managed answer-search subscription; You.com offers a broader commercial search product; SearXNG is the closer open-source search foundation but does not synthesize answers alone. Pick Morphic if inspectable code, provider choice, and self-hosting matter more than enterprise billing or guaranteed availability. Teams should also decide which information may leave their network before connecting a search provider or uploading internal documents.

Main features

  • Cited answers. Synthesizes web research into streamed answers that show source citations alongside the response, with behavior controlled through the application configuration.
  • Generative interface. Renders streamed JSON as rich components including headings, images, grids, and source-attributed cards, with behavior controlled through the application configuration.
  • Adaptive research. Adaptive mode plans deeper multi-step research, while Quick mode favors faster responses, with behavior controlled through the application configuration.
  • Provider selection. Supports model selection across OpenAI, Anthropic, Google, Ollama, Vercel AI Gateway, and compatible endpoints, with behavior controlled through the application configuration.
  • Search integrations. Connects Tavily, Brave, Exa, Firecrawl, and SearXNG as configurable search and fetching backends, with behavior controlled through the application configuration.

Self-hosting Morphic

The documented path uses Docker Compose or a prebuilt container image. Compose starts Morphic with PostgreSQL, Redis, SearXNG, and the application, while environment variables select model and search providers. Operators need at least one model credential unless they use a local provider such as Ollama, and may use bundled SearXNG instead of a paid search API. The project does not publish minimum CPU or RAM. Back up PostgreSQL and uploaded-file storage, pin image versions rather than relying on latest, and read v1 migration instructions before upgrading because old Redis chat history is not migrated automatically.

Strengths

  • Apache-2.0 permits commercial forks and hosted deployments.
  • Provider choice includes hosted and local model options.
  • Docker Compose bundles PostgreSQL, Redis, and SearXNG.
  • Generative components make cited research easier to scan.

Drawbacks

  • Operators must pay for model, search, and infrastructure usage.
  • The service stack is larger than a single search binary.
  • Old Redis chat history is not migrated by the v1 rewrite.

What teams replace with it

Teams usually evaluate Morphic when they want to move off Perplexity, You.com, Phind.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Morphic

Frequently asked questions

Is Morphic free?

The source code is free under Apache-2.0, and the public hosted service is presented as free in October 2026. Self-hosting still incurs costs for servers, model APIs, search APIs, storage, and bandwidth. Local Ollama and SearXNG can reduce provider charges, but not hardware or maintenance costs.

Can companies use Morphic commercially?

Yes. Apache-2.0 allows commercial use, modification, redistribution, and hosted service operation, with license and notice obligations. The repository describes no proprietary open-core module. Companies should review terms for each model, search, and storage provider because those services impose separate usage and data rules.

How do I self-host Morphic?

Use Docker Compose, configure the environment file with a model key and provider settings, then start the stack. Compose can launch Morphic, PostgreSQL, Redis, and SearXNG together. No minimum hardware is published, so capacity depends on concurrency, local models, file handling, and search traffic.

How does Morphic compare with Perplexity?

Perplexity is a managed commercial answer engine, while Morphic exposes application code and lets operators select model and search backends. Morphic requires deployment work and provider credentials, but can keep chats on infrastructure the operator controls. Perplexity offers a finished service and billing; Morphic offers control and fewer built-in guarantees.

Does Morphic keep searches private?

Self-hosting can keep application data and chat history in the operator's systems, but prompts and search requests still go to configured providers. Operators must inspect provider policies, disable optional telemetry where appropriate, and secure authentication, secrets, logs, and backups. Deployment choices determine which services receive requests, so operators should review their selected model and search configuration before introducing confidential information.

Similar projects to compare

Sources

Last updated 2026-10-22.