Hacker News new | ask | show | jobs
by jph 651 days ago
Plang and similar logic languages are compelling when combined with AI large language models plus anti-fragile programming techniques. The article's example shows goal-driven code that knows how to ask the LLM for how to improve the implementations, and also the goal planning.

However, Plang is unusual because it requires up-front payment to try. For example, the main website says " On first build you will be ask to pre-purchase credits" and "Each code line incurs usually between $0.005 - $0.035 fee via LLM". I respect developers who ask for money. At the same time, it would be great to have a lower-quality local-first way to try Plang.

1 comments

I am just one person atm, I cant really afford to give money :)

If you have OpenAI API key you can use that instead of going through the plang server.

Instead of 'plang' you run 'plang --llmservice=openai'

doc is here: https://github.com/PLangHQ/plang/blob/main/Documentation/Pla...