Learn

Devika AI: AI Software Engineer

Devika AI: Open Source AI Software Engineer

Hey there! Today, let’s dive into the fascinating world of Devika AI, your new buddy in the realm of software engineering. Forget the jargon and complex tech talk – we’re going to unravel Devika’s capabilities in simple, everyday language.

Devika is a sophisticated AI software engineer designed to comprehend complex human instructions, break them down into actionable steps, research pertinent information, and generate code to accomplish specified tasks. Leveraging extensive language models, planning algorithms, and web browsing capabilities, Devika excels in intelligent software development.

With a mission to transform software development practices, Devika serves as an AI companion programmer capable of tackling intricate coding tasks with minimal human intervention. Whether you’re crafting a new feature, resolving bugs, or initiating a project from the ground up, Devika stands ready to support your endeavors.

Imagine you’ve got this amazing idea for an app or a software project, but you’re not quite sure how to bring it to life. That’s where Devika steps in. Think of Devika as your personal assistant, but with a knack for coding and problem-solving.

So, what exactly is Devika all about? Well, it’s like this: Devika is an open-source alternative to another well-known AI software engineer called Devin by Cognition AI. But Devika isn’t just a copycat – it’s here to give Devin a run for its money while offering something unique.

One of the coolest things about Devika is its ability to understand what you want, even if you don’t speak in fancy programming language. You can tell Devika what you need in plain English, and it’ll break it down into smaller tasks, do some research, and start writing code – all on its own!

But wait, there’s more! Devika isn’t just a solo act; it’s like having a coding buddy by your side. It can work alongside you as an AI pair programmer, making those complex coding tasks a whole lot easier. Say goodbye to hours of head-scratching over bugs and errors – Devika’s got your back!

Now, let’s talk about how Devika does its magic. It’s not just about typing lines of code; there’s some serious brainpower behind it. Devika uses fancy stuff like planning and reasoning algorithms to figure out the best way to tackle a problem. It’s like having a super-smart teammate who can break down big tasks into smaller, manageable steps.

And when it comes to finding information, Devika is like a pro internet surfer. Need some data from the web? No problem! Devika can browse the web seamlessly, gathering all the info you need to get the job done.

But what if you’re not a one-language wonder? Don’t worry – Devika speaks multiple programming languages. Whether you’re into Python, Java, or something else entirely, Devika can write code that speaks your language.

And here’s the best part: Devika isn’t just a one-trick pony. It’s constantly learning and evolving, thanks to its open-source nature. That means you can help make Devika even better by contributing your ideas and improvements. It’s like being part of a coding revolution!

So, how do you get started with Devika? It’s as easy as pie. Just fire up your web browser, open the Devika interface, and start a new project. Tell Devika what you need, and watch as it gets to work, churning out code like nobody’s business. And if you ever get stuck or need some guidance, Devika is always there to lend a helping hand.

In a nutshell, Devika is like having a coding wizard in your corner – always ready to help you bring your ideas to life. Whether you’re a seasoned pro or just starting out, Devika is the perfect sidekick for all your software engineering adventures. So why wait? Give Devika a try today and see where your imagination takes you!

You can check out Devika’s GitHub Repository here. 

https://github.com/stitionai/devika

Devika AI System Architecture

Devika’s system has these important parts:

1. User Interface: A website where you can talk to Devika, see project files, and check what Devika is doing.
2. Agent Core: This is the main part that plans, thinks, and does tasks. It talks to other parts to get things done.
3. Large Language Models: Devika uses advanced language tools like Claude, GPT-4, and Local LLMs via Ollama to understand, talk, and think in a natural way.
4. Planning and Thinking Engine: This decides what needs to be done and figures out how to do it.
5. Research: Devika looks up information online using keywords and browsing to help with tasks.
6. Code Writing: It writes code based on plans, what it finds online, and what the user wants. It can work with different programming languages.
7. Web Browsing: Devika can go on websites, get information, and interact with them.
8. Knowledge Base: Stores and finds project info, pieces of code, and things Devika has learned for quick access.
9. Database: Keeps project info, what Devika is doing, and settings saved.

