Potpie - Agentic AI On Your Codebase |
Written by Nikos Vaggalis | |||
Monday, 24 March 2025 | |||
Potpie allows you to chat with your codebase or any public codebase for that matter, to explain it, debug it, or do engineering tasks on it like generating test plans. Potpie's Agents understand your codebase by breaking down your code into its constituent parts and building a knowledge graph from your code’s components. These specialized agents are: Codebase Q&A Agent Unit Test Agent Integration Test Agent Debugging with Knowledge Graph Agent Code Changes Agent Code Generation Agent Low-Level Design Agent From the sound of it, it really looks like a super tool, the ultimate programmer's side kick. But is it so? I've put it to the test to find out. First let's talk about how to get access to it. Since it is an open source tool, you can download the code from its Github repo and self-host it. Then there's the cloud version which requires no setup and you can just log into it using your Github credentials. 50 Free credits are provided for you to try it out. After login in, you are presented with a main menu of the available agents and a input box which expects you to enter the repository to work on. I tried out the Codebase Q&A agent on the Spring Boot Pet Clinic, a very popular application, to better understand it. In particular, I asked the Agents to "explain the relationships between the JPA entities". This is what it produced: Spot on. Then I instructed it to write a unit test for VetController.java, which it answered with : Here's a unit test for the showVetList method in VetController.java using JUnit and Mockito: Explanation:
This test ensures that the showVetList method correctly interacts with the VetRepository and returns the expected view and model attributes. Nice. There's also an option to write your own Custom tests. Sample use cases include:
For Potpie to fuel its agents it has multi-LLM support: OpenAI, Gemini, Anthropic, Deepseek, and Llama — simultaneously. The Github repo has already amassed 2.8K stars. Will yours be the next one? More InformationRelated Articles
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.
Comments
or email your comment to: comments@i-programmer.info |
|||
Last Updated ( Monday, 24 March 2025 ) |