Search docs

Templates

AI Chatbot

Generate a chatbot scaffold with a supported framework and provider.

Best for: customer support bots, study assistants, conversational AI tools.

Prompts:

text
? Choose a framework (Use arrow keys)
 » pydantic-ai
   openai-sdk
   litellm

? Choose a provider (Use arrow keys)
 » openai
   anthropic
   gemini
   openrouter
   ollama
   groq

? Choose extras (space to toggle, enter to confirm)
 ● ruff
 ● pytest
 ○ rich
 ○ github-actions
 ○ pre-commit
 ○ mypy

Available extras: ruff pytest rich github-actions pre-commit mypy

Run it:

bash
cd my-chatbot
# Add your provider's API key to .env
uv run python -m src.main

Captured project structure#

These paths come from the verified Spawn v1.2.0 chatbot capture (22 files). This recorded run used --no-git --no-uv; selecting setup tools can add files.

text
ledger-chat/
├── .env.example
├── .gitignore
├── .spawn/
│   └── meta.json
├── AGENTS.md
├── CHANGELOG.md
├── LICENSE
├── README.md
├── src/
│   ├── __init__.py
│   ├── chatbot/
│   │   ├── __init__.py
│   │   └── chat.py
│   ├── config/
│   │   ├── __init__.py
│   │   └── settings.py
│   ├── main.py
│   ├── memory/
│   │   ├── __init__.py
│   │   └── history.py
│   ├── prompts/
│   │   ├── __init__.py
│   │   └── system.txt
│   └── providers/
│       ├── __init__.py
│       └── llm.py
└── tests/
    ├── __init__.py
    ├── conftest.py
    └── test_chatbot.py
ESC