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.

And just like that Opus 5 ultracode wipes the database

https://www.reddit.com/r/Anthropic/comments/1v9iurd/and_just_like_that_opus_5_ultracode_wipes_the/
1•_____k•37s ago•0 comments

MIT/FOSS repos our stargazers are starting to follow

https://www.agent-swarm.dev/blog/25-foss-repos-agentic-infra
1•pls-dnt-deploy•1m ago•1 comments

Government-Controlled Reddit Community Bans Discussion of Polygraphs

https://antipolygraph.org/blog/2026/07/30/government-controlled-reddit-community-for-u-s-secret-s...
1•giles_corey•3m ago•1 comments

Physicists link the Riemann Hypothesis to phase transitions in quantum systems

https://phys.org/news/2026-07-physicists-link-riemann-hypothesis-phase.html
1•captaincrowbar•7m ago•0 comments

DeepSeek V4 Flash 0731 Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/deepseek-v4-flash-ga
1•theanonymousone•8m ago•0 comments

Show HN: Free Etsy Fee and Profit Calculator

https://thesellermind.com/tools/fee-calculator
1•haimo•8m ago•0 comments

We built agents that write illustrated posts and ship to publisher platforms

https://www.crusbro.com/en/product-opc-agent.html
1•crusbro•9m ago•0 comments

Just because a game is on disc doesn't mean it will work in the future

https://arstechnica.com/gaming/2026/07/the-disc-is-not-the-game-physical-releases-increasingly-re...
2•rbanffy•16m ago•0 comments

Type Check Your Python in the Browser

https://www.basilisk-python.dev/playground/
1•cfdevelop•27m ago•0 comments

Find Duplicate Code in C# with Deslop

https://www.christianfindlay.com/blog/find-duplicate-code-csharp-deslop
1•cfdevelop•28m ago•0 comments

Learn how chips are made with this Rollercoaster Tycoon-inspired animation

https://laurentiugabriel.github.io/ChipTycoon/
2•laurentiurad•30m ago•0 comments

Anthropic finds three hacking incidents similar to the HuggingFace attack

https://simonwillison.net/2026/Jul/30/three-real-world-incidents/
5•Schlagbohrer•31m ago•2 comments

Danube's record low levels force shutdown of Hungary's only nuclear plant

https://www.bbc.com/news/articles/cn0nqv05g0do
4•vrganj•34m ago•1 comments

Show HN: In-browser photo inpainting with LaMa and ONNX

https://wipe.photos/
1•g58892881•34m ago•0 comments

Show HN: Dissecting the automation of a newspaper (Claude routine, GitHub Pages)

https://github.com/Lywald/zfrontpage/
2•ycosynot•36m ago•0 comments

Google fixed more Chrome bugs in June than over the past two years, thanks to AI

https://blog.google/security/chrome-stronger-with-every-update/
3•Garbage•37m ago•0 comments

Building a Real-Time Risk Monitoring System for Crypto Portfolios

https://medium.com/@DolphinDB_Inc/crypto-never-sleeps-neither-should-your-risk-management-6f740a7...
3•dbaa4real•40m ago•0 comments

What 20M Bans Reveal About the Stress on Wikipedia's Volunteers

http://www.techdirt.com/2026/07/30/what-20-million-bans-reveal-about-the-stress-on-wikipedias-vol...
1•beardyw•40m ago•0 comments

Show HN: Slaide, open-source Markdown slides AI writes and PowerPoint opens

https://getslaide.com/
2•ppiper•46m ago•0 comments

Iptv safe: a privacy checklist before you sign up

https://iptvstreams.tv/app
1•sarahgreen•48m ago•0 comments

Musk dismisses report of Tesla's potential China business sale

https://www.reuters.com/business/media-telecom/tesla-weighs-sale-china-business-pave-way-potentia...
5•ulfw•48m ago•1 comments

At the end of the day, my slaves are just a tool

https://www.lesswrong.com/posts/Dfz8dFNtqSei4F2qA/at-the-end-of-the-day-my-slaves-are-just-a-tool
2•jesseduffield•49m ago•0 comments

Medieval Ideas About Food

https://lithub.com/fish-bad-sugar-good-and-other-medieval-ideas-about-food/
1•simplegeek•50m ago•0 comments

Beltrunner: Game Design Postmortem

https://blog.gingerbeardman.com/2026/07/30/beltrunner-game-design-postmortem/
1•tobr•51m ago•0 comments

UK's only all-female chess team promoted – then told they must recruit a man

https://www.theguardian.com/sport/2026/jul/31/uk-female-chess-team-league-rule-men-join-sport
2•beardyw•51m ago•0 comments

Hi, Jinks – a new way to make games

https://jinks.gg/
1•tobr•52m ago•0 comments

The Software Engineering Practice Atlas

https://eng-atlas.dev
2•duyetdev•55m ago•0 comments

From Backtests to Live Crypto Trading Without Rewriting Strategy Code

https://medium.com/@DolphinDB_Inc/from-backtest-to-production-implementing-live-cryptocurrency-tr...
3•Polly_Liu•58m ago•0 comments

Show HN: I stopped babysitting my AI agents by pushing them to Telegram

https://blackflare.dev/
2•TrungTin•1h ago•0 comments

Samsung's chip workers are jumping ship to rival SK Hynix

https://www.technologyreview.com/2026/07/28/1140853/samsung-chip-workers-exodus-sk-hynix/
1•joozio•1h ago•0 comments