frontpage.
newsnewestaskshowjobs

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.

Pay-to-rank leaderboard exclusively for memecoins

https://www.topmemecoin.cash/
1•btsurgeo•22s ago•0 comments

Show HN: Muteval – mutation testing for your LLM evals

https://github.com/AshwinUgale/muteval
1•Ashwin1121•56s ago•0 comments

Moravec's Paradox

https://en.wikipedia.org/wiki/Moravec%27s_paradox
1•kensai•1m ago•0 comments

Lego color wheels (and why build a grid instead)

https://www.youtube.com/watch?v=7BXFFT0aPpE
1•fanf2•1m ago•0 comments

A two-month calendar on my Desktop

https://leancrew.com/all-this/2026/08/a-two-month-calendar-on-my-desktop/
2•surprisetalk•2m ago•0 comments

Show HN: My thirds steam game (and it failed)

https://store.steampowered.com/app/4943550/NOMSTERS/
2•ibackstrom•3m ago•0 comments

Getting the Steam Deck LCD working on a Raspberry Pi

https://www.jeffgeerling.com/blog/2026/steam-deck-lcd-pi-hat/
3•Brajeshwar•3m ago•0 comments

How HN: Naeos – an open-source engineering framework for AI coding agentsS

https://github.com/NAEOS-foundation/naeos
2•bayu911•4m ago•0 comments

China joins Europe in scrapping Windows for Linux

https://www.zdnet.com/article/china-drops-windows-for-linux/
2•CrankyBear•4m ago•0 comments

Amid intense backlash, people are vandalizing Flock surveillance cameras

https://text.npr.org/nx-s1-5939851
2•DeepLogin•5m ago•0 comments

DDR5 scalper bots outnumber shoppers 10 to 1, scraping hits every 6.5 seconds

https://www.tomshardware.com/pc-components/ddr5/scalper-bots-now-outnumber-human-shoppers-10-to-1...
2•speckx•5m ago•0 comments

Apple paid $17B in taxes to Ireland after court ruling on back levies

https://www.ft.com/content/65fb0ad1-e4d5-43be-9dcf-f7aba1bea3a6
4•geoffbp•6m ago•0 comments

Ask HN: OpenCode no longer including DeepSeek?

2•dv35z•6m ago•0 comments

Cosine similarity is dead. Long live cosine similarity

https://www.lighthousenewsletter.com/p/cosine-similarity-is-dead-long-live
2•j0selit0•6m ago•0 comments

Seeking Work (AI developer, Germany)

https://walter-a-jablonowski.github.io/cv-en/
2•walterjab•7m ago•0 comments

Updates on WireGUI an open source WireGuard Server

https://github.com/bartei/wiregui
2•bartei81•8m ago•1 comments

The Evolution of Beat 'Em Ups: From Arcade Cabinets to Digital Storefronts

https://www.brothers-in-gaming.com/post/the-evolution-of-beat-em-ups-from-arcade-cabinets-to-digi...
2•vinnyita•9m ago•1 comments

Advanced AI Sycophancy

https://www.seangoedecke.com/advanced-ai-sycophancy/
2•gmays•11m ago•0 comments

Familiar Stranger

https://en.wikipedia.org/wiki/Familiar_stranger
2•aragonite•11m ago•0 comments

Show HN: A coding-agent workbench built around Matt Pocock's coding workflow

https://github.com/ticketry-hq/ticketry-downloads/releases/download/0.2.0/Ticketry_0.2.0_aarch64.dmg
2•chandramoulyKK•11m ago•1 comments

Claudette: Make Claude Stop Talking Like a BuzzFeed Article

https://github.com/adnanakil/nobuzz/blob/main/README.md
2•aakil•12m ago•0 comments

The Dimensionality of Spacetime (1997)

https://arxiv.org/pdf/gr-qc/9702052
1•NeOchenHorosho•12m ago•0 comments

Show HN: CLI to Churn Out CLIs

https://github.com/chinmayrelkar/bawarchi
1•Chnmy•12m ago•0 comments

Transformation Failure, POM Before AI – Food for Agile Thought 558

https://age-of-product.com/food-agile-thought-558-transformation-failure/
1•swolpers•13m ago•0 comments

Your Margin Is the AI Labs' Roadmap

https://maxprilutskiy.com/p/your-margin-is-the-ai-labs-roadmap
2•maxpr•14m ago•0 comments

Show HN: Organizational Cognition: Why the Next AI Moat Won't Be Intelligence

https://chinmayrelkar.github.io/writing/organizational-cognition.html
1•Chnmy•14m ago•0 comments

How Much Surveillance Are We Comfortable With?

https://www.nytimes.com/2026/08/21/magazine/flock-cameras-surveillance-state.html
1•tysone•15m ago•0 comments

A year of databases: how I fell in love with programming again

https://dennypenta.github.io/mynameis/blog/year-databases-11
1•dennypenta•15m ago•0 comments

Zig's Io.Threaded Is Neat

https://matklad.github.io/2026/08/06/neat-io-threaded.html
2•chilipepperhott•15m ago•0 comments

I Have Bad News If You Live Near Strancally Castle (Zuckerberg Bought It)

https://gizmodo.com/i-have-bad-news-if-you-live-near-strancally-castle-zuckerberg-bought-it-20008...
1•ochrist•15m ago•1 comments