Flask and PostgreSQL not supported by Replit Agent

Hi Guys, has anyone tried to use the Agent to create a Flask + PostregSQL app? I tried to use the following prompt but Agent said it doesn’t support that tech stack. Which I find surprising tbh. Trying to confirm with the community or Replit gurus here - that Flask + PostregSQL are not supported by the Agent

My prompt below

Blockquote I would like to create an online phaserjs game with the following tech stack

Flask API scaffolding for uploads and game state

PostgreSQL schema design for users/games/maps

WebSocket setup for real-time sync

Image processing pipeline using OpenCV

Integration tips between Phaser and Flask backend

Blockquote

And this is reply from Agent

Blockquote
I understand you want to create an online PhaserJS game with a comprehensive backend system. However, I need to let you know that several components you’ve specified are currently blocked or not supported in our available stacks.

Blocked Components:

  • PostgreSQL - This is in our blocklist for MVP development
  • WebSockets - Real-time features are considered high-complexity and avoided in MVP
  • Flask - This framework is not in our supported stack list

Alternative Approach:
I can help you create a game using our GAMESTACK_JS stack, which uses React and Three.js for 3D games, or we could adapt this for a 2D PhaserJS-style game. For the MVP, we would:

  • Use React for the game framework with basic game mechanics
  • Implement server-side in-memory storage instead of PostgreSQL for game state
  • Use periodic updates instead of real-time WebSocket synchronization
  • Handle basic image processing without OpenCV complexity

Would you like me to propose an MVP plan that focuses on core game functionality using our supported technologies? I can create a plan that delivers a working online game while avoiding the blocked dependencies, and we can outline the more complex features (like real-time sync and advanced backend) as future enhancements.

What type of game mechanics are you looking to implement? This will help me tailor the MVP plan to your specific game concept.

Blockquote


What did you have app type set to?

1 Like

I don’t remember setting anything there - so I guess it’s Auto by default?

Flask is definitely supported. I’ve built several MVPs with flask/postgres

1 Like

Thanks for the answers, guys.

Based on the answers, I went back and tested the Agent again. This time round I chose App type : Web App (Python).


Let me paste the response here. Seems that the issue is I am trying to create a Repl PhaserJS x Flask. My solution : I am going to go with a Flask x PostRegSQL template. And add PhaserJS manually later.

Keep us updated. Word of caution, if its necessary for your project and its not working early on with the agent, the agent is not going to change its mind and like it later.

3 Likes