feat: add Pydantic AI extended sample#639
Open
simple-agent-manager[bot] wants to merge 2 commits intomainfrom
Open
feat: add Pydantic AI extended sample#639simple-agent-manager[bot] wants to merge 2 commits intomainfrom
simple-agent-manager[bot] wants to merge 2 commits intomainfrom
Conversation
Multi-service AI app with Pydantic AI, FastAPI, PostgreSQL (pgvector), and Redis. Follows the same architecture as mastra-extended: - FastAPI web app with copilot chat UI - Background worker for seed generation, classification, and embedding - Pydantic AI agent with tools for ticket/alert inspection and semantic search - Docker Model Runner support for local development - Defang managed Postgres, Redis, and LLM model providers Closes #638 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
get_tickets,get_alerts,get_tags,search_items) inspects database state before answering questionscompose.dev.yaml) and Defang managed model providers for deployment (compose.yaml)Architecture
appworkerpostgresredischatembeddingCloses #638
Screenshots
Playwright screenshots captured against the sample UI with successful mocked API responses, after fixing the chat composer layout. Screenshot assets are on temporary branch
sam/pydantic-ai-extended-screenshots-01kr0y.Dashboard
Copilot chat
Mobile
Test plan
python3 -m compileall appdocker compose -f compose.dev.yaml up --buildstarts all services (blocked in this workspace:docker,podman, PostgreSQL, Redis, and/var/run/docker.sockare unavailable)🤖 Generated with Claude Code
Samples Checklist
✅ All good!