Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Encore

$ encore Official Med Risk
Encore · Cloud & Infra · MPL-2.0 · macos / linux / windows

encore compiles TypeScript or Go backend services and automatically provisions local Postgres, Pub/Sub, caches, and tracing via Docker during encore run and encore test. It supports --json log streaming and --browser=never for headless runs, though cloud deploys depend on Encore Platform.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
brew install encoredev/tap/encore
CLI vs MCP Decision CLI Preferred vs MCP

Compiler, local Docker infra orchestrator, and test runner (encore test, encore check); must run locally in the project workspace.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 18 / 25

Supports encore check, encore test, encore run --json --browser=never, and non-interactive Docker builds, though encore run is a long-running dev daemon and --json targets logs rather than all subcommands.

  • Supports encore run --json --browser=never and headless encore check
  • Daemon-oriented encore run requires Docker running locally
Trust & Safety 21 / 25

encore check and encore test run isolated locally; cloud provisioning only happens via explicit Encore Platform triggers.

  • Local validation (check, test, build docker) isolated from cloud
Setup & Portability 13 / 15

Cross-platform CLI via Homebrew/install script, but local infra provisioning requires Docker installed and running.

  • Requires local Docker daemon for DB/PubSub provisioning
Utility & Efficiency 14 / 15

Eliminates boilerplate docker-compose and migration plumbing during agent backend development.

  • Auto-provisions Postgres, Pub/Sub, and local tracing from code
Maintenance & Lineage 9 / 10

Official encoredev/encore CLI under MPL-2.0 with active releases.

  • Official vendor CLI (encoredev/encore) under MPL-2.0
Docs & Verifiability 9 / 10

Clean TypeScript and Go documentation at encore.dev/docs/.

  • Comprehensive CLI and framework docs at encore.dev/docs/

Security, Auth & Guardrails

Auth Modes
No Auth OAuth Browser Env API Key
Credential Storage

Stores Encore Cloud credentials under ~/.config/encore/; local encore run --browser=never and encore build docker can operate without cloud deploy auth.

Side Effects
Read-Only Local Write Remote Write Billing Impact
Cost & Quotas

CLI and framework are MPL-2.0 open-source; Encore Cloud hosting has free and paid tiers, while encore build docker self-hosts freely.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Encore Agent Rules
- Run `encore check` and `encore test` before attempting `encore run`.
- Always pass `--browser=never` and `--json` if starting `encore run` in headless agents.
- Never trigger `git push encore` or cloud deploys without explicit user approval.

Agent-Ready Command Recipes

Safe Read-Only Queries

Type-check and validate Encore architecture
encore check

Parses the Encore service graph, databases, and API schemas locally without starting containers.

Run tests with local ephemeral databases
encore test ./...

Executes test suites with auto-provisioned isolated test Postgres/Redis instances.

Controlled Writes & Previews

Build a self-contained Docker image locally
encore build docker myapp:local

Compiles the Encore app into a portable OCI/Docker image locally without deploying to Encore Cloud.

Strengths for Agents

  • + encore check validates service graphs, SQL migrations, and API types in seconds.
  • + Supports --json log streaming and --browser=never for headless encore run.
  • + encore build docker produces self-hostable containers without cloud lock-in.

Caveats & Pitfalls

  • ! Requires a running local Docker daemon for encore run and encore test.
  • ! Opinionated framework coupling; only useful for Encore Go/TypeScript repositories.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI