Over the last few months I’ve built a tool that breaks down your codebase into a knowledge graph, generates and stores inferences about the code with each node and provides tooling for agents to fetch graph structure, perform similarity search, fetch code etc in order to do engineering tasks.

My favourite thing about this is how easy it makes getting started with a new codebase that I have no context about. As a young engineer when I was trying to get into open source, it always seemed out of reach because the large codebases always scared me and documentation was not fun to read.

Use cases I’ve tried so far:

- Generating “Getting started” documentation for a project: I could not find any steps on how to build and test the AgentOps SDK locally. I’m more of a microservices guy, had never heard of tox or built SDKs. The tool was able to read the configuration files and tell me exactly how to build and run the tests [1]

- Generating a plan for changes to be made for a Github issue description - Tried this with the Portkey AI gateway and Signoz codebase where I picked up an open issue from the repo and tried to get the agent to tell me what needs to be done. [2][3]

- Understanding behaviour of a repo that is not documented - I was debugging a latency issue and noticed an evaluation task prompt in our LLM observability, our agents are built with CrewAI, but I could not find any reference to this on their documentation. Using the tool I was able to pinpoint where it was coming from and its purpose. [4]

I’m experimenting with new use cases everyday and trying to see what else is possible. How would you use these agents?

[1] Video: https://youtu.be/KonguA9PD80

    Chat:  https://app.potpie.ai/chat/0192dd3f-078e-753f-b5f8-00b724d9085e
[2] Video: https://youtu.be/XSZMtIawy5s

    Chat: https://app.potpie.ai/chat/0192c3ea-3dfa-7090-b5fb-3f3d50bbc301
[3] Video: https://youtu.be/N9wUI8h0f5w

    Chat: https://app.potpie.ai/chat/0193013e-a1bb-723c-805c-7031b25a21c5
[4] Video: https://youtu.be/FeTQhSBguf4

    Chat: https://app.potpie.ai/chat/0193074b-5fec-7308-9158-67dbbf4cd516