entropy-research / Devon

Devon: An open-source pair programmer
GNU Affero General Public License v3.0
3.28k stars 264 forks source link

Add real terminal support #103

Open James4Ever0 opened 3 months ago

James4Ever0 commented 3 months ago

As the demo from Devin has shown, its agent is capable of interacting with real terminal while other open source ones such as OpenDevin unable to.

Hereby I made some necessary progress over this very agent by developing a complete terminal agent environment. Here are some of its features.

You can see the position of the cursor, the range of the selected text.

tmux_show_1

You can also capture a screenshot of the terminal with cursor denoted in red.

vim_edit_tmux_screenshot

Grayscale augmented terminal gives high contrast to the red cursor, making the agent easier to locate it.

grayscale_dark_tmux

Devon can certainly integrate this into its core, making it more competitive.

You can learn more about it here.