the-momentum/python-ai-kit ? reverse-engineered prompt

Reverse engineered prompt

Build me a production ready Python starter for an AI agent app that can also work as a small API service or MCP server.

I want the project to feel ready for real work, with a clean structure, good testing, logging, tracing, and a simple way to keep conversation state between sessions. It should include a basic agent workflow, a place for prompts, and a clear service layer so I can add tools and business logic without everything turning into one giant file.

Please set it up so I can use it as a template for future projects, with modern Python tooling, FastAPI for the API side, database backed storage, and a small Streamlit style interface if that fits. Add sensible defaults for security, error handling, and configuration, and make sure it is easy to extend into either an AI agent, a microservice, a monolith, or an MCP server.

If you need to check current docs for any libraries or best practices, go ahead and look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab