frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

LLM functions in TypeScript: a composable pattern for prompt/LLM/parse/execute

https://medium.com/llm-exe
5•llm-exe•11mo ago

Comments

llm-exe•11mo ago
A few weeks ago I posted about llm-exe, a TypeScript library for structuring LLM calls with reusable components.

I just put together a Medium series that digs deeper into how it works. It breaks down the idea of an LLM function - an executor that wraps a prompt, a model, and a parser. Each part does one thing well, and together they give you a clean, well-typed, testable, and composable way to work with LLMs.

The posts walk through each layer: prompt, parser, LLM, executor. If you're building LLM features in production with TypeScript, I think you’ll find the structure helpful. I am interested in any feedback.

Medium series: https://medium.com/llm-exe

mrbashtech•11mo ago
Great work! folks at llm-exe; As a TypeScript developer working with LLMs, llm-exe has been a game-changer for me. It abstracts away the boilerplate of prompt formatting, model integration, and response parsing, allowing me to focus on building features.

The modular design—separating prompts, parsers, and executors—makes my codebase cleaner and more maintainable. Plus, the ability to switch between different LLM providers with minimal code changes is incredibly convenient.

The Professors Are Using ChatGPT, and Some Students Aren't Happy About It

https://www.nytimes.com/2025/05/14/technology/chatgpt-college-professors.html
1•coldsunrays•2m ago•0 comments

Show HN: Routiium – self-hosted LLM gateway with a tool-result guard

https://github.com/labiium/routiium
1•deadpixel•3m ago•0 comments

Agent-World: Scaling RW Environment Synthesis for General Agent Intelligence

https://agent-tars-world.github.io/-/
1•gmays•3m ago•0 comments

Context Is Finite. Who Maintains It?

https://blog.gchinis.com/posts/2026/04/self-organizing-agents/
1•gchinis•4m ago•0 comments

Release PiClaw v2.0.1 – Ferrix

https://github.com/rcarmo/piclaw/releases/tag/v2.0.1
1•rcarmo•7m ago•0 comments

Trump ousts National Science Board members

https://www.washingtonpost.com/science/2026/04/25/national-science-board-members-dismissed/
2•acdha•9m ago•0 comments

Is the World Ready for a Car Without a Rear Window?

https://www.wsj.com/lifestyle/cars/polestar-4-dan-neil-review-407f11a6
1•bookofjoe•11m ago•1 comments

Why your AI assistant is suddenly selling to you

https://www.economist.com/business/2026/04/19/why-your-ai-assistant-is-suddenly-selling-to-you
1•edward•12m ago•0 comments

Automate TLS for Dynamic Domains with Traefik and Hetzner DNS

https://matija.eu/posts/dynamic-domain-certs-traefik-hetzner/
1•mmunj•12m ago•0 comments

AI Might Be Lying to Your Boss

https://williamoconnell.me/blog/post/ai-ide/
3•annjose•13m ago•0 comments

Go quirks: function closures capturing mutable references

https://rednafi.com/go/closure-mutable-refs/
1•Brajeshwar•14m ago•0 comments

Can you stop beans from making you gassy?

https://www.seriouseats.com/how-to-reduce-bean-gas-tested-11883862
1•jstrieb•15m ago•0 comments

Show HN: The Order of the Agents – Make Codex and Claude Create the Perfect PRD

https://github.com/btahir/agent-order
1•bilater•18m ago•0 comments

RFC: Oden: The Server-First, JavaScript-Esque Runtime

https://rfchub.com/phobos/rfc5-oden-the-server-first-javascript-esque-runtime
1•tlhunter•21m ago•0 comments

The U.K. Smoking Ban Is Illiberal

https://www.theatlantic.com/ideas/2026/04/case-against-uk-smoking-ban/686949/
3•JumpCrisscross•21m ago•1 comments

Building Semantic Version Control in Rust

https://therohansharma.com/semantic-version-control-rust
1•lukastyrychtr•23m ago•0 comments

Logs say success. The system says otherwise

https://blog.bridgexapi.io/why-your-logs-say-everything-worked-even-when-it-didnt
1•Bridgexapi•24m ago•1 comments

Show HN: Good AI Task – a tool for asking AI what it can and can't do

https://goodaitask.com
1•jmt710•25m ago•0 comments

Nicholas Carlini – Black-hat LLMs [video]

https://www.youtube.com/watch?v=1sd26pWhfmg
7•simonebrunozzi•28m ago•0 comments

Show HN: Useknockout open source background removal API 40× cheaper -remove.bg

https://github.com/useknockout/api
3•tlorents•29m ago•0 comments

Show HN: AI Visibility Monitor – Track if your site gets cited by GPT/Claude

https://github.com/WorkSmartAI-alt/ai-visibility-monitor
3•balance006•29m ago•0 comments

Check Cloudflare D1, R2, Workers usage – see remaining limits for today/month

https://dialtoneapp.com/cloudflare
3•fcpguru•32m ago•1 comments

LLM-Rosetta: Zero-Dep API Translator for OpenAI, Anthropic, Google and Streaming

https://github.com/Oaklight/llm-rosetta
2•Oaklight•35m ago•0 comments

Artifacts Are Alive (and Photographs Are Dead)

https://worksonmymachine.ai/p/artifacts-are-alive-and-photographs
5•Stwerner•38m ago•1 comments

Show HN: Mapping Sonnet's thinking process via flame charts

https://adamsohn.com/lambda-variance/
2•dataviz1000•38m ago•0 comments

You're about to feel the AI money squeeze

https://www.theverge.com/ai-artificial-intelligence/917380/ai-monetization-anthropic-openai-token...
4•negura•39m ago•1 comments

Adding a team was the wrong strategic decision

https://learnings.aleixmorgadas.dev/p/adding-a-team-was-the-wrong-strategic
2•milkglass•39m ago•0 comments

The Stanford Freshmen Who Want to Rule the World

https://www.theatlantic.com/ideas/2026/04/stanford-students-power/686920/
10•apparent•41m ago•1 comments

Zerodep: Performant single-file, zero-dep Python modules (protobuf, YAML, etc.)

https://github.com/Oaklight/zerodep
2•Oaklight•45m ago•0 comments

Self-Hosted AI Red Team Tools

https://aetherverseintel.gumroad.com/l/vpzqnk
2•valuria•50m ago•0 comments