Devika AI: Open Source Alternative to Devin AI
Himanshu Tiwari
?? Innovative Software Engineer & DevOps Specialist | Founder @ CollabNation | Research Intern - AU & CCU ???? | Empowering Tech Communities ?? | Building Trustworthy AI Solutions ?? | MS in Cloud Computing @ NTUST ????
Devika AI is an advanced artificial intelligence software engineered to assist in software development tasks by understanding high-level human instructions, decomposing them into actionable steps, conducting research, and writing code to meet specific objectives. It incorporates cutting-edge technologies such as large language models, planning and reasoning algorithms, contextual keyword extraction, web browsing capabilities, and the ability to write code in multiple languages. This comprehensive guide aims to elucidate the process of installing Devika AI on your system, ensuring you can seamlessly leverage its capabilities for your software development needs.
Prerequisites for Installing Devika AI
Before diving into the installation process, ensure your system meets the following prerequisites:
Step-by-Step Installation Guide
Follow these detailed steps to install Devika AI:
Step 1: Clone the Repository
Open a terminal window and navigate to the directory where you wish to install Devika. Clone the Devika repository from GitHub using the command:
git clone https://github.com/stitionai/devika.git
Step 2: Navigate to the Cloned Directory
Change to the cloned Devika directory with:
cd devika
Step 3: Install Dependencies
Inside the Devika directory, install the required dependencies by executing:
pip install -r requirements.txt
playwright install --with-deps # Installs browsers in Playwright (and their dependencies) if required
Step 4: Set up API Keys (Optional)
Devika can enhance its functionality using various APIs. If you plan to use such features, you must obtain the necessary API keys and configure them in the 'config.toml' file. Refer to the Devika documentation for detailed instructions on API key setup.
领英推荐
Step 5: Start the Devika Server
Launch the Devika server with the following command:
python devika.py
This command initiates the backend server responsible for processing tasks.
Step 6: Run the UI
Devika features a user interface (UI) as a separate application. Navigate to the 'ui' folder within the Devika directory:
cd ui
Start the UI server using the command:
bun run dev
This will launch the UI in your web browser, typically accessible at https://localhost:3000/. You are now ready to interact with Devika through its chat interface.
Devika AI System Architecture Overview
Devika AI's system architecture is comprised of various critical elements, including a user interface for interaction, an agent core for orchestrating AI planning and execution, large language models for understanding and reasoning, and modules for planning, research, code writing, browser interaction, knowledge base management, and data persistence. This architecture ensures a robust and efficient framework for assisting software development tasks.
By following these steps and understanding the system architecture, you can effectively install and utilize Devika AI to revolutionize your software development process, making it more efficient and innovative.
ConcertAI. Data Analyst. Data Engineer
7 个月Congratulations. I am also working on a similar product.
GEN AI Evangelist | #TechSherpa | #LiftOthersUp
7 个月Excited to dive into this comprehensive guide on Devika AI! Himanshu Tiwari