freshcrate
Skin:/
Home > MCP Servers > daiv

daiv

Your AI-powered SWE teammate, built into your git workflow

Why this rank:Release freshnessStrong adoptionHealthy release cadence

Description

Your AI-powered SWE teammate, built into your git workflow

README

DAIV

Open-source async SWE agent for your Git platform

Python Version License CI


DAIV integrates directly with GitLab and GitHub repositories through webhooks. No separate interface needed โ€” you keep using your existing workflow while DAIV handles automation in the background.

What DAIV does

DAIV automates routine software engineering work so you can focus on creative problem-solving:

  • Issue Addressing โ€” Converts issue descriptions into working code. DAIV reads the issue, generates a plan, waits for your approval, then opens a merge/pull request with the implementation.
  • Pull Request Assistant โ€” Responds to reviewer comments, applies requested changes, and repairs failing CI/CD pipelines โ€” all from within the merge/pull request conversation.
  • Slash Commands & Skills โ€” Invoke commands and skills directly from issues and merge requests (/help, /plan, /code-review, /clone-to-topics). Built-in skills provide planning, code review, and security audits โ€” and you can create your own.
  • Scheduled Jobs โ€” Run agents on a recurring basis โ€” hourly, daily, weekly, or any custom cron expression. Automate dependency audits, code quality scans, stale branch cleanup, and more without CI pipelines or external schedulers.

Quick example

  1. You create an issue: "Add rate limiting to the API endpoints"
  2. DAIV posts a plan: Analyzes the codebase and proposes implementation steps
  3. You approve: Comment @daiv proceed
  4. DAIV implements: Creates a merge request with the code changes
  5. Reviewer asks for changes: "@daiv use Redis instead of in-memory storage"
  6. DAIV updates the code: Modifies the implementation and pushes

Under the hood

DAIV's agent has access to a set of capabilities that make this possible:

  • Scalable Workers โ€” Handle more concurrent tasks by increasing worker replicas โ€” no architecture changes needed.
  • Subagents โ€” Specialized agents for fast codebase exploration and complex multi-step tasks.
  • Sandbox โ€” Secure command execution for running tests, builds, linters, and package management inside an isolated Docker container.
  • MCP Tools โ€” External tool integrations via the Model Context Protocol, such as Sentry for error tracking.
  • Monitoring โ€” Track agent behavior with LangSmith to analyze performance and identify issues.
  • LLM Providers โ€” OpenRouter, Anthropic, OpenAI, and Google Gemini.

Technology Stack

  • Agent Framework: Deep Agents โ€” the core agent engine powering DAIV. A general-purpose deep agent with sub-agent spawning, middleware stack, and virtual filesystem. Built on LangGraph.
  • Backend Framework: Django for building robust APIs and managing database models.
  • Async Tasks: Django Tasks with the django-tasks backend and django-crontask for periodic scheduling.
  • Code Executor: Sandbox for running commands in a secure sandbox to allow the agents to perform actions on the codebase.
  • Observability: LangSmith for tracing and monitoring all the interactions between DAIV and your codebase.
  • Error Handling: Sentry for tracking and analyzing errors.

Getting Started

Prerequisites

  • Docker & Docker Compose

Local Development Setup

  1. Clone the repository:

    git clone https://github.com/srtab/daiv.git
    cd daiv
  2. Run setup:

    make setup

    This creates config files from their templates (config.secrets.env and config.toml). Edit docker/local/app/config.secrets.env and add your API keys โ€” at minimum one LLM provider key (Anthropic, OpenAI, Google, or OpenRouter) and CODEBASE_GITLAB_AUTH_TOKEN if using GitLab.

  3. Install Dependencies (optional): We use uv to manage dependencies on DAIV.

    uv sync

    [!NOTE] This will install the project dependencies into a virtual environment. Useful for running linting outside of Docker or enabling autocompletion in VSCode.

  4. Start core services:

    docker compose up --build

    This starts the core services (db, redis, app, worker, scheduler). SSL certificates are auto-generated on first run.

  5. Start optional services (as needed):

    docker compose --profile gitlab up     # local GitLab instance + runner
    docker compose --profile sandbox up    # sandbox code executor
    docker compose --profile mcp up        # MCP servers
    docker compose --profile full up       # all services

    [!NOTE] Profiles can be combined: docker compose --profile gitlab --profile sandbox up

  6. Run the tests (optional): DAIV includes a comprehensive test suite. To run tests with coverage:

    $ docker compose exec -it app bash
    $ make test
  7. Run linting (optional): To ensure code quality:

    $ docker compose exec -it app bash
    $ make lint      # to check for linting and formatting issues
    $ make lint-fix  # to automatically fix linting and formatting issues

