Skip to content

Kodu is an autonomous coding agent that lives in your IDE. It is a VSCode extension that can help you build your dream project step by step by leveraging the latest technologies in automated coding agents

License

Notifications You must be signed in to change notification settings

kuntal-c/kodu-coder

 
 

Repository files navigation

Download Extension | Join the Discord

Welcome to Kodu Coder

Kodu Coder is a coding agent extension tailored for use with Kodu Cloud. We're excited to share our work with the community and invite you to explore the new features and capabilities we've added.

About Kodu Coder

Kodu Coder is a powerful tool that helps you code faster and more efficiently. It's like having a coding assistant right in your editor! Kodu Coder can help you with a variety of tasks, from writing code to debugging and testing. It's perfect for developers who want to save time and improve their workflow or for beginners who have never coded before.

Demo

For this demo, let's create a simple hangman game using react, starting with a default create-react-app project. We'll use Kodu Coder to help us write the code for the game.

kodu-demo.mp4

Key Features

Reliable Fast Integrated
Claude's Vision
Paste images in chat to use Claude's vision capabilities and turn mockups into fully functional applications or fix bugs with screenshots
Real-time Feedback
Inspect diffs of every change Kodu Coder makes right in the editor, and provide feedback until you're satisfied with the result
CLI Integration
Run CLI commands directly in chat, so you never have to open a terminal yourself
Permission Control
Permission buttons before using a tool sending information to the API
Usage Tracking
Track total tokens and API usage cost for the entire task loop and individual requests
API Request Limit
Set a maximum number of API requests allowed for a task before being prompted for permission to proceed
Automated Result Presentation
Automated result presentation with terminal commands (e.g., open -a "Google Chrome" index.html)
Unlimited API Requests
Leveraging Kodu Cloud to allow for a smoother and unrestricted experience
Optimized Performance
Efficient token caching and prompt optimization on server side to reduce cost and improve speed
Image Optimization
Image optimization to reduce token cost
Autopilot Mode
Experimental autopilot mode automatically approves read and write requests, tell Kodu what you need
Many more to come...

How does it work

Kodu Coder leverages the powerfull Claude LLM model from Anthropic in collaboration with Kodu Cloud, to provide a seamless use of the underlying model. The extension allows you to interact with the model through a chat interface, where you can ask questions, run commands, and get help with your code. Kodu Cloud adds the ability to use tools to help you code faster and more efficiently.

Tools

Kodu Coder has access to the following capabilities:

  1. Execute Command: Run terminal commands on the system (with user permission)
  2. List Files (Top Level): List all paths for files at the top level of a specified directory
  3. List Files (Recursive): List all paths for files in a specified directory and nested subdirectories
  4. View Source Code Definitions: Parse source code files to extract names of key elements like classes and functions
  5. Read File: Read the contents of a file at a specified path
  6. Write to File: Write content to a file at a specified path, creating necessary directories
  7. Ask Followup Question: Gather additional information from the user to complete a task
  8. Attempt Completion: Present the result to the user after completing a task
  9. Open File: Open a file in the default application for the file type
  10. More to come...: Have a suggestion? Let us know by creating an issue or telling us about it in our Discord server!

Working in Existing Projects

Using the context of the previous demo, let's see how Kodu Coder can help you work in existing projects. In this example, we'll use Kodu Coder to help us implement a confetti animation using the external react-confetti-explosion npm package.

editing-demo.3.mp4

About

Kodu is an autonomous coding agent that lives in your IDE. It is a VSCode extension that can help you build your dream project step by step by leveraging the latest technologies in automated coding agents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.3%
  • JavaScript 10.7%
  • CSS 1.9%
  • HTML 0.1%