Skip to main content

No project description provided

Project description

Devon: An open-source pair programmer

Installation

Prerequisites

  1. node.js and npm
  2. pipx, if you don't have this go here
  3. Anthropic API Key or OpenAI API key

Installation commands

To install, simply run:

curl -sSL https://raw.githubusercontent.com/entropy-research/Devon/main/install.sh | bash

Or to install using pipx + npm:

pipx install devon_agent
npm install -g devon-tui 

This installs the Python backend, and the cli command to run the tool

Thats it! Happy building :)

Running the agent

Navigate to your project folder and open the terminal.

Set your Anthropic API or OpenAI API key as an environment variable:

export ANTHROPIC_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

#OR

export OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Then to run, the command is:

devon

It's as easy as that.

[!NOTE] Don't worry, the agent will be able to only access files and folders in the directory you started it from. You can also correct it while it's performing actions.

To run in debug mode, the command is:

devon --debug

Features

  • Multi-file editing
  • Codebase exploration
  • Config writing
  • Test writing
  • Bug fixing
  • Architecture exploration

Limitations

  • Minimal functionality for non-Python languages
  • Sometimes have to specify the file where you want the change to happen

Progress

This project is still super early and we would love your help to make it great!

Current goals

  • Multi-model support
  • Launch plugin system for tool and agent builders
  • Create self-hostable Electron app
  • Set SOTA on SWE-bench Lite

View our current thoughts on next steps here

Star history

Star History Chart

Past milestones

  • May 10, 2024 - Complete interactive agent v0.1.0
  • May 10, 2024 - Add steerability features
  • May 8, 2024 - Beat AutoCodeRover on SWE-Bench Lite
  • Mid April, 2024 - Add repo level code search tooling
  • April 2, 2024 - Begin development of v0.1.0 interactive agent
  • March 17, 2024 - Launch non-interactive agent v0.0.1

Current development priorities

  1. Improve context gathering and code indexing abilities ex:
    • Adding memory modules
    • Improved code indexing
  2. Add alternative models and agents to:
    • a) Reduce end user cost and
    • b) Reduce end user latency
  3. Introduce Electron app and new UI

How can I contribute?

Devon and the entropy-research org are community-driven, and we welcome contributions from everyone! From tackling issues to building features to creating datasets, there are many ways to get involved:

  • Core functionality: Help us develop the core agents, user experience, tool integrations, plugins, etc.
  • Research: Help us research agent performance (including benchmarks!), build data pipelines, and finetune models.
  • Feedback and Testing: Use Devon, report bugs, suggest features, or provide feedback on usability.

For details, please check CONTRIBUTING.md.

If you would like to contribute to the project, please fill out our Contribution Form

Feedback

We would love feedback! Feel free to drop us a note on our Discord in the #feedback channel, or create issues!

We collect basic event type (i.e. "tool call") and failure telemetry to solve bugs and improve the user experience, but if you want to reach out, we would love to hear from you!

To disable telemetry, set the environment variable DEVON_TELEMETRY_DISABLED to true

export DEVON_TELEMETRY_DISABLED=true

Community

Join our Discord server and say hi! Discord

License

Distributed under the Apache 2.0 License. See LICENSE for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devon_agent-0.1.9.tar.gz (76.4 kB view details)

Uploaded Source

Built Distribution

devon_agent-0.1.9-py3-none-any.whl (94.2 kB view details)

Uploaded Python 3

File details

Details for the file devon_agent-0.1.9.tar.gz.

File metadata

  • Download URL: devon_agent-0.1.9.tar.gz
  • Upload date:
  • Size: 76.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.6 Darwin/23.1.0

File hashes

Hashes for devon_agent-0.1.9.tar.gz
Algorithm Hash digest
SHA256 84eee8186cb15dbdb21ad9032c59a014bfe0224db62c60941e26de0b0553d06a
MD5 6384a148252ff6c1b656152b20619f95
BLAKE2b-256 e9e826f2c54806ddc809bace7da961685de2df9f7539c8a486063a3c7c8e0524

See more details on using hashes here.

File details

Details for the file devon_agent-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: devon_agent-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 94.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.6 Darwin/23.1.0

File hashes

Hashes for devon_agent-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 177fec4e87d29cbe82271d20f2f1f86428ac8dcd398463a332f40b218fa5b77f
MD5 975da75b1c4a95007e7c038201c34a7f
BLAKE2b-256 3d31e6f96f282016068ea990d49b7032010bf815f5f0a2963262e49c18908e98

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page