Hi HN! We built Nuanced (https://github.com/nuanced-dev/nuanced), an open-source Python library that makes AI coding tools smarter about code structure.
The problem: current AI coding assistants see code as just text. They don't understand which functions call which, or how code components depend on each other. This is why they often suggest changes that break dependencies they should have known about.
Nuanced solves this by generating call graphs that map these relationships. When you ask "What would break if I change this function?", instead of guessing, the AI can see the actual dependencies.
How it works:
1. Run `nuanced init .` to analyze a Python module in your codebase
2. Use `nuanced enrich app/file.py function_name` to get relationship data
3. Include this data in your AI prompts or integrate it into tools
We're already working with teams building AI coding assistants and security review tools to integrate this capability. Our initial release supports Python with plans for JavaScript/TypeScript next.
I'd love your feedback, especially if you're building dev tools that could benefit from better code structure understanding!
Comments URL: https://news.ycombinator.com/item?id=43345575
Points: 21
# Comments: 8
Zaloguj się, aby dodać komentarz
Inne posty w tej grupie
Article URL: https://mozillapetition.com/
Comments URL: https://news.ycombinator.com/item?

Article URL: https://sr.ht/~oconnor0/zinc/
Comments URL: https://news.ycombinator.com/ite
Hi HN! I love imagining the past, so I made Time Portal, a game where you are dropped into a historical event and see AI video footage from that moment. You have to guess where you are in time and