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•10mo ago

Comments

llm-exe•10mo 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•10mo 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.

Bernie vs. Claude [video]

https://www.youtube.com/watch?v=h3AtWdeu_G0
1•Jupe•39s ago•0 comments

The Responsibility of Intellectuals (1967)

https://chomsky.info/19670223/
1•caaqil•40s ago•0 comments

Cacti Defy Darwin

https://nautil.us/how-cacti-defy-darwin-1279117
1•Brajeshwar•58s ago•0 comments

Mayor of Paris removed parking spaces, "drastically" reduced the number of cars

https://www.cnn.com/2026/03/21/travel/paris-transformation-anne-hidalgo-mayor
1•heresie-dabord•3m ago•0 comments

Ask HN: Why do we train AI on one-on-one dialogues instead of group dynamics?

2•kubiknubika•6m ago•2 comments

Are AI Agents like von Hammerstein's industrious and stupid?

2•multidude•7m ago•1 comments

Why the Spec-to-Code Gap Cannot Be Closed?

https://www.causalitylimited.com/p/why-the-spec-to-code-gap-cannot-be
1•causalityltd•7m ago•0 comments

No Pills or Needles, Just Paper: How Deadly Drugs Are Changing

https://www.nytimes.com/2026/03/21/world/deadly-drugs-paper.html
1•Physkal•9m ago•0 comments

Agentic pre-commit hook with OpenCode Go SDK

https://www.youtube.com/watch?v=3j_Oh525Xrs
1•der_gopher•11m ago•0 comments

Reevaluating 1990s OOP in Java: DOP, Scoped Values, and Structured Concurrency

https://blog.arkstack.dev/en/blog/reevaluating-1990s-oop-in-java/
1•arkstack•12m ago•0 comments

A Simulated Dinosaur Nest Revealed Prehistoric Parenting Strategies

https://nautil.us/how-a-simulated-dinosaur-nest-revealed-prehistoric-parenting-strategies-1279134
1•Brajeshwar•14m ago•0 comments

Music and song discovery made simple

https://www.secondtrack.co/feed
1•eriatarka•19m ago•1 comments

Show HN: A minimal SVG polygon shape creator in the web

https://svg.koljasam.com/
1•blackbrokkoli•21m ago•0 comments

Healing and the Church

https://deepcode.substack.com/p/the-coming-great-transition-healing
3•longitudinal93•21m ago•0 comments

DFS and BFS Graph Searching Algorithms Explained

https://www.youtube.com/watch?v=TIbUeeksXcI
1•Brysonbw•21m ago•0 comments

Nvidia is expanding its empire

https://www.economist.com/business/2026/03/17/nvidia-is-expanding-its-empire
2•andsoitis•23m ago•0 comments

Show HN: Looq, a Quick Look Extension for Markdown, Code, CSV, SQLite, and More

https://parcse.com/looq
1•sitxh•23m ago•0 comments

Iran's Strike Attempt on Diego Garcia Reveals Missile Range

https://www.bloomberg.com/news/articles/2026-03-21/iran-s-failed-diego-garcia-strike-is-show-of-m...
1•geox•25m ago•0 comments

The Trillion Dollar Race to Automate Our Entire Lives

https://www.wsj.com/tech/ai/claude-code-cursor-codex-vibe-coding-52750531
1•bookofjoe•26m ago•1 comments

Ask HN: Why isn't the NSA categorized as an APT?

2•TheOpenSourcer•27m ago•0 comments

The biggest medieval march in English history never happened

https://www.popsci.com/science/battle-of-hastings-march-wrong/
1•Brajeshwar•28m ago•0 comments

Context Anchoring

https://martinfowler.com/articles/reduce-friction-ai/context-anchoring.html
1•reg_dunlop•31m ago•1 comments

Show HN: Cap the spending of your agents

https://github.com/day50-dev/capit/
1•kristopolous•32m ago•0 comments

Interactive NEXRAD point cloud 3D visualization

https://github.com/dcgrigsby/nexrad
1•cyril-crutches•32m ago•0 comments

Design systems aren't for designers anymore, they're for agents

https://vibeflow.ai/blog/ai-doesnt-have-bad-taste-you-have-no-system/
3•alepeak•34m ago•0 comments

Autonomous AI research agent with Overleaf sync

https://github.com/nanoAgentTeam/research-claw
2•nanoAgentTeam•35m ago•1 comments

Unix philosophy is dead Long live something else?

https://sdomi.pl/weblog/27-manifesto-of-a-burnt-out-hacker/
2•tempodox•35m ago•1 comments

Is playing music good for the brain?

https://www.economist.com/science-and-technology/2026/03/20/is-playing-music-good-for-the-brain
3•andsoitis•38m ago•1 comments

NASA wants to know how the launch industry's chic new rocket fuel explodes

https://arstechnica.com/space/2026/03/nasa-is-blowing-stuff-up-to-study-the-explosive-potential-o...
3•The_Fox•39m ago•0 comments

Show HN: AgentVerse – Open social network for AI agents (Mar 2026)

https://nickakre.github.io/agentverse-social/
2•nickakre•39m ago•0 comments