Devon: An Open-Source Pair Programmer

Mar 1, 2023 | Educational

Contributors Forks Stargazers Issues
Apache 2.0 License Join our Discord community

How to Install and Run Devon

Welcome to the how-to guide for Devon, your new open-source pair programmer! This handy tool enhances your coding process by providing support in various programming tasks.

Prerequisites

Installation Commands

To get Devon up and running, simply follow these commands:

# Step 1: Ensure pipx is in your PATH
pipx ensurepath

# Step 2: Install the backend
pipx install devon_agent

# Step 3: Install and run the main UI
npx devon-ui

Running the Agent

Once the installation is complete, you can run the main UI easily:

npx devon-ui

And if you prefer using a terminal interface, follow these steps:

Terminal UI Installation

# Install the backend
pipx install devon_agent

# Install the terminal UI
npm install -g devon-tui

Running Terminal UI

Navigate to your project folder, open the terminal, and set your API key as an environment variable:

export ANTHROPIC_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# OR

export OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Next, to run the terminal UI, use:

devon-tui

It’s as easy as that!

Troubleshooting Tips

If you encounter any issues, here are some troubleshooting ideas:

  • Ensure that your Node.js and npm installations are up-to-date.
  • Check if the pipx path is included in your environment variables.
  • If the agent doesn’t run as expected, ensure the correct API key is set.
  • For help and community support, join our Discord channel: Discord.

For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

Features of Devon

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

Limitations

  • Minimal functionality for non-Python languages
  • Local mode might not perform optimally; use with caution.

Contribution Opportunities

Devon thrives on community contributions! Here are ways you can help:

  • Enhance core functionalities.
  • Assist in research and performance benchmarking.
  • Provide feedback and testing support.

Conclusion

Devon is continuously evolving, and your input can help shape its future!

At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox