Fastapi dapr agent

From NaveedTechLab/skills-library · View interactive version

Fastapi dapr agent is an AI agent skill from the GitHub repository NaveedTechLab/skills-library. Scaffold and deploy FastAPI microservices with Dapr sidecars. Use when Claude needs to create stateless FastAPI microservices with Dapr integration for service invocation and pub/sub. No business logic authoring - focus on scaffolding and deployment patterns only.

How to use this skill

Skill file

FastAPI Dapr Agent

This skill scaffolds FastAPI microservices integrated with Dapr (Distributed Application Runtime) and AI Agents. It generates production-ready service code, Dapr component configurations, and deployment manifests so you can start building distributed logic immediately rather than wiring infrastructure.

Use this skill when creating new stateless FastAPI services that need Dapr-managed state, pub/sub, or service invocation.

Quick Start

# Scaffold a new Dapr-enabled FastAPI service
/fastapi-dapr-agent service_name=notification-service

# Output:
# - app/main.py (FastAPI routes)
# - components/statestore.yaml
# - components/pubsub.yaml
# - Dockerfile
# - deploy/k8s/deployment.yaml

Key Features

Process

  1. Generate the FastAPI service code with Dapr SDK calls
  2. Create necessary Dapr sidecar configurations
  3. Set up state management and pub/sub messaging patterns
  4. Output Dockerfile and Kubernetes manifests

The scaffolding is handled by the supporting scripts which provide templates for all components listed above.

When NOT to Use This Skill

Common Mistakes

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.