Prompt2Code is an advanced AI software engineer that can understand high-level human instructions, break them down into steps, research relevant information, and write code to achieve the given objective. Prompt2Code utilizes large language models, planning and reasoning algorithms, and web browsing abilities to intelligently develop software.
Prompt2Code aims to revolutionize the way we build software by providing an AI pair programmer who can take on complex coding tasks with minimal human guidance. Whether you need to create a new feature, fix a bug, or develop an entire project from scratch, Prompt2Code is here to assist you.
> Prompt2Code is modeled after [Devika](https://github.com/stitionai/devika) which was modeled after [Devin](https://www.cognition-labs.com/introducing-devin) by Cognition AI.
- 🤖 Supports **Claude 3**, **GPT-4**, **Gemini**, **Mistral** , **Groq** and **Local LLMs** via [Ollama](https://ollama.com). For optimal performance: Use the **Claude 3** family of models.
- 🧠 Advanced AI planning and reasoning capabilities
- 🔍 Contextual keyword extraction for focused research
- 🌐 Seamless web browsing and information gathering
- 💻 Code writing in multiple programming languages
- 📊 Dynamic agent state tracking and visualization
- 💬 Natural language interaction via chat interface
- 📂 Project-based organization and management
- 🔌 Extensible architecture for adding new features and integrations
## System Architecture
Read [**README.md**](docs/architecture) for the detailed documentation.
when you first time run Prompt2Code, it will create a `config.toml` file for you in the root directory. You can configure the following settings in the settings page via UI:
-`BING`: Your Bing Search API key for web searching capabilities.
-`GOOGLE_SEARCH`: Your Google Search API key for web searching capabilities.
-`GOOGLE_SEARCH_ENGINE_ID`: Your Google Search Engine ID for web searching using Google.
-`OPENAI`: Your OpenAI API key for accessing GPT models.
-`GEMINI`: Your Gemini API key for accessing Gemini models.
-`CLAUDE`: Your Anthropic API key for accessing Claude models.
-`MISTRAL`: Your Mistral API key for accessing Mistral models.
-`GROQ`: Your Groq API key for accessing Groq models.
-`NETLIFY`: Your Netlify API key for deploying and managing web projects.
- API_ENDPOINTS
-`BING`: The Bing API endpoint for web searching.
-`GOOGLE`: The Google API endpoint for web searching.
-`OLLAMA`: The Ollama API endpoint for accessing Local LLMs.
-`OPENAI`: The OpenAI API endpoint for accessing OpenAI models.
Make sure to keep your API keys secure and do not share them publicly. For setting up the Bing and Google search API keys, follow the instructions in the [search engine setup](docs/Installation/search_engine.md)