Encore
Docs
Pricing
★12K+Sign inGet started
★12k+
Encore

Stay in touch

Product updates and engineering deep-dives.

DiscordGitHubYouTube

© 2026 Encore

Product
Encore PlatformEncore Platform
Encore.tsEncore.ts
Encore.goEncore.go
InstallInstall
PricingPricing
Systems Operational
Customers
Case StudiesCase Studies
ShowcaseShowcase
Book a DemoBook a Demo
Resources
DocsDocs
BlogBlog
Example AppsExample Apps
GuidesGuides
ComparisonsComparisons
ArticlesArticles
GitHub ReleasesGitHub Releases
Company
AboutAbout
Swag ShopSwag Shop
ContactContact
JobsJobs
PressPress
SecuritySecurity
Legal
TermsTerms
Privacy PolicyPrivacy Policy
Data Processing AgreementData Processing Agreement
Enterprise SLAEnterprise SLA

// Open source

Infrastructure SDK for building
distributed systems in 

Define services and infrastructure in code using structured patterns.
Encore automates provisioning, wiring, documentation, and observability.

★12k+100+ contributors
Get started

Install the Encore CLI with `brew install encoredev/tap/encore`, then run `encore app create my-app` and follow the prompts to scaffold a new backend and help me explore how to build with encore.

Copy

Paste into your coding agent to install Encore and scaffold an app.

Cursor
url/url.go
1package url
2
3import (
4 "context"
5)
6
7//encore:api public method=POST path=/url
8func Shorten(ctx context.Context, p *ShortenParams) (*URL, error) {
9 id := generateID()
10 _, err := pool.Exec(ctx,
11 "INSERT INTO urls (id, url) VALUES ($1, $2)", id, p.URL)
12 if err != nil { return nil, err }
13 return &URL{ID: id, ShortURL: "/url/" + id}, nil
14}
15
16//encore:api public method=GET path=/url/:id
17func Get(ctx context.Context, id string) (*URL, error) {
18 var url string
19 err := pool.QueryRow(ctx,
20 "SELECT url FROM urls WHERE id = $1", id).Scan(&url)
21 if err != nil { return nil, err }
22 return &URL{URL: url}, nil
23}
Existing codebase
Terminal
❯
Encore Local Development Dashboard
localhost:9400/url
Run `encore run` to see architecture
“What used to take days or weeks of back-and-forth between developers and infra teams is now automated and completed in minutes.”
Josef Sima, Engineering Director at Groupon→
2–3xfaster development speed
90%shorter time to market
// POWERING DEVELOPMENT AT
GrouponPave BankBookshop.orgCoinbasePalletGradient Labs

Define your infrastructure as type-safe objects in code

Declare what your application needs directly in Go, and Encore automatically provisions it across local development, preview environments, and production.

database
✔PostgreSQL database provisioned & migrated
Databases →Pub/Sub →Cron Jobs →Object Storage →Secrets →Caching →

Automated local infrastructure

Encore automatically provisions all local infrastructure: databases, Pub/Sub, caches, and more.
No Docker Compose. No config files. No manual setup.

~/orders — encore run
$▍
→Your API is running at: http://127.0.0.1:4000
→Development Dashboard URL: http://127.0.0.1:9400/project-aq6i
→MCP SSE URL: http://127.0.0.1:9900/sse?appID=project-aq6i

Local Infrastructure

No config files, no Docker Compose, no Pub/Sub emulators needed

Hot Reload

Code changes reflected immediately, no restarts needed

Local Dev Dashboard

Explore your app's architecture, APIs, traces, and databases in real-time

An SDK you and your AI will love

Encore provides structured patterns and built-in infrastructure guardrails, so you and your AI can build production-grade distributed systems with confidence.

✓
Infrastructure Generation
Robust patterns for integrating databases, pub/sub, cron jobs, and more. Encore runs everything locally for you and provisions it seamlessly in preview and production
✓
MCP for Introspection
Built-in MCP server lets AI understand your services, APIs, schemas, and traces
✓
Standardization & Guardrails
Encore's compiler ensures generated code follows established service structures and API conventions
MCP Server →AI Instructions →Quick Start →

