fastapi-chat-skill

Community

Deploy production-grade FastAPI chat backend

AuthorAqsagull99
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a production-ready FastAPI backend to handle AI-powered chat conversations, persist conversations, and orchestrate MCP tool execution for Todo-style chatbots.

Core Features & Use Cases

  • Chat Endpoint: Stateless API to process user messages and return AI responses with optional tool calls.
  • Request/Response Models: Clear schemas for chat requests and structured responses including tool call logs.
  • Database Models: Lightweight persistence for conversations and messages enabling history-aware interactions.
  • Chat Service: Orchestrates conversation lifecycle, history retrieval, and agent execution.
  • Agent Integration: Integrates OpenAI Agents SDK to drive task automation via MCP tools, returning tool results and final responses.

Quick Start

Install dependencies and start the FastAPI server. For example, install the package, set OPENAI_API_KEY, and run the app with Uvicorn:

  • Install dependencies: pip install -e .
  • Set environment variables: OPENAI_API_KEY, OPENAI_MODEL, DATABASE_URL
  • Run the app: uvicorn app.main:app --reload You can then access API docs at http://localhost:8000/docs

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: fastapi-chat-skill
Download link: https://github.com/Aqsagull99/hackathon-2-todo-app/archive/main.zip#fastapi-chat-skill

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.