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•1y ago

Comments

llm-exe•1y 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•1y 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.

Ask HN: Are your hidden links missing?

1•toomuchtodo•23s ago•0 comments

Mass Layoffs Caused by AI

https://olegdubovoi.com/thoughts/2026-06-04-mass-layoffs-caused-by-ai/
1•empiree•29s ago•0 comments

I ported Xonotic (arena FPS) to WebAssembly

https://dpgame.xonotic.workers.dev/
3•astlouis44•3m ago•1 comments

Looking for Backdoors in Jane Street LLMs

https://www.alignmentforum.org/posts/a98MFPmqH54J2ayBn/looking-for-backdoors-in-jane-street-llms-1
1•allenleee•4m ago•0 comments

Claude, Teach Me Something

https://hugotunius.se/2025/10/26/claude-teach-me-something.html
1•dannyboland•7m ago•1 comments

We Forget

https://quinnmaclay.com/posts/forget
1•speckx•11m ago•0 comments

Ntsc-rs – open-source video emulation of analog TV and VHS artifacts

https://ntsc.rs/
2•gregsadetsky•15m ago•0 comments

Hermes – Community Web UI with Agent

https://get-hermes.ai/
1•SeriousM•16m ago•0 comments

Show HN: CCC: One place to manage all your Claude, Codex, Antigravity sessions

https://github.com/amirfish1/claude-command-center
1•amirfish2•17m ago•0 comments

posix_spawn syscall added (2012)

https://blog.netbsd.org/tnf/entry/posix_spawn_syscall_added
1•JdeBP•17m ago•0 comments

AI Memory Proves Inefficient: Tenure Project Detects 95% Error Rate

https://zamin.uz/en/technology/205592-ai-memory-proves-inefficient-tenure-project-detects-95-erro...
3•jflynt76•19m ago•0 comments

The dark origins of Disney fairy tales [video]

https://www.youtube.com/watch?v=pyDZpDkU46Y
2•gmays•20m ago•0 comments

Readers' top novels of all time

https://www.theguardian.com/books/ng-interactive/2026/jun/06/readers-top-100-novels-of-all-time
1•fallinditch•20m ago•0 comments

Exitus: Travel Advisor

https://exitusadvisor.org/
2•polysw•24m ago•0 comments

iSave – A budgeting app that works without linking your bank

https://i-save.app/
1•xhafaaldi•24m ago•0 comments

Show HN: Competitive Programmer's Web Debugger

https://klyroni.com
1•s3arch•31m ago•0 comments

Rayforce

https://github.com/RayforceDB/rayforce
1•tosh•31m ago•0 comments

Leaks reveal US authorities concerned about the rise of 'anti-tech extremists'

https://www.tomshardware.com/tech-industry/artificial-intelligence/leaks-reveal-us-authorities-co...
3•rolph•31m ago•2 comments

IOCCC29 Awards Presentation and Source Code Reveal [video]

https://www.youtube.com/watch?v=MoWCwZx1Swc
1•s-macke•32m ago•0 comments

Project Euler 1000

https://projecteuler.net/problem=1000
3•pazqo•32m ago•1 comments

USSH: A shell protocol and client/server pair built on top of USTP-Secure

https://github.com/x1colegal/ussh
1•thunderbong•33m ago•0 comments

WebMCP Registry – a public index for WebMCP tool contracts

https://webmcp-registry.dev
2•plural•34m ago•0 comments

HIPAA Compliance – Shieldra.ai is live

https://www.shieldra.ai/
1•shieldra•35m ago•0 comments

Zapros: Modern and extensible HTTP client for Python

https://zapros.dev
1•karpetrosyan•36m ago•0 comments

ASML employees threaten to boycot internal event over possible Musk appearence

https://nos.nl/artikel/2617421-asml-medewerkers-dreigen-met-boycot-intern-evenement-na-uitnodigin...
4•28304283409234•37m ago•0 comments

The Missing Value of Data [pdf]

https://business.columbia.edu/sites/default/files-efs/citation_file_upload/BOVDataGDP_Dec2025_v2.pdf
1•neehao•39m ago•0 comments

The Sierpiński triangle ideal of Internet bandwidth for applications

https://inavoyage.blogspot.com/2026/06/the-sierpinski-triangle-ideal-of.html
1•initramfs•44m ago•0 comments

31gb to 4gb: Rust vector index based on TurboQuant

https://github.com/RyanCodrai/turbovec
1•nico•45m ago•0 comments

Treehouse – Isolate dev environments from Git worktrees

https://github.com/stemps/treehouse
1•stemps23•48m ago•0 comments

Ask HN: Can't a developer publish add-on for Outlook in Microsoft Marketplace?

2•bprasanna•48m ago•0 comments