Cosine understands your codebase better than you do. It supports 50+ coding languages, allowing developers to ask any question about their codebase, get explanations about any feature and get suggestions about how to write new code.
We’re not just simply an LLM wrapper. We’ve had to build a search engine, vector database, static analysis (LSP), and fine tune multiple LLMs to get to something that is context aware, can answer complex questions and is useful day to day.
Hey Product Hunt 👋 Ali here, the Co-founder of Cosine ⭐.
I’m beyond excited to bring Cosine to the Product Hunt community today.
Cosine is an AI knowledge engine that understands your codebase better than you do, currently available in the browser, and as a VS Code extension. It supports 50+ coding languages, allowing developers to ask any question about their codebase, get explanations about any feature and get suggestions about how to write new code.
Try it out on an open source repo without installation on our website or install our VS Code extension!
We’re not just simply an LLM wrapper, we did try that at the start but the results are inaccurate, slow and doesn’t make dev work much easier. We’ve had to build a search engine, vector database, static analysis (LSP), and fine-tune multiple LLMs to get to something that is context aware, can answer complex questions and is useful day-to-day.
Our ask
Try it out on an open source repo without installation or sign up directly on our website or install our VS Code extension with a few clicks!
What next?
Level 5 coding autonomy - we’re going to let you assign a ticket to Cosine on Linear and it’ll just do it automatically.
Hey PH community! Super super pumped to have guys try Cosine out. If you need some inspiration as to what prompt you should use. Here are some cool ones.
How does testing work?
Which architecture does the consumer app use?
How does error propagation work across our backend services?
How do we expire authentication tokens?
Explain how we implement IP based rate limiting
How should I add a new chart element to our main dashboard?
How can I change the request timeout on all of our services?
How do I implement the useForm hook?
Why would I use dependency injection in this language?
Find the code which sanitises user sign up input
Find the recursive tree looping in the parser
Clean up the highlighted code
Why are all these classes abstract?
I need to add X how do I do that?
Having used Cosine for a considerable amount of time, I can confidently say it's a true gem in the coding world. Here's why I'm singing its praises:
Unparalleled Quality: Cosine's accuracy and precision in understanding code is simply unmatched. It goes beyond the surface level, delving deep into the intricacies of your codebase. This has saved me countless hours of debugging and troubleshooting.
Extensive Language Support: With support for over 50 coding languages, Cosine truly caters to a diverse range of developers. No matter what language you're working with, Cosine has got your back. This flexibility is a game-changer for teams with varied tech stacks.
Incredible Team: Behind this remarkable tool is an equally remarkable team. Their dedication and commitment to making Cosine the best it can be is evident in every aspect of the tool. They actively listen to user feedback and are constantly pushing boundaries to enhance the product.
Using Cosine has not only streamlined my coding process but has also given me a newfound confidence in tackling complex projects. It's like having a coding companion that understands my codebase as well as I do, if not better.
If you're a developer serious about optimizing your workflow and elevating your coding experience, Cosine is a must-have. Give it a try, and you'll wonder how you ever managed without it!
Kudos to the Cosine team for creating something truly extraordinary. 🚀👏
@johannes_van_der_heijden You know how to make a guy blush ☺️.
Thanks so much for your kind words Martin. Your feedback over the beta period has been tremendous!
We've got so much still to build! Excited for all the new value we can ship to you.
Hello, Cosine seems to be a great tool. If it's understands the whole code base, can it generate doumentation and package/classes/methods... descriptions, etc?
It sure can! It's something we're building out more. At the moment there's no direct insertion of documentation. But building out a robust way of also self hosting quick up to date docs is something that's on our roadmap.
We recently opened up a sharing feature which helps with quickly writing a prompt to discuss a certain topic with Cosine and easily be able to share that with a colleague.
I've been using that as a way to document and explain things to colleagues when they ask me about a particular implementation.
You can read more about the sharing feature here: https://cosine.sh/blog/changelog...
Cosine
Cosine
Cosine