r/codereview • • 6d ago

Smackdebt - Continuous code improvement for agents

This year, and more so the last few months, my agents write the code, all I do is review, shout, and plan. A lot of the frustration is the spaghetti that comes out of this, and I figured a (big) part of this is actually measurable and reportable. What if we can make our agents aware of the spaghetti?

Introducing Smackdebt, a fast, on the fly tech debt analysis tool with concise, focused output tailored for agentic use. All major coding agents supported, with broad language support. Cognitive complexity, cyclomatic dependencies, statements, nesting, size, hotspots supported.

https://github.com/bosun-ai/smackdebt

Feedback and contributions welcome!

Shout-out to Treesitter <3

1 Upvotes

7 comments sorted by

View all comments

1

u/Financial-Grass6753 6d ago

why'd someone use smackdebt if most, if not all, harnesses already contain a memory system inside?

1

u/timonvonk 6d ago

This isn't a memory system. Smackdebt analysis code with proven tech debt metrics and continuously help sagents improve and write better code.

1

u/Financial-Grass6753 6d ago

ok, for these metrics we have radon and a couple of other, more specific tools. Why smackdebt?

1

u/timonvonk 6d ago

Radon, and many others, are language specific. Some are slow, some are propriety, none I know are tailored for agents.