Devika AI is an artificial intelligence software engineer.



Devika AI is an artificial intelligence software engineer.

Created By AI Engineer Sahaj Godhani 2 April 2024

Devika AI introduces an open-source AI software engineer who aims to reinvent the software development process. This advanced AI system is capable of interpreting complex human commands, breaking them down into simple tasks, conducting extensive research, and writing code to achieve specified objectives. Devika AI emerges as a powerful open-source alternative with the Devika Open Source Community: Devika is an open-source work that depends significantly on its community for growth and development.

Devika AI has impressive capabilities for navigating

Devika AI has impressive capabilities for navigating the complexity of software engineering, including:

AI-Driven Planning and Reasoning: It breaks down large objectives into small stages.
Real-Time Progress Monitoring: Users can monitor Devika’s progress by viewing a dynamic depiction of its operational status.
Contextual Keyword Extraction: This feature sharpens its focus on material relevant to the work at hand.
Devika promotes project-centric structure and management, therefore optimizing workflow.
Flexible Architecture: The system is designed to support additional features and integrations, assuring adaptability.
Multilingual Code Generation: It can write code in multiple programming languages.
Devika adeptly navigates the internet to gain insights into programming topics and solutions.
Conversational Interface: The chat interface is user-friendly and facilitates natural language communication.

System Architecture of Devika AI:

Devika’s framework is methodically crafted from several important components that work together to unlock its programming abilities.

User Interface: A web-based chat platform allows users to connect directly with Devika, manage project files, and track the agent’s progress in real-time.
Agent Core: At the heart of Devika’s operations, this central unit oversees the AI’s planning, reasoning, and execution stages, providing smooth coordination across multiple sub-agents and modules to complete tasks.
Large language models: Devika gets a deep comprehension of natural language by incorporating advanced language models like Claude, GPT-4, and Local LLMs through Ollama. This allows it to generate and reason with human-like text.
Planning and Reasoning Engine: This critical engine breaks down complex goals into achievable activities and strategizes based on the situational environment, leading the decision-making process.
This module is adept at gathering important information required for task completion by utilizing keyword extraction and intelligent online searching.
Code Writing Module: This module, which supports a variety of programming languages, is tailored to generate code that is consistent with the project plan, research findings, and unique user requirements.
Devika may use the Browser Interaction Module to explore the web quickly, extracting data and engaging with online information, allowing for dynamic interactions with websites and online resources.
Knowledge Base This component serves as Devika’s repository for project-specific data, code snippets, and collected expertise, ensuring information is easily accessible and efficiently maintained.
Database: This fundamental component ensures the integrity and consistency of project data, agent statuses, and configuration settings, protecting the system’s overall stability and reliability.

Devika is at the forefront of AI-assisted software engineering innovation, providing a step forward in terms of more accessible, efficient, and intelligent developer tools. Devika’s advanced features and adaptable design not only compete with established AI engineers like Devin but also welcome the larger development community to contribute to its advancement, making the future of software creation more collaborative and imaginative.

Quick Start Guide for Using Devika as Your AI Programmer

To start working with Devika right away, please follow the steps mentioned below:

Step 1: Clone the Devika GitHub repository using the following command:

git clone https://github.com/Sahaj777/devika-ai-SDE

Step 2: Install the required dependencies by entering the Devika directory and running the pip command:

cd devika pip install -r requirements.txt

Step 3: In the sample.config.toml file, configure the relevant API keys and settings based on your requirements.

[STORAGE]
SQLITE_DB = "data/db/devika.db"
SCREENSHOTS_DIR = "data/screenshots"
PDFS_DIR = "data/pdfs"
PROJECTS_DIR = "data/projects"
LOGS_DIR = "data/logs"
REPOS_DIR = "data/repos"

