Fleet 1.13:Teams are now shipping 5x more PRs with autonomous pipelines.See what's new →
FleetFleet
Agent templateEngineering

Backend Developer AI Agent (Template)

A backend developer agent handles server-side implementation work: writing business logic, designing service boundaries, and maintaining the data layer. In a fleet, it picks up tickets marked ready and produces pull requests without waiting for a human to start the work.

A role-specific prompt matters because backend work has strong conventions: how your team structures service layers, which error types get wrapped vs. surfaced, whether you use repository pattern or active record. A generic coding agent ignores those contracts; a backend agent tuned to your codebase follows them from the first commit.

What this agent owns

  • Implement API endpoints, service methods, and background jobs from ticket specifications
  • Write and maintain unit and integration tests for business logic
  • Review data models and migration files for correctness before opening a pull request
  • Enforce service-layer contracts and error-handling conventions across changes
  • Respond to code review feedback and iterate on pull requests until merged

Recommended model: Claude Sonnet

Most backend implementation tasks are well-defined enough that Sonnet produces correct, idiomatic code without needing Opus-level reasoning.

Example tasks

  • Add a paginated list endpoint with cursor-based pagination
  • Refactor a God object into smaller services with clear interfaces
  • Write a database migration and accompanying rollback script
  • Implement a retry queue for failed webhook deliveries
# create an agent from this template, then start it
$ fleet agent create --name backend-developer--vendor claude-code --template <template-name>
$ fleet agent start backend-developer

Find the exact template name with fleet template list.

Run this agent in your fleet

One binary. Five minutes. See every agent, coordinate every handoff, and keep a full audit trail of what your fleet did.