Optional: Local GitLab

To test DAIV with a local GitLab instance:

  1. Start GitLab:

    docker compose --profile gitlab up
  2. Get the root password:

    docker compose exec -it gitlab grep 'Password:' /etc/gitlab/initial_root_password
  3. Configure a personal access token at http://localhost:8929 (use the root user or create a new user) and add it to docker/local/app/config.secrets.env as CODEBASE_GITLAB_AUTH_TOKEN.

  4. Create a test project in GitLab and push your testing code to it.

    [!TIP] You can import using repository URL: go to Admin Area -> Settings -> General -> Import and export settings and check the Repository by URL option.

  5. Set up webhooks:

    docker compose exec -it app django-admin setup_webhooks

    [!NOTE] If you get the error Invalid url given, go to Admin Area -> Settings -> Network -> Outbound requests and check Allow requests to the local network from webhooks and integrations.

  6. Test DAIV by creating an issue in your repository with the daiv label. DAIV will automatically present a plan to address the issue.

Note

For GitHub integration, you'll need to use GitHub.com or your own GitHub Enterprise instance. Set CODEBASE_CLIENT=github in docker/local/app/config.env and configure the GitHub App credentials.

Roadmap

  • Configurable hooks โ€” run DAIV on specific events with user-defined triggers and actions.
  • Chrome extension โ€” interact with DAIV directly from the git platform without leaving the browser.
  • Custom MCP servers โ€” user-defined MCP servers via a JSON config file following the Claude Code .mcp.json standard.
  • Scheduled maintenance tasks โ€” run DAIV on a cron schedule for tasks like dependency updates, security scans, or documentation drift detection.
  • Team notifications โ€” Slack, Discord, and Microsoft Teams integrations to notify teams about DAIV actions and request approvals.
  • Self-hosted LLM support โ€” enable local model inference via Ollama or vLLM for air-gapped or cost-sensitive environments.

Contributing

We welcome contributions! Whether you want to fix a bug, add a new feature, or improve documentation, please refer to the CONTRIBUTING.md file for more information.

License

This project is licensed under the Apache 2.0 License.

Support & Community

For questions or support, please open an issue in the GitHub repository. Contributions, suggestions, and feedback are greatly appreciated!

Release History