[API_KEYS]
BING = "<YOUR_BING_API_KEY>"
GOOGLE_SEARCH = "<YOUR_GOOGLE_SEARCH_API_KEY>"
GOOGLE_SEARCH_ENGINE_ID = "<YOUR_GOOGLE_SEARCH_ENGINE_ID>"
CLAUDE = "<YOUR_CLAUDE_API_KEY>"
OPENAI = "<YOUR_OPENAI_API_KEY>"
GEMINI = "<YOUR_GEMINI_API_KEY>"
MISTRAL = "<YOUR_MISTRAL_API_KEY>"
GROQ = "<YOUR_GROQ_API_KEY>"
NETLIFY = "<YOUR_NETLIFY_API_KEY>"

[API_ENDPOINTS]
BING = "https://api.bing.microsoft.com/v7.0/search"
GOOGLE = "https://www.googleapis.com/customsearch/v1"
OLLAMA = "http://127.0.0.1:11434"

[LOGGING]
LOG_REST_API = "true"
LOG_PROMPTS = "false"

Step 4: Launch the Devika server using the following command:

Python devika.py

Step 5: Open your web browser and navigate to Devika’s online interface at http://localhost:3000.

Installing Devika locally requires the following prerequisites:

Python version 3.7 or higher
Node.js version 14 or higher.
Bun (JavaScript runtime)
Git

With the criteria established, proceed as follows:

Step 1: Clone the Devika repository with Git.

git clone https://github.com/Sahaj777/devika-ai-SDE

Step 2: Enter the project directory.

cd devika

Step 3: Install the Python requirements.

pip install -r requirements.txt

Step 4: Install JavaScript requirements by going to the UI directory and executing Bun.

cd UI Bun Install

Step 5: Ensure that the sample.config.toml file contains all of the relevant API keys and configuration variables.

Devika AI requires exact configuration settings and API credentials to function properly. The configuration.toml file will contain settings such as:

OPENAI_API_KEY: This is your OpenAI API access key.
GITHUB_ACCESS_TOKEN: This is your access token for GitHub repository interactions.
Your Netlify API key for managing web projects.
PROJECTS_DIR: The directory where Devika stores project files and data.
Make sure these API keys are in place, and update the settings as appropriate for your configuration.

Reference for GitHub Demo

Inside Devika: The Open-Source AI That Rivals Devin AI

Devika is built using a variety of complex AI approaches and algorithms, allowing it to excel at intelligent programming jobs. This section focuses on the main mechanics and elements that enable Devika:

Devika uses AI planning algorithms to simplify complex goals into manageable activities. This includes understanding the user’s objectives, gathering relevant information, and developing a thorough plan to achieve the given goals.

Devika uses natural language processing (NLP) to extract relevant keywords and phrases from input and research data. These keywords are critical in driving the research phase, ensuring the relevance and precision of the code generated.

Bestseller No. 1
Pwshymi Printhead Printers Head Replacement for R1390 L1800 Printhead R390 R270 R1430 1400 for Home Office Printhead Replacement Part Officeproducts Componentes de electrodomésti
  • Function Test: Only printer printheads that have...
  • Stable Performance: With stable printing...
  • Durable ABS Material: Our printheads are made of...
  • Easy Installation: No complicated assembly...
  • Wide Compatibility: Our print head replacement is...
Bestseller No. 2
United States Travel Map Pin Board | USA Wall Map on Canvas (43 x 30) [office_product]
  • PIN YOUR ADVENTURES: Turn your travels into wall...
  • MADE FOR TRAVELERS: USA push pin travel map...
  • DISPLAY AS WALL ART: Becoming a focal point of any...
  • OUTSTANDING QUALITY: We guarantee the long-lasting...
  • INCLUDED: Every sustainable US map with pins comes...

Devika’s web browsing capability searches the internet for programming knowledge, libraries, and solutions based on the task requirements. It effectively navigates online pages, gathering and synthesizing data to guide its code production efforts.