Devika AI Quick Start

  1. Install uv – Python Package manager (https://github.com/astral-sh/uv)
  2. Install bun – JavaScript runtime (https://bun.sh/docs/installation)
  3. Install and setup Ollama (https://ollama.com/) (if you want don’t want to use the local models then you can skip this step)

For ollama you need to install the models
For API models, configure the API keys via setting page in UI.

    
     ollama serve
git clone https://github.com/stitionai/devika.git
cd devika/
uv venv
source .venv/bin/activate
uv pip install -r requirements.txt
playwright install --with-deps
cd ui/
bun install
bun run dev
cd ..
python3 devika.py
    
   

How to Install Devika AI

Installing Devika AI

To set up Devika AI, you need to do a few things first:

1. Install Ollama by following the instructions here: [https://ollama.com/].
2. Install Bun by following the instructions here: [https://bun.sh/].

Now, let’s install Devika:

1. Clone the Devika repository:
git clone https://github.com/stitionai/devika.git

2. Go to the Devika project directory:
cd devika

3. Create a virtual environment and install required dependencies:
uv venv
uv pip install -r requirements.txt

4. Install additional dependencies:
pip install -r requirements.txt
playwright install –with-deps

5. Set up API keys and configuration as needed.

6. Start the Devika server:
python devika.py

7. Compile and run the UI server:
cd ui/
bun install
bun run dev

8. Access Devika’s web interface by opening your browser and going to http://127.0.0.1:3000

Getting Started

To begin using Devika, follow these steps:

1. Open Devika’s web interface in your browser.
2. Create a new project by clicking “New Project” and giving it a name.
3. Choose your preferred programming language and model configuration.
4. Describe your task or objective in the chat interface.
5. Devika will break down your request and start working on it.
6. Keep an eye on Devika’s progress, check the generated code, and give feedback if needed.
7. Once the task is done, review the code and project files.
8. Make any necessary changes or provide further instructions for refinement.

Key Features of Devika AI

1. Compatibility: Works with Claude 3, GPT-4, GPT-3.5, and Local LLMs via Ollama for optimal performance.

2. AI Capabilities: Offers advanced planning and reasoning abilities using artificial intelligence.

3. Keyword Extraction: Extracts contextual keywords to facilitate focused research and information gathering.

4. Web Browsing: Provides seamless browsing functionality to access and gather information from the web.

5. Code Writing: Generates code in multiple programming languages to streamline development tasks.

6. Agent State Tracking: Dynamically tracks and visualizes the state of agents or processes for monitoring and analysis.

7. Natural Language Interaction: Allows for interaction via natural language through a chat interface for intuitive communication.

8. Project Organization: Organizes and manages tasks based on projects for efficient workflow management.

9. Extensibility: Features a flexible architecture, enabling the addition of new functionalities and integrations to enhance capabilities.

Devika AI System Architecture

Devika’s system has these important parts:

1. User Interface: A website where you can talk to Devika, see project files, and check what Devika is doing.
2. Agent Core: This is the main part that plans, thinks, and does tasks. It talks to other parts to get things done.
3. Large Language Models: Devika uses advanced language tools like Claude, GPT-4, and Local LLMs via Ollama to understand, talk, and think in a natural way.
4. Planning and Thinking Engine: This decides what needs to be done and figures out how to do it.
5. Research: Devika looks up information online using keywords and browsing to help with tasks.
6. Code Writing: It writes code based on plans, what it finds online, and what the user wants. It can work with different programming languages.
7. Web Browsing: Devika can go on websites, get information, and interact with them.
8. Knowledge Base: Stores and finds project info, pieces of code, and things Devika has learned for quick access.
9. Database: Keeps project info, what Devika is doing, and settings saved.

Devika AI Getting Started

Here’s the simplest method to run the project on your local machine:

Check out here; https://github.com/stitionai/devika

 

Programming Languages that Devika AI Support

Devika AI can work with many programming languages. Although we don’t have all the details yet, since Devika is designed to help developers with coding tasks, it’s probable that it works well with common languages such as Python, Java, and C++.

Devika AI Community Discord Server

Join our Discord server to connect with fellow users, exchange experiences, seek advice, and collaborate on projects. Follow these guidelines when joining:

  • Respect others: Treat all members kindly and avoid harassment, hate speech, or inappropriate behavior.
  • Contribute positively: Share your ideas, insights, and feedback to enhance the Devika community. Offer help to others whenever you can.
  • Protect privacy: Respect others’ privacy and refrain from sharing personal information without consent. To join the Devika community Discord server, click here. https://discord.com/invite/8eYNbPuB

Devika is inspired by Devin, a project developed by Cognition AI. It seeks to provide an open-source alternative to Devin, with an ambitious objective of achieving a comparable score in the SWE-bench Benchmarks and potentially surpassing it in the future.

careerhunger.com

Recent Posts

Peacock Essay In English : 100, 200, 300, 500 Words

Peacock Essay The peacock, with its resplendent plumage and majestic presence, is a creature of…

3 days ago

Navratri Essay In English : 100, 200, 300, 500 Words

Navratri Essay Navratri, meaning 'nine nights' in Sanskrit, is one of the most significant Hindu…

4 days ago

Guru Purnima Essay In English : 100, 200, 300, 500 Words

Guru Purnima Essay Guru Purnima, a sacred festival celebrated by Hindus, Buddhists, and Jains, honors…

5 days ago

Swachh Bharat Abhiyan Essay In English : 100, 200, 300, 500 Words

Swachh Bharat Abhiyan Essay Swachh Bharat Abhiyan, India's nationwide cleanliness campaign launched on October 2,…

6 days ago

Lachit Borphukan Essay In English : 100, 200, 300, 500 Words

Lachit Borphukan Essay Lachit Borphukan, a name revered in the annals of Indian history, stands…

7 days ago

Guru Tegh Bahadur Essay In English : 100, 200, 300, 500 Words

Guru Tegh Bahadur Essay Guru Tegh Bahadur, the ninth Guru of Sikhism, is a towering…

1 week ago