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.

The Exponential Time Hypothesis Is False [pdf]

https://github.com/openai/math/blob/main/preprints/The-Exponential-Time-Hypothesis-is-False-Octob...
1•vok•42s ago•0 comments

Do Redditors lie about their age? I checked 2.3M who said it twice

https://kissmypost.com/research/reddit-self-reported-age-gender-accuracy
1•krutytskyi•3m ago•0 comments

Joints, Camera, Action Co-Generating 3D Motion and Video for Arbitrary Rigs

https://research.nvidia.com/labs/par/projects/jca/
1•gmays•5m ago•0 comments

Cord – Quotes your clients can sign and pay from one link

https://cordhq.app/en
1•andrevallee•8m ago•0 comments

Applied Materials to raise BESI stake to about 20%

https://www.reuters.com/business/applied-materials-raise-besi-stake-about-20-2026-10-26/
3•tartoran•11m ago•0 comments

Show HN: Kashkeshet – non-opinionated agent-to-agent chat MCP server in Rust

https://github.com/sam-mfb/kashkeshet
2•sam256•11m ago•0 comments

The US AI Labs, Mapped: Founders, Revenue and the Money Behind Them

https://codingplans.dev/briefs/us-model-labs-part-1/
2•nedsma•11m ago•0 comments

Wall St banksline up $63B to finance Broadcom AI chips for Anthropic

https://www.reuters.com/legal/transactional/wall-street-banks-blackstone-line-up-63-billion-finan...
2•tartoran•11m ago•0 comments

Ultiwrite – commercial diligence from messy deal files

https://dwsoffshorepartners.com
1•Ultiwrite•13m ago•0 comments

Police Pulling People over Because AI Deems Their Driving Patterns "Suspicious"

https://www.aclu.org/news/privacy-technology/ai-driven-police-stops
4•voxadam•14m ago•0 comments

The Onion Voting Simulator 3D on Steam

https://store.steampowered.com/app/5372440/The_Onion_Voting_Simulator_3D/
1•rbanffy•15m ago•0 comments

Cost-effective agentic delegation scheme for Claude Code, Cursor and Codex

https://medium.com/@tbugaevsky/ai-is-expensive-how-do-you-save-tokens-without-compromising-qualit...
1•boogiefromzk•16m ago•1 comments

Lattis – a spreadsheet where every table you type is a real SQL table

https://lattis.be/
1•lalamefine•17m ago•0 comments

Writing a Linux kernel driver for a custom HLS systolic matmul IP

https://rafae1130.github.io/posts/embedded_linux/embedded-linux-zynq-soc-part-5.html
1•Teever•20m ago•0 comments

I Started Negroni Season. It Never Really Ended.

https://robbreport.com/food-drink/spirits/negroni-season-drink-trend-1238754423/
1•jbegley•22m ago•0 comments

Binance gave Russia data on IT worker jailed 13 years for $700 Ukraine donation

https://meduza.io/news/2026/10/26/aytishniku-yuriyu-belenkomu-dali-13-let-po-delu-o-donatah-vsu-e...
8•souvlakee•23m ago•0 comments

Pathfinder – Android native research agent

https://usepathfinder.eu/
2•monneyboi•24m ago•0 comments

Working with academic communities to build scientific understanding

https://openai.com/index/building-scientific-understanding-with-academic-communities/
33•jonluca•24m ago•7 comments

Show HN: GradientDeck – a design skill for coding agents

https://github.com/VenoM9078/gradientdeck-skill
2•thisisroushan•24m ago•1 comments

You can hack your TVs and gadgets with AI for free now – but should you?

https://www.zdnet.com/innovation/ai-reverse-engineering-old-gadgets-smart-tvs/
2•CrankyBear•27m ago•0 comments

Show HN: Manage BOMs for multi-board PCB projects

https://www.bomanager.app
2•ikok07•29m ago•0 comments

Show HN: Autorouter Benchmark on Various PCBs

https://github.com/Koppar-AI/autorouter-bench
2•abijahkaj•29m ago•0 comments

Analysis – In China, the AI bubble has burst

https://www.msn.com/en-us/money/general/analysis-in-china-the-ai-bubble-has-already-burst/ar-AA2g...
4•PLenz•30m ago•0 comments

Show HN: Local project organizer with optional self-hosted public showcasing

https://github.com/skorotkiewicz/localist
2•modinfo•31m ago•0 comments

Intel to Acquire Classiq to Create a Full-Stack Quantum Computing Platform

https://www.intc.com/news-events/press-releases/detail/1784/intel-to-acquire-classiq-to-create-a-...
23•myth_drannon•33m ago•0 comments

OpenAI's agents talked to each other through the CPU Cache

https://the-decoder.com/openais-isolated-ai-agents-found-ways-to-talk-to-each-other-through-cpu-c...
5•limbicsystem•35m ago•1 comments

Show HN: A client for free speech recognition, starting with Doubao

https://github.com/nomoat/free-asr
2•sonicgg•36m ago•0 comments

CorridorKey 2.0

https://corridorkey.com/
7•ravenical•41m ago•0 comments

Muhammad Aqeel: Undo for Postgres, without losing the rest of your day

https://www.pgedge.com/blog/undo-for-postgres-without-losing-the-rest-of-your-day
2•hnisjafx40•44m ago•0 comments

Why a program doesn't work when run from a batch file, but works when clicked

https://devblogs.microsoft.com/oldnewthing/20261026-00/?p=112797/
20•ibobev•45m ago•0 comments