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.

Is it time for a new Embedded Linux build system?

https://yoebuild.org/blog/time-for-a-new-build-system/
1•cbrake•29s ago•0 comments

Europe Scales Down AI Ambitions with Smaller Data Center Tender

https://www.bloomberg.com/news/articles/2026-06-18/europe-scales-down-ai-ambitions-with-smaller-d...
1•alecco•40s ago•0 comments

Show HN: Foglamp – Open-source o11y for AI SDK

https://www.foglamp.dev/
1•gustavofior•1m ago•0 comments

The founder of Craigslist has given away half a billion dollars

https://www.independent.co.uk/us/money/craigslist-multimillionaire-craig-newmark-b2980681.html
1•Tomte•2m ago•0 comments

Project Fetch: Phase Two

https://www.anthropic.com/research/project-fetch-phase-two
1•meetpateltech•2m ago•0 comments

Tech CEOs are breaking the law

https://kiesow.net/tech-ceos-are-breaking-the-law/
1•speckx•2m ago•0 comments

Show HN: Kelora – query and transform logs from the command line

https://github.com/dloss/kelora
1•dloss•2m ago•0 comments

Hotshot – tool to make screenshot –> Claude/copilot/goose faster

https://github.com/kubestellar/hotshot
1•andan02•3m ago•1 comments

ClojureWasm is a Clojure runtime written from scratch in Zig and Clojure, no JVM

https://github.com/clojurewasm/ClojureWasm
1•yogthos•3m ago•0 comments

Brexit tore apart European science – now the research rifts are healing

https://www.nature.com/articles/d41586-026-01841-w
1•Brajeshwar•3m ago•0 comments

Leaked Names Expose Billionaire Peter Thiel's 'Dialog' Society

https://bsky.app/profile/crimew.gay/post/3moejlixgvc2z
1•Sam6late•4m ago•1 comments

Show HN: Tamper-evident audit logs for LangChain/Crew AI agents

https://github.com/Providex-AI/rootsign
1•oabolade•4m ago•0 comments

Infrastructure Is the Source of Truth

https://engineeringforteams.substack.com/p/infrastructure-is-the-source-of-truth
1•nickstinemates•5m ago•0 comments

AI data centre would be 'one of Scotland's top polluters' if plans greenlit

https://www.thenational.scot/news/26205897.larbert-ai-data-centre-become-top-10-polluter/
4•pera•7m ago•0 comments

Google just lost one of its biggest AI names to OpenAI

https://www.businessinsider.com/google-veteran-founded-characterai-is-jumping-to-openai-talent-wa...
2•ksec•8m ago•0 comments

Openfoot Manager

https://openfootmanager.com/
3•skibz•9m ago•0 comments

Show HN: electron-expose – Make Electron IPC boring with TypeScript decorators

https://github.com/johnyrokita/electron-expose
2•jskull•12m ago•0 comments

Researchers have uncovered how Russia's nuclear-powered missile works

https://www.npr.org/2026/06/18/nx-s1-5843252/russia-nuclear-powered-missile-burevestnik
2•ck2•12m ago•1 comments

ExportMyMap – Export your Google Maps saved places to any format

https://exportmymap.com
2•AlekseiD•12m ago•0 comments

Securing the Future of AI Agents

https://deepmind.google/blog/securing-the-future-of-ai-agents/
3•falcor84•13m ago•1 comments

Apollo Makes Debt Concessions on Shutterfly as AI Competition Pressures Mount

https://www.bloomberg.com/news/articles/2026-06-18/apollo-s-shutterfly-debt-concessions-expose-ai...
2•petethomas•13m ago•0 comments

Elon Musk tries again to escape FTC audits of X data handling

https://arstechnica.com/tech-policy/2026/06/elon-musk-tries-again-to-escape-ftc-audits-of-x-data-...
4•anticorporate•13m ago•0 comments

The Future of Session

https://getsession.org/the-future-of-session
2•paulnpace•14m ago•0 comments

RaptorX AI, incubated by Moonpay and backed by Solana

2•uponlytech•14m ago•0 comments

Growing as an Engineer in a World of AI

https://nlopes.dev/writing/growing-as-an-engineer-in-a-world-of-ai
2•shelika•15m ago•0 comments

You now have cursor-like diff control over Claude Code

2•gagewoodard•16m ago•0 comments

Meta Tapped a Pentagon Supplier to Prototype Face Recognition for Its Glasses

https://www.wired.com/story/meta-rank-one-computing-face-recognition-smart-glasses/
2•anticorporate•17m ago•0 comments

Side Project Time

https://en.wikipedia.org/wiki/Side_project_time
3•Austin_Conlon•17m ago•0 comments

Google DeepMind unveils plan to protect itself from its own rogue AI agents

https://fortune.com/2026/06/18/google-deepmind-unveils-plan-to-protect-itself-from-its-own-rogue-...
3•Brajeshwar•18m ago•0 comments

How do Venus flytraps work? New study sheds light on cellular mechanisms

https://www.abc.net.au/news/science/2026-06-12/cellular-mechanism-behind-a-venus-flytrap-s-super-...
1•bryanrasmussen•19m ago•0 comments