VersionChangesUrgencyDate
v2.0.0๐ŸŽ‰ **DAIV v2.0.0 โ€“ deepagents, Label-Driven Workflows & Platform Tools** DAIV 2.0.0 is a major release that replaces the entire custom agent framework with the **`deepagents` library**, introduces **label-driven issue workflows**, and adds **native git platform tools** for GitHub and GitLab. --- ### โš ๏ธ Breaking Changes - **Issue title prefix (`DAIV:`) is no longer supported** as a trigger. Use labels (`daiv`, `daiv-auto`, `daiv-max`) instead. - **`pull_request.branch_name_conventionMedium3/14/2026
v1.1.0๐ŸŽ‰ **DAIV v1.1.0 โ€“ Skills, Safer Prompts & Smarter Planning** DAIV v1.1.0 introduces an **Agent Skills system**, safer prompt templates, and better support for large repos and evaluations. --- ### ๐Ÿš€ Highlights * ๐Ÿง  **Agent Skills system** using Anthropic-style progressive disclosure. * ๐Ÿ›  New skills: * `creating-agents-md-file` โ€“ generates `AGENTS.md` following the AGENTS.md spec. * `maintaining-changelog` โ€“ maintains or creates changelogs (Keep a Changelog style). * `crLow12/4/2025
v1.0.0๐ŸŽ‰ **DAIV v1.0.0 โ€“ Plan & Execute, GitHub Client & 1.0 Readiness** DAIV **1.0.0** turns the **Plan & Execute** flow into the core automation experience, adds **GitHub as a first-class client**, and ships a cleaner, more robust toolset for working with real codebases and pipelines. --- ### ๐Ÿš€ Highlights * **GitHub as a client** * You can now use **GitHub** as the codebase client, integrating DAIV directly into your GitHub workflows. * **Smarter, end-to-end `PlanAndExecuteAgentLow11/18/2025
v0.3.0๐ŸŽ‰ **DAIV v0.3.0 โ€“ Quick Actions, Cleaner Workflows** Weโ€™re thrilled to announce **DAIV v0.3.0**, bringing powerful new **quick action triggers**, smarter automation, and key stability fixes for a smoother experience. ### โšก Whatโ€™s New * **Quick Actions for Issues and Merge Requests**: You can now perform actions simply by commenting! DAIV listens to specific phrases to trigger automations: * `@daiv plan revise` โ€“ triggers plan revision on an issue. * `@daiv plan execute` โ€“ apLow7/25/2025
v0.2.1๐ŸŽ‰ **DAIV v0.2.1 โ€“ Smarter Agents, Better Integration** Weโ€™re excited to release **DAIV v0.2.1**, featuring smarter agent behavior, improved workflows, and enhanced deployment capabilities. ### ๐Ÿš€ Whatโ€™s New * **OpenAI o3 model** is now supported. * Docker images are now built and pushed from the `main` branchโ€”making edge version testing easier than ever. ### ๐Ÿ’ก Key Improvement * **More targeted reviews with `ReviewAddressorAgent`**: It now **only addresses merge requests thatLow6/17/2025
v0.2.0๐Ÿš€ **DAIV v0.2.0 Released โ€“ Now with MCP Tools Support!** Weโ€™re thrilled to announce the latest release of **DAIV**, and itโ€™s a big one: This is the **first version introducing support for MCP tools**, enabling agents to interact with external services in a secure, modular and extensible way. ### ๐Ÿง  Key Features: * **๐Ÿ”Œ MCP Tools (Initial Support)**: Agents can now use built-in MCP tools like `fetch` and `sentry` to interact with external systems. > Support for **custom MCP toolsLow6/9/2025
v0.1.5### Added - Added `cleanup_indexes` command to clean up outdated indexes and inaccessible repositories. ### Fixed - Fixed connection closed or lost on `ConnectionPool` by using `check_connection` to verify if the connection is still working. - Fixed chunks length check to use the correct number of tokens instead of the number of characters.Low5/26/2025
v0.1.4### Added - Added support to `claude-sonnet-4` and `claude-opus-4` models from Anthropic. ### Changed - Optimized `PullRequestDescriberAgent` prompt to improve the quality of the responses for a 0-shot agent. - Optimized `CodebaseChatAgent` prompts to improve the quality of the responses, reduce hallucinations, gatekeeping first and improve the reasoning capabilities of the agent. - Updated `PlanAndExecuteAgent` to use `claude-sonnet-4` as the default model for planning and execution.Low5/22/2025
v0.1.3### Added - Added mapping for `yaml` language for `.yaml` and `.yml` extensions. ### Fixed - Temperature is being sent on `o4-mini` model, which is not supported. - Large chunks were being indexed, causing errors on the embedding process. Now it will skip chunks that are too large (more than 2x the chunk size). #378 Low5/20/2025
v0.1.2### Added - Added support to `04-mini` model from OpenAI. - Added support to define `LANGSMITH_API_KEY` as docker secrets. ### Changed - Improved plan comment template readability by adding a separator between the each step of the plan. - Normalized `WEB_SEARCH_API_KEY` to be `AUTOMATION_WEB_SEARCH_API_KEY` and followed the same pattern for other keys. ### Fixed - Fixed `ImportError` when `LanguageParser` try to parse a files with `tree-sitter-languages`, which is not installed.Low5/15/2025
v0.1.1### Fixed - Fixed `start-app` script passing iligal option `-o`.Low5/14/2025
v0.1.0## ๐Ÿค– DAIV v0.1.0 โ€“ First Official Release ๐ŸŽ‰ Weโ€™re excited to announce the first official release of **DAIV** โ€” an open-source automation assistant built to supercharge developer productivity through intelligent AI agents. After extensive development and testing, DAIV is ready for real-world use and open for contributions! ### ๐Ÿš€ What is DAIV? DAIV is an AI-powered automation platform that helps developers focus on what matters most. It integrates seamlessly with your workflow to unLow5/13/2025
v0.1.0-beta.5### Added - Added support for `HuggingFace` and `VoyageAI` embeddings models. ### Changed - Improved `README.md` to include information about how to setup a test project on local GitLab. - Command `update_index` now has a `--semantic-augmented-context` flag to conditionally generate semantic augmented context. ### Fixed - PlanAndExecuteAgent: Plan prompt `<file_path>` was always empty. - Agent model configurations did not allow you to configure models that were not declared on tLow4/15/2025
v0.1.0-beta.4### Added - Support for `OpenRouter` integration, unified API for LLM providers. **Breaking change: this will be the default provider from now on as it's more reliable and has more models available.** ### Changed - Increased `max_tokens` to `4096` for `Anthropic` models. - Removed fallback logic from all agents, as it's not needed with the new `OpenRouter` integration. - Improved `PlanAndExecuteAgent`: - Introduced `think` tool on both planning and execution phases to improve the rLow4/6/2025
v0.1.0-beta.3### Added - Added `exclude_repo_ids` to the `update_index` command to allow excluding specific repositories by slug or id. ### Changed - Improved `CodebaseChatAgent` output of thinking process to indicate the repository name it's searching for. ### Fixed - `CodebaseChatAgent` was not supporting async execution, leading to errors when using the chat API. Now it supports async execution. Low3/23/2025
v0.1.0-beta.2### Added - Added `CodebaseDescriberAgent` to describe the code snippets and enrich the codebase index with contextualized information. This will improve the quality of the search results and the ability of `CodebaseChatAgent` to answer questions. ### Changed - Improved `RunSandboxCodeTool` prompt to avoid using it only to print stuff. - An answer is now included on the `WebSearchTool` when using Tavily integration to provide a more concise answer to the user query. ### Fixed - FLow3/21/2025
v0.1.0-beta.1We are excited to announce the release of the first beta version of DAIV! The past few weeks have been intense as we focused on feature development, and we are thrilled to share that DAIV is now feature-complete for this stage. This beta release marks the next step toward a final, stable version. Your feedback and support are invaluable, and we warmly welcome contributions to help test DAIV and make it even better. ### Added - Introduced Jupyter notebooks for `CodebaseChatAgent`, `IssueAddLow3/19/2025
v0.1.0-alpha.22### Added - Added custom Django checks to ensure the API keys for the models configured are set. - Added `REASONING` setting to the `chat` app to enable/disable reasoning tags on the chat completion. This will allow tools like `OpenWebUI` to show loader indicating the agent is thinking. - Added `external_link` to the `CodeSnippet` tool to allow linking to the codebase file on the Repository UI. - Added fallback models support to `BaseAgent` to ease and streamline the fallback logic on all Low1/30/2025
v0.1.0-alpha.21### Added - Codebase search now allows to configure how many results are returned by the search. - Added support to Google GenAI and DeepSeek chat models. - Added command to `search_documents` to search for documents on the codebase, usefull for debugging and testing. ### Changed - Performance improvements and cleaner use of compression retrievers on `CodebaseSearchAgent`. ### Fixed - Tantivy index volume was not pointing to the correct folder on `docker-compose.yml`. - `ReviewLow1/24/2025
v0.1.0-alpha.20### Upgrade Guide - There were substancial changes on the codebase search engines, as it was rewritten to improve the quality of the search results. You will need to run command `update_index` with `reset_all=True` to update the indexes. ### Added - Show comment on the issue when the agent is replanning the tasks. - Repositories file paths are now being indexed too, allowing the agent to search for file paths. - New option `reset_all` added to the `update_index` command to allow resetLow1/20/2025
v0.1.0-alpha.19### Fixed - `prepare_repository_files_as_messages` was returning messages with empty tool calls when no files were found, leading to errors on the agents.Low1/10/2025
v0.1.0-alpha.18### Fixed - Authentication method was not compatible with OpenAI API for Chat API endpoints. Changed to use the same method as the rest of the API. - Async views were not working with sync authentication methods. Created an async authentication method to fix this.Low1/10/2025
v0.1.0-alpha.17### Added - Added `commands` configuration to `.daiv.yml` to allow fix linting issues. - Declared `AutomationSettings` on `automation` app to centralize all settings related to the automation. - Turned web search tool max results to be configurable through `AutomationSettings`. - Preload repository files before plan execution to reduce execution time, reducing the number of call turns with the LLM. - Integrated Tavily as an alternative web search tool to DuckDuckGo. - Support for API keyLow1/10/2025
v0.1.0-alpha.16### Added - Included new step `apply_lint_fix` on `IssueAddressorAgent`, `ReviewAddressorAgent` and `PipelineFixerAgent` to apply lint fixes to the codebase after plan execution. This will improve antecipation of lint errors and avoid pipeline failures. - `RunSandboxCommandsTool` now supports running commands on codebase with uncommitted changes. ### Changed - Improved `ReviewAddressorManager` to commit the file changes after all discussions are resolved, avoiding multiple pipelines beLow1/3/2025
v0.1.0-alpha.15### Added - Added `PIPELINE_FIXER_MAX_RETRY` to the `codebase.conf` module to allow configuring the maximum number of retry iterations for the pipeline fixer. ### Changed - Improved logging on `PipelineFixerAgent` to clarify why a pipeline fix is not being applied. ### Fixed - Fixed access to optional parameter `actions` on `result` after `PipelineFixerAgent` has been invoked. ### Chore - Updated dependencies: - `duckduckgo-search` from 7.0.2 to 7.1.1 - `ipython` from Low12/30/2024
v0.1.0-alpha.14### Added - Added `SNIPPET_REPLACER_STRATEGY` and `SNIPPET_REPLACER_MODEL` to `SnippetReplacerAgent` to allow configuring the strategy and the model to be used. ### Changed - Migrated from `django-appconf` to `pydantic-settings` for configuration management. ### Fixed - Fixed path to `sandbox` docker service volume for local development. ### Chore - Removed `django_celery_beat` from the project, as it's not used. - Updated dependencies: - `duckduckgo-search` from 6.3.7 tLow12/27/2024
v0.1.0-alpha.13### Changed - Improved prompts for `CodebaseQAAgent` to improve the quality of the answers. - Improved prompts for `CodebaseSearchAgent` to improve the effectiveness of the search. - Improved prompts of plan execution to focus the agent more on the execution of the plan and less on planning. ### Fixed - Fixed `SnippetReplacerAgent` prompt to minimize placeholders like "The rest of the code here". Low12/23/2024
v0.1.0-alpha.12### Fixed - Fixed `CodebaseSearchAgent` to avoid calling index update when no repo or ref is provided. ### Changed - Changed default `max_tokens=2048` for all `Anthropic` models to deacrese the changes of rate limiting. Only `SnippetReplacerAgent` left using a higher value. - Improved prompts for `ReviewAddressorAgent` and `IssueAddressorManager` to avoid excessive tool calls and optimize the agent behavior. - Changed `tool_choice` to `auto` on `REACTAgent` to improve reasoning capabiLow12/20/2024
v0.1.0-alpha.11### Removed - Removed `update_index` and `setup_webhooks` commands from the `start-app` script to avoid long startup times. - Removed `GUNICORN_THREADS` from the `start-app` script, as it's not used by `gunicorn` with `UvicornWorker`. ### Fixed - Fixed connections already closed being served by the pool.Low12/18/2024
v0.1.0-alpha.10### Added - Added `DEFAULT_RECURSION_LIMIT` to the `automation.constants` module and replaced all hardcoded values with it. - Added `ErrorLogEvaluatorAgent` to evaluate if two error logs are the same error or related. ### Changed - Changed `is_daiv` to check the label case insensitive. - Changed `IssueAddressorManager` to comment on the issue when the agent has questions and couldn't define a plan. - Changed `IssueAddressorManager` to present the plan within the discussion thread creLow12/17/2024
v0.1.0-alpha.9### Changed - Changed `IssueAddressorManager` to comment on the issue when an unexpected error occurs. - Updated dependencies: - `duckduckgo-search` from 6.3.7 to 6.4.1 - `langchain` from 0.3.9 to 0.3.11 - `langchain-community` from 0.3.9 to 0.3.11 - `langchain-openai` from 0.2.10 to 0.2.12 - `langgraph` from 0.2.53 to 0.2.59 - `langgraph-checkpoint-postgres` from 2.0.7 to 2.0.8 - `langsmith` from 0.1.147 to 0.2.2 - `redis` from 5.2 to 5.2.1 - `pydantic` from 2.10.Low12/12/2024
v0.1.0-alpha.8### Added - Added `EXPOSE 8000` to the `Dockerfile`. - Added `CodebaseQAAgent` to answer questions about the codebase. - Added chat completion API endpoints to allow interact with the codebase through seamless integration with external tools and services. - Added fallback models to allow more resilient behavior when a model is not available (this happens a lot with Anthropic models). - Added `CONN_HEALTH_CHECKS` to the `settings.py` to allow healthchecks to be performed on the database coLow12/11/2024
v0.1.0-alpha.7### Added - Added `HEALTHCHECK` to the `Dockerfile`. ### Fixed - Fixed the `Dockerfile` to create the `daiv` user with the correct home directory defined. - Fixed the `Dockerfile` to create the necessary directories for the application to run: `tantivy_index`, `media`, and `static`.Low12/7/2024
v0.1.0-alpha.6### Removed - Removed `update-ca-certificates` from the entrypoint script.Low12/6/2024
v0.1.0-alpha.5### Added - Added `update-ca-certificates` to the entrypoint script. ### Fixed - Installed missing dependency `gunicorn`.Low12/6/2024
v0.1.0-alpha.4### Fixed - Fixed the access level for the maintainer role when listing repositories to only include repositories that the authenticated user is a member of.Low12/6/2024
v0.1.0-alpha.3### Fixed - Reverted `DB_URI` configuration to not include the `pool_max_lifetime` query parameter.Low12/6/2024
v0.1.0-alpha.2### Fixed - Fixed the `DAIV_SANDBOX_API_KEY` configuration to be loaded from a Docker secret.Low12/6/2024
v0.1.0-alpha.1### Added - Integrated Sentry for error monitoring. - Added `pool_max_lifetime` to `DB_URI` for PostgreSQL connection. - Added a health check endpoint at `/-/alive/`. ### Fixed - Removed `CSPMiddleware`. The `django-csp` package was removed from the project and the middleware was left behind. ### Removed - Removed `VERSION` and `BRANCH` from settings and from production `Dockerfile`.Low12/6/2024
v0.1.0-alpha### Added - First release. **Full Changelog**: https://github.com/srtab/daiv/commits/v0.1.0-alphaLow12/6/2024

