Claude Engineer Amplifies Your Code
Written by Nikos Vaggalis   
Monday, 02 September 2024

Claude Engineer is a CLI tool that draws on Anthropic's Sonnet 3.5 model to add super power capabilities to your coding workflow.

claude engineer banner

First it's important to note that Claude Engineer is not an official Anthropic product, but a third party product created by the founder of EverArtAI, Pietro Schirano.

In simple terms it is a tool that assists with a wide range of software development tasks like file system operations, web search and intelligent code analysis all from within the CLI fostering a chatbot interface.

Example interactions with the bot include:

  • Create a new Python project structure for a web application
  • Explain the code in file.py and suggest improvements
  • Search for the latest best practices in React development
  • Help me debug this error: [paste your error message]
  • Analyze this image and describe its contents
  • Execute this Python code and analyze the results
  • Read multiple files: file1.py, file2.py, file3.py

It is powered by Python, works with Python code and, of course, under the hood of course interacts with the Claude-3.5-Sonnet API to perform its magic.

claude

To get it yourself, clone its Github repo, install the requirements, set up your virtual environment, add your Antrhropic API keys and you're ready to go by starting the Claude Engineer interface with:

python main.py

The CLI responds to the following special commands:

  • Type 'exit' to end the conversation and close the application.
  • Type 'image' to include an image in your message for analysis.
  • Type 'reset' to reset the entire conversation without restarting the script.
  • Type 'automode number' to enter Autonomous mode with a specific number of iterations.
  • Type 'save chat' to save the current chat log.
  • Press Ctrl+C at any time to exit the automode and return to regular chat.

Now you are free to put it work like doing operations on folders or generating files, creating the backbone of a new project, suggesting improvements, asking it to generate or debug code or searching the web (it integrates with Tavy).

Engineer can perform all these versatile tasks because it plugs into multiple models:

  • MAINMODEL (Claude 3 or Claude 3.5): Handles general interactions and task processing.
  • TOOLCHECKERMODEL: Validates the usage and outputs of various tools to ensure reliability.
  • CODEEDITORMODEL: Specializes in code editing tasks, ensuring high-quality modifications.
  • CODEEXECUTIONMODEL: Analyzes code execution results and provides insights.

There are also some utility functions like saving your chat which will create a markdown file of the entire conversation. This is something useful for resuming a conversation another time or for reseting your chats.

Check this X thread from Pietros which includes a video demonstration of the tool in action.

To conclude, Claude Engineer enters the coding assistants exclusive club with much ambition.

 claude engineer logo

More Information

Claude Enginner Github

Related Articles

Microsoft Goes All Out On Generative AI

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Spring I/O 2024 Sessions Now Available Online
30/08/2024

The sessions from this year's premier Spring developer community conference, are now available online, for free.



Anthropic Launches Prompt Caching With Claude
19/08/2024

Anthropic has added Prompt Caching as a feature that it claims makes it more practical and cost-effective to use Claude's capabilities for complex, long-term projects that require consistent access to [ ... ]


More News

kotlin book

 

Comments




or email your comment to: comments@i-programmer.info