Serverpod 4

Show HN: The first agentic coding engine that hot-reloads the full stack

Last verified:

Visit Serverpod 4

What is Serverpod 4?

Serverpod 4 is the first agentic coding engine that hot-reloads the full stack and can run locally on your computer. It provides sub-second stateful hot reload across the server, database, web, and app, closing the loop between your app's output, the backend, and your AI agent. The tool is written in Dart for the Flutter community and provides end-to-end type safety from the database to the client app.

Key features include an embedded Postgres database requiring no complex setup or Docker containers, a complete full-stack runtime for agentic coding, and a new MCP server that allows your AI agent to interact with the running server. The agent can create and apply database migrations, read logs, and even drive the app by taking and reviewing screenshots. The bundled rules and skills turn the AI agent into a senior Serverpod developer.

Serverpod 4 is designed for Flutter developers who want to build apps with native speed on any platform. You can add a method on the server and call it from your app as if it were a local method. The serverpod start command manages your full stack including the Flutter app, picking up changes to code, database schema, or frontend and instantly hot-reloading them without recompilation, restart, or wait time.

Serverpod 4 pricing

Pricing model: Freemium

Free and open source - completely free with no paid plans or tiers mentioned

Serverpod 4 pros

  • Sub-second stateful hot reload across server, database, web, and app
  • Runs locally on your computer
  • Free and open source
  • End-to-end type safety from database to client app
  • Embedded Postgres database with no complex setup needed
  • No Docker containers required
  • Call server methods from app like local methods
  • AI agent can create and apply database migrations
  • AI agent can read logs
  • AI agent can take and review screenshots of the app
  • Bundled rules and skills turn AI into senior Serverpod developer
  • Even lower-tier AI models understand how to write reliable testable code
  • serverpod start command manages full stack including Flutter app
  • Instant hot-reload without recompilation or restart
  • Native speed on any platform with Flutter frontend

Serverpod 4 cons

  • Still in tech preview stage with some issues to iron out
  • Not yet at final release
  • Requires Dart programming language knowledge
  • Primarily designed for Flutter community
  • AI agent dependency for agentic coding features
  • MCP server integration required for AI interaction
  • Limited to local development in preview
  • May require learning new bundled rules and skills

Frequently asked questions about Serverpod 4

What is Serverpod 4?

Serverpod 4 is the first agentic coding engine that hot-reloads the full stack and can run locally on your computer, providing sub-second stateful hot reload across the server, database, web, and app.

Is Serverpod 4 free?

Yes, Serverpod 4 is completely free and open source with no paid plans or tiers.

What programming language does Serverpod use?

Serverpod is written in Dart for the Flutter community, providing end-to-end type safety from the database to the client app.

What database does Serverpod 4 use?

Serverpod 4 includes an embedded Postgres database that requires no complex setup or Docker containers - everything just works.

How does hot reload work in Serverpod 4?

The serverpod start command manages your full stack including the Flutter app. Whenever you make a change to your code, database schema, or frontend, Serverpod picks up the changes and instantly hot-reloads them without recompilation, restart, or wait time.

How does AI integration work in Serverpod 4?

Your AI agent can interact with the running server through a new MCP server. It can create and apply database migrations, read logs, and even drive the app by taking and reviewing screenshots.

What is the MCP server in Serverpod 4?

The MCP server is a tried and tested integration that wires up your favorite AI agent with skills, allowing it to interact with the running server and perform various development tasks.

Can I call server methods from my Flutter app?

Yes, you can add a method on the server and call it from your app as if it were a local method, thanks to Serverpod's end-to-end type safety.

What platforms does Serverpod 4 support?

With Flutter for the frontend, your app runs at native speed on any platform, and Serverpod 4 runs locally on your computer.

When will Serverpod 4 be released?

Serverpod 4 is currently in tech preview. The team is still working hard to iron out the last couple of issues but is getting very close to a final release.

Categories

Use cases

Browse all AI tools on NeedAnAI