Dependencies & License Audit

Loading dependencies...

Similar Packages

claude-code-tipsProvide ready-to-use plugins, hooks, and commands to enhance Claude Code sessions with data mining, automation, and integration tools.main@2026-06-04
samplesAgent samples built using the Strands Agents SDK.main@2026-06-04
sdk-pythonA model-driven approach to building AI agents in just a few lines of code.python/v1.42.0
Comfy-CozyAI co-pilot for ComfyUI โ€” 113 tools for workflow authoring, model provisioning, and iterative rendering. Multi-provider (Claude, GPT-4o, Gemini, Ollama). Ships as MCP server or standalone CLI.v5.0.0
cognithorCognithor - Agent OS: Local-first autonomous agent operating system. 16 LLM providers, 17 channels, 112+ MCP tools, 5-tier memory, A2A protocol, knowledge vault, voice, browser automation, Computer-usv0.99.0

More in MCP Servers

PlanExeCreate a plan from a description in minutes
automagik-genieSelf-evolving AI agent orchestration framework with Model Context Protocol support
agentroveYour own Claude Code UI, sandbox, in-browser VS Code, terminal, multi-provider support (Anthropic, OpenAI, GitHub Copilot, OpenRouter), custom skills, and MCP servers.
ProxmoxMCP-PlusEnhanced Proxmox MCP server with advanced virtualization management and full OpenAPI integration.