In March of this year, Cognition AI Labs introduced the world’s first fully autonomous AI software engineer: Devi. Officially, Devi is described as an unflagging, highly skilled teammate who can work alongside engineers or independently complete tasks for engineers to review, allowing engineers to focus on more interesting problems and enabling development teams to achieve more ambitious goals.
With the ability to learn new programming languages, develop and iterate apps, and achieving groundbreaking success in the SWE-bench coding benchmark, Devi has even surpassed top human engineers.
Now, after several months, Cognition AI has officially launched Devi.
Devi not only excels at quickly handling routine coding tasks, but also improves overall development efficiency by seamlessly integrating with team tools. Whether it’s fixing bugs, optimizing code, or writing test cases, Devi is up to the task.
Devi integrates smoothly into developers’ existing workflows and can be used in three ways:
- Assign tasks via chat commands in Slack.
- Manage Devi-generated code directly in IDEs like VSCode.
- Integrate Devi into customized workflows through APIs.
Key Features of Devi
1. Slack Integration
Devi can directly receive tasks via Slack and handle simple engineering issues.
How to Use: Assign tasks to Devi in Slack (e.g., “Fix this API call bug” or “Help write a simple test case”). Devi performs the task in the background and responds with the results in Slack.
Suitable Tasks:
- Fixing small code errors such as front-end style issues or back-end API parameter validation.
- Quickly reviewing issues and providing preliminary solutions.
2. IDE Plugin (Supports VSCode)
Devi offers a VSCode plugin, embedding directly into the developer’s code editor for real-time collaboration.
Key Features:
- Code Generation: Mark sections of code, and Devi will assist in refactoring or generating new code.
- Pull Request Submission: Devi can generate a Pull Request (PR) and submit it to GitHub or your code repository for review.
- Asynchronous Collaboration: You can have Devi complete a draft code, which you can later modify in your IDE.
3. Automated Code Optimization & Generation
Devi excels in handling specific small-scale development tasks:
- Bug Fixing: Handling boundary cases, logic errors, etc.
- Code Optimization & Refactoring: Migrating old code to new frameworks or adjusting code structure for better performance.
- PR Draft Generation: For tasks in the project list (e.g., adding a new feature), Devi can generate a complete code draft for the team to refine further.
4. Unit Testing
Writing test cases is a tedious but essential part of development, and Devi can automate it:
Features:
- Generate test cases based on code logic.
- Automatically run tests to ensure that code changes don’t break existing functionality.
- Submit test results, helping developers quickly verify their code.
5. Dynamic Knowledge Management
Devi can manage and dynamically update a knowledge base to ensure information is always accurate and up to date.
Features:
- Real-Time Knowledge Base Updates: Devi automatically pulls new information from enterprise databases or external resources, eliminating the need for manual updates.
- Semantic Search: When users input simple questions, Devi quickly matches the most relevant answers via semantic search.
- Document Parsing: Able to extract important information from complex documents and provide summaries.
6. Task Automation
Devi helps enterprises efficiently handle repetitive tasks through automation.
Features:
- Workflow Automation: Devi can trigger operations (e.g., sending emails, assigning tasks), streamlining workflows.
- Task Tracking: Tracks task completion based on predefined rules and sends reminders to users.
- Data Integration: Devi integrates with mainstream tools (e.g., CRM, project management software) to automate data entry or updates.
7. High Security and Privacy Protection
Devi’s design strictly adheres to industry standards for data security and privacy protection, making it especially suitable for enterprises that require high confidentiality.
Features:
- Data Encryption: Ensures all interactions and stored data are protected with advanced encryption techniques.
- Access Control: Administrators can set permission levels for different users to ensure that sensitive information is only accessible to authorized personnel.
- Compliance: Complies with international privacy and security regulations like GDPR.
8. Deep Analytics & Reporting
Devi offers powerful data analytics capabilities to help users gain insights from data.
Features:
- User Behavior Analysis: Tracks user interactions and provides optimization suggestions.
- Automatic Report Generation: Generates detailed business reports for management decision-making.
- Trend Prediction: Uses machine learning models to forecast future business trends.
9. Learning and Improvement
Devi is not a static tool—it improves over time with team feedback.
Learning Mechanism:
- Devi records feedback when teams suggest improvements to its code or recommendations.
- You can manually add “knowledge points” to optimize Devi’s functioning.
- Over time, Devi adapts to better understand the team’s working style and needs.
Tips for Using Devi Efficiently
To get the most out of Devi, consider the following tips:
Task Scope: Devi is best suited for smaller tasks that team members can complete themselves (e.g., bug fixes, test case generation). For complex tasks, break them down into smaller tasks for Devi to handle.
Clear Requirements: When assigning tasks, provide clear and detailed requirements. For example, specify what needs to be tested and which coding standards should be followed.
Feedback Mechanism: Devi improves based on your feedback, so provide regular feedback on its results to help it optimize its performance.
Official Introduction:
For more details, visit Cognition AI’s Blog.