Turn functions into APIs
with one line of code

Add the //encore:api annotation to a Go function and Encore generates all communication boilerplate at compile-time.

hello.go
✔API defined - Encore generates boilerplate at compile-time
APIs →Services →Modular monolith →

Built-in local developer tools

From your application code, Encore automatically generates documentation and architecture diagrams, and provides distributed tracing out of the box.

Service Catalog

Service Catalog with API explorer and auto-generated docs from your Go types.

Architecture Diagrams

Real-time architecture diagrams showing services, APIs, databases, Pub/Sub topics, and their connections.

Distributed Tracing

Built-in tracing for API calls, database queries, and Pub/Sub messages — no instrumentation needed.

Works with your existing stack

  • AWS
  • GCP
  • DigitalOcean
  • Neon
  • Temporal
  • Kubernetes
  • Datadog
  • Grafana
  • Next.js
  • Remix
  • Astro
  • Vue
  • Svelte
  • Prisma
  • Gorm
  • Connect
  • GitHub
  • Vercel
  • Netlify
  • AWS
  • GCP
  • DigitalOcean
  • Neon
  • Temporal
  • Kubernetes
  • Datadog
  • Grafana
  • Next.js
  • Remix
  • Astro
  • Vue
  • Svelte
  • Prisma
  • Gorm
  • Connect
  • GitHub
  • Vercel
  • Netlify

Loved by teams
who refuse to slow down

"Encore is our foundation for all new development. Since adopting it, we've seen a 2-3x increase in development speed and 90% shorter project lead times."
GrouponJosef Sima · Engineering Director
"Encore lets us go from idea to shipped product at least 3x faster and saves us hours of devops work every week."
EchoWill · Co-founder
"We've reduced time spent on DevOps by 95%, and we're now on track to save $60K annually in cloud costs."
Bookshop.orgMason Stewart · CTO
"Encore is an unfair advantage. At Pave we've moved 2x faster than we did at Monzo."
Pave BankSimon Vans-Colina · CTO
"We're saving $200k+ annually compared to additional hiring. The ROI is outstanding, easily 10x."
CarlaDaniel Stocks · CTO
"You define infrastructure in your code and it's automatically spun up for you. You can go from zero to a deployed service on GCP in an hour. I don't know how else to do it."
PalletNilkanth Patel · CTO
"Encore's inferred infrastructure has allowed us to move at unprecedented speed. Combined with database branching in Neon, we're able to spin ephemeral environments up and down with incredible ease. Stakeholders love preview app URLs."
LaterJustin Foley · VP of Engineering
View all storiesSee how teams ship faster→

Join the growing community building with Encore

              Discord

              Hang out with other Encore developers

              Join →2k+ Members
              GitHub

              Star and contribute to the project

              Star →12k+ Stars
              Twitter

              Follow along on X

              Follow →
              YouTube

              Watch tutorials and talks

              Watch →

              Start with a template

              Get up and running quickly with starter templates and tutorials.

              URL Shortener
              URL Shortener
              REST API with PostgreSQL database
              Slack Bot
              Slack Bot
              Cowsay bot integrated with the Slack API
              Event-Driven System
              Event-Driven System
              Uptime monitoring with Pub/Sub and Cron Jobs
              OpenAI Chat Bot
              OpenAI Chat Bot
              Bots powered by OpenAI, integrated with Discord and Slack
              Example Apps →All Templates →

              Features

              TracingType-safe API schemasRedact Sensitive DataMCP ServerAI InstructionsCORS handlingStructured loggingAuthenticationAPI Client generationPub/Sub integrationsObject Storage integrationsSecrets managementDatabase integrationsAutomatic local infrastructureArchitecture DiagramsLocal Development DashboardService CatalogAutomated testingDebuggingError handlingMiddlewareCachingMockingDependency injectionRequest validationConfigurationMetadataWebSockets

              Get started now

              Get started

              Install the Encore CLI with `brew install encoredev/tap/encore`, then run `encore app create my-app` and follow the prompts to scaffold a new backend and help me explore how to build with encore.

              Copy

              Paste into your coding agent to install Encore and scaffold an app.