Agentic Python Backends (FastAPI and Django)

Python backends often grow from quick scripts into critical services. In this one-day workshop you use coding agents to build endpoints, data models, migrations and tests in FastAPI or Django. You learn how typing, linting and automated tests give agents fast feedback, and how reviewers catch what the feedback loop misses.

Request without obligation

Deutsche Version

Duration
1 day
Level
Intermediate
Format
Remote or on-site, English or German
Group size
Up to 12 participants per trainer

Who it is for

  • Python backend developers
  • Teams running FastAPI or Django services
  • Data and platform engineers who maintain APIs
  • Tech leads setting standards for Python projects

What your team will be able to do

  • Prepare a Python project so agents can run linters, type checks and tests themselves
  • Implement endpoints, schemas and models with agent support
  • Plan and review database migrations safely
  • Write pytest suites with meaningful assertions
  • Review agent code for injection risks, N+1 queries and missing authorisation

Agenda

  1. Feedback loops for agentsConfigure formatting, type checking and test commands so the agent can verify its work.
  2. Endpoints and schemasBuild an API feature with request validation, response models and error handling.
  3. Data and migrationsChange the data model, generate a migration and review it for risk before it runs anywhere important.
  4. Testing with pytestWrite unit and API tests and probe them for false confidence.
  5. Review checklistApply a security and performance checklist to the agent's pull request.

Prerequisites

  • Solid Python knowledge and basic web framework experience
  • A laptop with Python and a virtual environment tool

Why apprat.io workshops

  • Taught by practising AI Code Engineers
  • Your repositories or a sandbox project
  • AI speed, human responsibility: review, security and governance included
  • ISO 9001 & ISO/IEC 27001 certified processes
  • Follow-up office hours after 30 days

Request without obligation

Tell us about your team and goals. We reply within one business day with a tailored agenda and a quote – free and without obligation.

24/7 call support in English & German:
+49 761 519 751 50

Frequently asked questions

Do we work with FastAPI or Django?

We choose according to your stack. Exercises are available for both and share the same workflow.

Is a database required?

A local database is part of the exercises. We help you set it up before the workshop.

Can this include async code?

Yes, async patterns are covered where your stack uses them.

Fields marked * are required.