Ayoub Achak 3b98ed31e2 Adding LM Studio Support (#389) | 1 月之前 | |
---|---|---|
.assets | 7 月之前 | |
.github | 6 月之前 | |
benchmarks | 7 月之前 | |
docs | 6 月之前 | |
src | 1 月之前 | |
ui | 4 月之前 | |
.gitignore | 6 月之前 | |
ARCHITECTURE.md | 7 月之前 | |
CONTRIBUTING.md | 6 月之前 | |
LICENSE | 7 月之前 | |
Makefile | 7 月之前 | |
README.md | 6 月之前 | |
ROADMAP.md | 6 月之前 | |
app.dockerfile | 5 月之前 | |
devika.dockerfile | 4 月之前 | |
devika.py | 4 月之前 | |
docker-compose.yaml | 7 月之前 | |
requirements.txt | 1 月之前 | |
sample.config.toml | 1 月之前 | |
setup.sh | 7 月之前 |
[!IMPORTANT]
This project is currently in a very early development/experimental stage. There are a lot of unimplemented/broken features at the moment. Contributions are welcome to help out with the progress!
Devika 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. Devika utilizes large language models, planning and reasoning algorithms, and web browsing abilities to intelligently develop software.
Devika 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, Devika is here to assist you.
[!NOTE] Devika is modeled after Devin by Cognition AI. This project aims to be an open-source alternative to Devin with an "overly ambitious" goal to meet the same score as Devin in the SWE-bench Benchmarks... and eventually beat it?
https://github.com/stitionai/devika/assets/26198477/cfed6945-d53b-4189-9fbe-669690204206
Read README.md for the detailed documentation.
Version's requirements
- Python >= 3.10 and < 3.12
- NodeJs >= 18
- bun
To install Devika, follow these steps:
Clone the Devika repository:
git clone https://github.com/stitionai/devika.git
bash
cd devika
Create a virtual environment and install the required dependencies (you can use any virtual environment manager): ```bash uv venv
# On macOS and Linux. source .venv/bin/activate
# On Windows. .venv\Scripts\activate
uv pip install -r requirements.txt
4. Install the playwright for browsering capabilities:
```bash
playwright install --with-deps # installs browsers in playwright (and their deps) if required
Start the Devika server:
python devika.py
bash
root: INFO : Devika is up and running!
Now, for frontend, open a new terminal and navigate to the ui
directory:
cd ui/
bun install
bun run start
http://127.0.0.1:3001
To start using Devika, follow these steps:
Devika requires certain configuration settings and API keys to function properly:
when you first time run Devika, 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
We welcome contributions to enhance Devika's capabilities and improve its performance. To contribute, please see the CONTRIBUTING.md
file for steps.
If you have any questions, feedback, or suggestions, please feel free to reach out to us. you can raise an issue in the issue tracker or join the discussions for general discussions.
We also have a Discord server for the Devika community, where you can connect with other users, share your experiences, ask questions, and collaborate on the project. To join the Devika community Discord server, click here.
Devika is released under the MIT License. See the LICENSE
file for more information.
We hope you find Devika to be a valuable tool in your software development journey. If you have any questions, feedback, or suggestions, please don't hesitate to reach out. Happy coding with Devika!