morphic
Morphic is an open-source AI-powered search engine that combines traditional web search with generative AI to produce cited, streaming answers with rich UI components. It supports multiple AI providers (OpenAI, Anthropic, Google, Ollama) and search backends (Tavily, SearXNG, Brave, Exa), with optional chat history, authentication, and file upload capabilities.
Key facts
Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.
| Field | Value |
|---|---|
| Repository | miurla/morphic |
| Owner | miurla |
| Primary language | TypeScript |
| License | Apache-2.0 — OSI-approved |
| Stars | 9k |
| Forks | 2.3k |
| Open issues | 52 |
| Latest release | v1.5.0 (2026-06-10) |
| Last updated | 2026-07-01 |
| Source | https://github.com/miurla/morphic |
What morphic is
Built on TypeScript/Next.js with React and shadcn-ui, Morphic streams structured JSON to render generative UI components in real-time. It integrates with Vercel AI SDK, supports pluggable LLM providers and search APIs, stores conversation history in PostgreSQL, uses Upstash for caching, and includes Docker Compose deployment with built-in SearXNG and Redis.
Get the morphic source
Clone the repository and explore it locally.
git clone https://github.com/miurla/morphic.gitcd morphic# follow the project's README for install & configurationNeed it deployed, integrated, or customized instead? DEV.co ships production installs.
Best use cases
Implementation considerations
- Requires at least one LLM API key (OpenAI, Anthropic, Google, Ollama, or OpenAI-compatible endpoint) and optionally a search API key (Tavily, Brave, Exa) or bundled SearXNG.
- PostgreSQL and Redis must be provisioned or deployed via Docker Compose for chat history, caching, and multi-instance support; local SQLite is not suitable for production.
- Generative UI relies on streaming JSON parsing in the browser—ensure client-side JavaScript is not blocked and streaming responses are not proxied through incompatible middleware.
- Authentication via Supabase Auth is optional but recommended for production; guest mode is available but lacks user tracking and rate-limiting.
- File upload support depends on additional configuration (S3-compatible storage or local volume mounting in Docker); verify quota, scanning, and virus-check policies before enabling.
When to avoid it — and what to weigh
- Turnkey SaaS search product needed immediately — Morphic is a framework/application, not a managed service. Deploying to production requires infrastructure setup, API key management, database provisioning, and ongoing DevOps—not suitable for teams wanting zero operational overhead.
- Proprietary codebase or strict license compliance required — Apache-2.0 permits commercial use but requires attribution and derivative-work disclosure. Organizations with policies against open-source dependencies or mandatory proprietary code should avoid or conduct legal review.
- Minimal AI provider choice or vendor lock-in acceptable — If your stack already commits to a single provider (e.g., Azure OpenAI only), Morphic's multi-provider abstraction adds unnecessary complexity. Direct provider SDKs may be simpler.
- Real-time search with sub-second latency critical — Morphic streams generative UI and search results, introducing inherent latency. Applications demanding immediate response times (sub-500ms) should evaluate traditional vector-search or cached-index architectures.
License & commercial use
Licensed under Apache License 2.0 (OSI-approved, permissive). Permits commercial use, modification, and distribution with attribution and derivative-work disclosure required. No warranty provided.
Commercial use is explicitly permitted under Apache-2.0. However, derivative works must include a copy of the license and notice of changes. If integrating Morphic into a proprietary product, ensure your legal team confirms compliance with attribution and disclosure obligations. No indemnification or commercial support is included in the open-source grant.
DEV.co evaluation signals
Editorial assessment — not user reviews. Directional, with an explicit confidence level.
| Signal | Assessment |
|---|---|
| Maintenance | Active |
| Documentation | Adequate |
| License clarity | Clear |
| Deployment complexity | Moderate |
| DEV.co fit | Strong |
| Assessment confidence | High |
LLM API keys and search API keys are stored in environment variables; ensure .env.local is not committed to version control and is injected securely in production. PostgreSQL and Redis should run on private networks and use strong credentials. Morphic does not appear to include built-in rate-limiting, request signing, or DDoS protection—add these at the proxy/load-balancer layer. File upload feature requires secure storage and virus scanning; no details provided. No security audit or vulnerability disclosure policy is documented; monitor GitHub issues and releases for patches.
Alternatives to consider
Perplexity (SaaS) / Perplexity API
Commercial, closed-source alternative offering AI-powered search as a managed service. Eliminates infrastructure management but locks you into their provider choice and pricing model.
LlamaIndex / LangChain (frameworks)
Open-source Python frameworks for building retrieval-augmented generation (RAG) pipelines. More granular control over ingestion and retrieval, but steeper learning curve and no built-in UI.
You.com / Neeva (commercial search with AI)
Proprietary AI search engines offering API access. Simpler integration than self-hosting Morphic, but less transparency and flexibility on indexing and model choice.
Build on morphic with DEV.co software developers
Morphic is production-ready for teams building generative UI search products or self-hosted enterprise applications. Start with Docker Compose, configure your LLM provider, and iterate. For managed infrastructure, professional support, or custom integrations, consult a DevOps or AI application specialist.
Talk to DEV.coRelated on DEV.co
Explore the category and the services that help you build with it.
morphic FAQ
Can I use Morphic without paying for third-party APIs?
Does Morphic support custom data indexing or RAG?
Is there a hosted version of Morphic I can use directly?
What happens if an LLM API goes down or rate-limits my requests?
Work with a software development agency
Adopting morphic is usually one piece of a larger software development effort. As a software development agency, DEV.co provides software development services and web development expertise — pairing senior software developers and web developers with your team to design, build, and operate ai frameworks software in production.
Ready to Deploy an AI Search Engine?
Morphic is production-ready for teams building generative UI search products or self-hosted enterprise applications. Start with Docker Compose, configure your LLM provider, and iterate. For managed infrastructure, professional support, or custom integrations, consult a DevOps or AI application specialist.