devika  by stitionai

Agentic AI software engineer for high-level instruction to code generation

created 1 year ago
19,431 stars

Top 2.3% on sourcepulse

GitHubView on GitHub
Project Summary

Devika is an open-source AI software engineer designed to automate complex coding tasks by understanding high-level instructions, performing research, and writing code. It aims to be a competitive alternative to proprietary solutions like Devin, targeting developers seeking an AI pair programmer for tasks ranging from feature implementation to full project development.

How It Works

Devika employs a system architecture that integrates large language models (LLMs) with planning and reasoning algorithms. It features contextual keyword extraction for focused web research and seamless browsing capabilities to gather necessary information. The agent dynamically tracks its state and interacts via a chat interface, managing projects and code generation across multiple programming languages.

Quick Start & Requirements

  • Install: Clone the repository, create a virtual environment, install dependencies with uv pip install -r requirements.txt, and install Playwright browsers with playwright install --with-deps.
  • Run: Start the backend server with python devika.py. Navigate to the ui directory, run bun install, and then bun run start. Access the UI at http://127.0.0.1:3001.
  • Prerequisites: Python >= 3.10 and < 3.12, Node.js >= 18, Bun. Requires API keys for various LLMs (Claude 3, GPT-4, Gemini, Mistral, Groq) and search engines (Bing, Google), or Ollama for local LLMs.

Highlighted Details

  • Supports a wide range of LLMs including Claude 3, GPT-4, Gemini, Mistral, Groq, and local models via Ollama.
  • Features advanced AI planning, reasoning, and web browsing for information gathering.
  • Offers dynamic agent state tracking and visualization with a natural language chat interface.
  • Aims to match and eventually surpass Devin's performance on SWE-bench benchmarks.

Maintenance & Community

The project is in an early development/experimental stage with active contributions welcomed. A Discord server is available for community discussions and support.

Licensing & Compatibility

Released under the MIT License, permitting commercial use and integration with closed-source projects.

Limitations & Caveats

The project is explicitly stated to be in a very early development/experimental stage with many unimplemented or broken features. Contributions are actively sought to address these issues.

Health Check
Last commit

10 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
1
Star History
348 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.