| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
原始链接: https://news.ycombinator.com/item?id=44086062
这个Hacker News帖子讨论了Clojure MCP(github.com/bhauman),这是一个将大型语言模型(LLM)连接到有状态REPL以增强编码工作流程的工具。用户正在尝试“自主编码”(Agentic Coding),其中像Claude这样的LLM直接在Clojure环境中辅助代码生成、测试和设计反馈。该工具会索引代码,允许进行详细的查询和代码审查。 其优势包括更快的反馈循环、自动测试创建和创造性的测试工具设置。用户重点介绍了两个主要用例:搜索解决方案和获得设计见解。讨论涵盖了不同的方法,例如开发者主导和产品主导的开发,并强调了REPL驱动的开发与测试驱动开发(TDD)的无缝集成。帖子中包含了关于索引、使用git进行检查点以及将LLM响应与测试集成的方法的建议。提到的一个关键优势是能够使用Claude Desktop与MCP连接以避免API费用。社区还讨论了使用Claude以外的其他LLM和CLI工具。
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
The LLM agent will often write the code for a function and immediately follow that code up with several smoke testing expressions and the eval the whole thing in one go, function and tests.
It will creatively setup test harnesses to enable it to exercise code while it's being developed. (think html endpoints, starting and stopping servers, mocking)
And it goes on from there. Its an experience, and I submit to the reader that they experience it sooner than later bc its an extremely effective workflow and its AWESOME!
reply