Devika uses advanced language models and code generation algorithms to create efficient and functional code in several programming languages. It uses gathered information, industry best practices, and coding standards to create clean, intelligible, and permanent code.

Devika’s agent-based platform enables modular and scalable development. Each agent is responsible for a specific aspect of the software development cycle, such as planning, research, coding, debugging, and reporting, to ensure that the user receives a complete solution.

Engaging with the Devika Open Source Community:

Devika is an open-source work that depends significantly on its community for growth and development. Here’s how to participate and contribute:

GitHub Issues: Use the Devika GitHub repository to report bugs, suggest features, or discuss enhancements. The community and maintainers work together to address these concerns.
Pull requests: To contribute code changes, updates, or new features, create a pull request on GitHub. Contributors are encouraged to those with limited coding experience, fostering diversity and innovation.

Shift in Programmer Roles: Developers may transition from routine coding tasks to focusing on higher-level design, problem-solving, and system management. Devika’s automation of mundane tasks will enable developers to channel their creativity and expertise more effectively.

Increased Collaboration: Devika’s involvement in technical aspects will facilitate smoother collaboration between programmers and stakeholders, enhancing communication and alignment on project objectives by following contribution rules and providing clear descriptions of their improvements.
Discord Servers: The Devika Discord group is an opportunity for developers to network, share ideas, seek help, and keep up with the latest advancements. It’s a fantastic tool for communication and support.

What to Expect From Devika’s AI Future:

Devika AI’s future includes great promise, with the potential to fundamentally change the landscape of software development. Let’s look at what is ahead:

Advancements in functionality Devika’s code creation capability will soon explode, full modules or functionalities that can solve even the most complex programming requirements.

Integration with Development Tools: To streamline processes, Devika is expected to easily connect with popular development tools and Integrated Development Environments (IDEs), allowing developers to use its features immediately within their familiar coding environment.

Devika is likely to become a domain-specific expert, specializing in fields such as web development, data science, and machine learning. This specialization would allow it to meet specific domain needs while giving highly optimized code solutions.

Self-Learning and Adaptation: Devika is set to improve its performance by continual learning from user interactions and project data. Constant improvement in code comprehension and adherence to recommended practices will increase its ability to help developers.

Impact on Software Development Landscape:

Devika’s user-friendly interface and reduced development difficulties have the potential to democratize software development by attracting citizen developers and individuals with less coding skills, promoting diversity and innovation.

New
ABYstyle - Call of Duty Toiletry Bag Search and Destroy, Black, 26 x 14 x 8.5 cm, Handle on pencil case for easy carrying, Black, 26 x 14 x 8.5 cm, Handle on pencil case for easy carrying
  • 100% official
  • Very practical with multiple pockets
  • Handle on pencil case for easy carrying
  • Material: Polyester
  • Dimensions: 26 x 14 x 8.5 cm
New
1890 Wing Angel Goddess Hobo Morgan Coin Pendant - US Challenge Coin Liberty Eagle Novel Coin Adult Toy Funny Sexy Coin Lucky Coin Pendant Storage Bag for Festival Party
  • FUNNY COIN&BAG: You will get a coin and jewelry...
  • NOVELTY DESIGN: Perfect copy the original coins,...
  • LUCKY POUCH: The feel of the flannelette bag is...
  • SIZE: Fine quality and beautiful packing. Coin...
  • PERFECT GIFT: 1*Coin with Exquisite Jewelry Bag....
New
Panther red Fleece Beanie
  • German (Publication Language)

Changes in Programmer Roles: Developers may shift away from routine coding activities and into higher-level design, issue-solving, and system administration. Devika’s automation of repetitive activities will allow developers to focus their creativity and expertise more effectively.

Increased Collaboration: Devika’s involvement in technical elements will allow smoother collaboration between programmers and stakeholders, improving communication and alignment on project objectives.

Reference for GitHub Demo

Devika AI Demo:

Video Credit: Sahaj Godhani

Original Post>

Leave a Reply