The Vibe Codder Agent is designed for users who want to create projects with minimal or no coding. It leverages OpenAIβs capabilities to assist in generating code and managing project environments.
`python latest_coding_agent.py`
================================================================================
Python Application Generator
================================================================================
Options:
1. Create a new Python application
2. Update an existing generated project
Enter your choice (1 or 2): 1
What would you like to build today? (Streamlit app or FastAPI service): streamlti
Project Description: streamlit
=== Gathering Requirements ===
Any Reference link eg doc:
Question 1: What kind of application do you want to build with Streamlit? For example, a data visualization app, a form submission app, or something else?
Your response: fluid visualization with mouse movment
Question 2: What type of fluid visualization are you looking to create? Is it a simulation of fluid dynamics, interactive visualizations using data, or something else? Additionally, what kind of data or input will drive the visualization?
Your response: yes
Question 3: Could you specify the type of data or parameters you want to use for the fluid dynamics simulation? Also, do you want users to be able to manipulate the simulation parameters in real-time using UI elements?
Your response: all
β
Requirements gathered (3 questions answered)
Project Type: Streamlit
Requirements Summary:
- Create a fluid dynamics visualization simulation using Streamlit.
- Allow users to interact with the simulation via mouse movement.
- Provide real-time parameter adjustment capabilities through UI elements.
- Ensure the application handles various input data types for the simulation.
=== Generating and Running Code ===
Attempt 1/3
Generated 2 files: app.py, requirements.txt
Run command: streamlit run app.py
Installing dependencies...
Dependencies installed successfully.
Starting application...
β
Application started successfully!
π You can access it at: http://localhost:8501
π Project location: ../generated_projects/project_20250325_074450
π» To run it again: streamlit run app.py
=== Success! ===
Your application has been generated and is ready to use.
Location: /run/media/limsim/extra/AGENT-CODE-SUPPORT/generated_projects/project_20250325_074450
pip install -r requirements.txt
.envcopy
to .env
(fill the env files)openai_client.py
for your suitable LLM.run_command.txt
file for instructions on how to start the application.The generated project will include:
README.md
: Instructions for using the project.requirements.txt
: List of dependencies.create_project_directory()
function to set up a new project directory with a timestamp.get_event()
function to interact with OpenAI and generate code based on user requirements.run_application()
function to start the application and capture output/errors.find_existing_projects()
function to list all previously generated projects.This project is licensed under the MIT License.
For any inquiries, please reach out to the project maintainer.
On old_version directory.
Streamlit and Fastapi is the best combo to make small app quickly.