Devika AI: Open Source Software Engineer - Download, Github
Devika AI is an open source AI software engineer that can understand high-level human instructions, break them down into steps, research relevant information, and generate the code for particular task. It uses Claude 3, GPT-4, GPT-3.5, and Local LLMs via Ollama.
Price: Free
Operating System: Windows, Linux
Application Category: AI Software Engineer
4
What is Devika AI?
Devika AI is an open source AI software engineer that can understand high-level human instructions, break them down into steps, research relevant information, and generate the code for particular task. It uses Claude 3, GPT-4, GPT-3.5, and Local LLMs via Ollama.
AI Engineer | Devika AI |
---|---|
Founder | Stitionai |
Category | Agentic AI Software Engineer |
Feature | Programming, Planning and Reasoning |
Download/Install | https://github.com/stitionai/devika |
Launch Date | 21 March 2024 |
Project Version | v1 |
Cost | Open Source (Free) |
Alternative | Devin by Cognition AI |
Devika Discord | Server Link |
Devika AI Features:
1. AI Planning and Reasoning:
Devika possesses powerful planning and reasoning capabilities. It can break down high-level human instructions into actionable steps, making it adept at tackling complex tasks.
2. Multi-Language Model Support:
Devika AI works with various language models, including Claude 3, GPT-4, GPT-3.5, and Local LLMs via Ollama. For optimal performance, the Claude 3 family of models is recommended.
3. Contextual Keyword Extraction:
It extracts relevant keywords from context, allowing it to focus its research efforts effectively.
4. Web Browsing and Information Gathering:
Devika can browse the web to gather up-to-date and relevant information. This feature enhances its ability to provide accurate responses.
5. Code Generation in Multiple Languages:
Whether it’s Python, Java, or any other language, Devika can generate code snippets tailored to your requirements.
6. Dynamic Agent State Tracking and Visualization:
Devika keeps track of its own state during interactions, ensuring a coherent and context-aware conversation.
7. Natural Language Interaction via Chat Interface:
Communicate with Devika using natural language. It understands your instructions and responds accordingly.
8. Project-Based Organization and Management:
Devika organizes work based on projects, making it easy to manage and collaborate on software development tasks.
9. Extensible Architecture:
Designed for flexibility, Devika allows easy integration of new features and enhancements.
- Open Source
- AI planning and reasoning capabilities
- Keyword extraction
- Code writing
- Natural language interaction
- Supports multiple programming languages
- Web Browsing
Devika AI Working
Devika AI works like a smart assistant for various tasks, designed to make complex processes simpler.
Here’s a breakdown of how it operates:
User Interface: Think of this as the face of Devika, where you interact with it. It’s a web-based chat interface where you can talk to Devika, check project files, and see what it’s up to.
Agent Core: This is the brain of Devika. It handles all the planning, decision-making, and execution processes. It talks to different parts of Devika to get things done efficiently.
Large Language Models: Devika is equipped with some really smart language models like Claude, GPT-4, and Local LLMs via Ollama.
Planning and Reasoning Engine: It takes big goals you give to Devika and breaks them down into smaller, manageable steps. It then decides the best way to tackle these steps based on what’s happening.
Research Module: When Devika needs more information to complete a task, it can search the web for relevant data.
Code Writing Module: This is where Devika’s coding skills come into play. If your task involves coding, Devika can generate code based on the plan it made and the information it found. It’s like having a coding buddy who writes code for you.
Browser Interaction Module: Devika can also surf the web! It can navigate websites, grab information, and interact with different parts of web pages. This comes in handy for tasks that require online research or data extraction.
Knowledge Base: This helps it work more efficiently and provide better assistance based on past experiences.
Database: All the project-related data, Devika’s state, and settings are stored in a database. This ensures that Devika remembers where it left off and can pick up tasks seamlessly.
How to Install Devika AI?
Sure, here’s a step-by-step guide on how to install Devika:
Prerequisites
Before installing Devika, ensure you have the following prerequisites installed on your system:
- Ollama: Follow the instructions here to install Ollama.
- Bun: Follow the instructions here to install Bun.
- Ensure you have Git, Python installed on your system.
Installation Steps
- Clone the Devika Repository: Open a terminal and clone the Devika repository from GitHub:
git clone https://github.com/stitionai/devika.git
- Navigate to the Project Directory: Change your current directory to the Devika project directory:
cd devika
- Install Required Dependencies: Install the required Python dependencies using pip:
pip install -r requirements.txt
- Install Playwright Dependencies (if required): Install browsers in Playwright along with their dependencies:
playwright install --with-deps
- Set up Configuration:
- Rename the
sample.config.toml
file toconfig.toml
. - Open
config.toml
in a text editor and update the following configuration options:SQLITE_DB
: Path to the SQLite database file for storing Devika’s data.SCREENSHOTS_DIR
: Directory where screenshots captured by Devika will be stored.PDFS_DIR
: Directory where PDF files processed by Devika will be stored.PROJECTS_DIR
: Directory where Devika’s projects will be stored.LOGS_DIR
: Directory where Devika’s logs will be stored.REPOS_DIR
: Directory where Git repositories cloned by Devika will be stored.WEB_SEARCH
: Default web search method (options:google
,bing
, orddgs
).BING
: Your Bing Search API key.GOOGLE_SEARCH
: Your Google Search API key.GOOGLE_SEARCH_ENGINE_ID
: Your Google Search Engine Id.CLAUDE
: Your Anthropic API key.NETLIFY
: Your Netlify API key.OPENAI
: Your OpenAI API key.
- Save and close the
config.toml
file.
- Start Devika Server: Run the Devika server using Python:
python devika.py
- Compile and Run the UI Server:
Navigate to the ui/
directory:
cd ui/
Install UI dependencies using Bun:
bun install
Run the UI server:
bun run dev
- Access Devika Web Interface: Open a web browser and navigate to
http://127.0.0.1:3000
to access the Devika web interface.
You’ve successfully installed Devika on your system. You can now start using Devika to interact with its AI capabilities for software development tasks.
How to use Devika AI to Create New Project?
Step 1: Open Devika Web Interface: Launch your preferred web browser and navigate to the Devika web interface.
Step 2: Create a New Project: Click on the “New Project” button within the interface. Provide a name for your project when prompted.
Step 3: Select Language and Model: Choose the programming language and model configuration suitable for your project from the options provided.
Step 4: Describe Objective: In the chat interface, provide a clear and concise high-level description of the task or objective you want Devika to work on.
Step 5: Initiate Task Processing: Once you’ve provided the objective, Devika will analyze it, break it down into actionable steps, and begin working on the task.
Step 6: Monitor Progress: You can track its actions, view generated code, and offer feedback or guidance as needed.
Step 7: Review Generated Code: Once Devika completes the task, review the code and project files it has generated.
Step 8: Refine and Iterate: If necessary, provide further instructions or modifications to refine the project.
Devika AI Discord Community
Join the Devika AI Discord Community to connect with fellow users, share experiences, ask questions, and collaborate on the project. As Devika is currently in its early development stage, there may be unimplemented or broken features. Contributions are encouraged to help advance the project. Click here to join the Devika community Discord server.
FAQs:
What is Devika AI?
Devika AI is an advanced software engineering assistant developed by Stition.ai . It can understand high-level human instructions, conduct research, and generate code to accomplish various software development tasks.
How does Devika AI work?
Devika AI uses state-of-the-art language models and reasoning algorithms to analyze user input, break down tasks into actionable steps, conduct research, and generate code in multiple programming languages.
Is Devika AI suitable for all levels of programmers?
Devika AI is designed to assist programmers of all skill levels, from beginners to experienced developers. It can help with tasks ranging from simple bug fixes to complex feature development.
How can I create a new project from scratch using Devika AI?
First you need to install Devika AI in PC by following the Installation guide. Setup the API Keys. Open the Devika AI web interface and start your new project.
How to Install Devika AI in Local PC/Laptop?
- Prerequisites: Install Git, Python, and Ollama on your system before proceeding.
- Clone Repository: Use Git to clone the Devika repository to your desktop.
- Install Dependencies: Navigate to the Devika folder and install required dependencies.
- Configure APIs: Set up API keys for necessary services by editing the config.yml file.
- Start Devika Server: Launch the Devika server using the provided command.
- Compile and Run UI: Access Devika’s frontend and backend functionalities by compiling and running the UI.
Can I contribute to Devika AI’s development?
Yes! Devika AI is an open-source project, and contributions are welcome.