No project description provided
Project description
Devon: An open-source pair programmer
How do y'all ship so quickly?
← We have a community-driven Dev Team for this repo. Come join us! It's great.
Installation
Prerequisites
node.js
andnpm
pipx
, if you don't have this go here- API Key (just one is required)
We're currently working on supporting Windows! (Let us know if you can help)
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
#OR
export GROQ_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
To run in local mode:
[!WARNING] The current version of local model support is not mature, proceed with caution, and expect the performance to degrade significantly compared to the other options.
-
Get deepseek running with ollama
-
Start the local ollama server by running
ollama run deepseek-coder:6.7b
- Then configure devon to use the model
devon configure
Configuring Devon CLI...
? Select the model name:
claude-opus
gpt4-o
llama-3-70b
❯ ollama/deepseek-coder:6.7b
- And finally, run it with:
devon --api_key=FOSS
For a list of all commands available:
devon --help
Features
- Multi-file editing
- Codebase exploration
- Config writing
- Test writing
- Bug fixing
- Architecture exploration
- Local Model Support
Limitations
- Minimal functionality for non-Python languages
- Sometimes have to specify the file where you want the change to happen
- Local mode is not good right now. Please try to avoid using it.
Progress
This project is still super early and we would love your help to make it great!
Current goals
- Multi-model support
- Claude 3 Opus
- GPT4-o
- Groq llama3-70b
- Ollama deepseek-6.7b
- Google Gemini 1.5 Pro
- 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
Past milestones
- May 19, 2024 - GPT4o support + better interface support v0.1.7
- 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
- Improve context gathering and code indexing abilities ex:
- Adding memory modules
- Improved code indexing
- Add alternative models and agents to:
- a) Reduce end user cost and
- b) Reduce end user latency
- 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 join the discord: Discord
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 AGPL License. See LICENSE
for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file devon_agent-0.1.11.tar.gz
.
File metadata
- Download URL: devon_agent-0.1.11.tar.gz
- Upload date:
- Size: 87.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c98af7d095b25ca76012f7941bb03dbdc1e7fd55e0360457251d31dcbe1e328 |
|
MD5 | 1914bd54b50aac7579d337059cb0d434 |
|
BLAKE2b-256 | 9f17284c1609d10890cfe63e5a60732e5b7d26c7cf9ef94ed98461427dd8d83d |
File details
Details for the file devon_agent-0.1.11-py3-none-any.whl
.
File metadata
- Download URL: devon_agent-0.1.11-py3-none-any.whl
- Upload date:
- Size: 106.4 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14cd5284750618be65c4f584809007e10bd40872a1a635fdef6cf4fbc031f9d5 |
|
MD5 | c2f76440240bdff6e96e099c9c83cbd2 |
|
BLAKE2b-256 | 7dfa18b47b17fa1911a5e05ac84de0abf036d821dab32b27987ddae677ef645a |