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•9mo ago

Comments

llm-exe•9mo 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•9mo 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.

MIT Challenge: Bachelor's Degree in 100 Days

https://gist.github.com/tirthd16/f9a5759352eea33cec6a278f9dbe2c35
1•tirthd•1m ago•1 comments

Taalas – The Model Is the Computer

https://taalas.com/
1•rvnx•2m ago•1 comments

ZSTDify: A robust pure-JavaScript implementation of ZSTD

https://github.com/bhouston/zstdify
1•bhouston•2m ago•0 comments

The Great Disconnect: Why the "12-Month" Clock Is Ticking Faster Than We Think

https://grayrhino.blog/
1•ghostinshell515•2m ago•0 comments

That 6am feeling – living at the end and beginning of everything

https://antonioaestero.substack.com/p/that-6am-feeling-living-at-the-end-and-beginning-of-everything
1•pmg101•2m ago•0 comments

Real-Time 3D Room Mapping with ESP32, VL53L5CX Sensor and IMU

https://hackaday.com/2026/02/14/real-time-3d-room-mapping-with-esp32-vl53l5cx-sensor-and-imu/
1•toomuchtodo•2m ago•0 comments

AI coding assistant Cline compromised to create more OpenClaw chaos

https://www.theregister.com/2026/02/20/openclaw_snuck_into_cline_package/
1•beardyw•3m ago•0 comments

A floating power station? China's flying wind turbine hits milestone

https://www.euronews.com/next/2026/01/29/a-floating-power-station-chinas-flying-wind-turbine-hits...
1•geox•4m ago•0 comments

James Bond x Seedance 2.0 [video]

https://old.reddit.com/r/singularity/comments/1r9xgdz/james_bond_x_seedance_20/
1•mgh2•6m ago•0 comments

I Analyzed Every Nootropic Study on PubMed

https://outspeaker.com/post/217
1•onesandofgrain•6m ago•0 comments

Bay Area Apartment Hunting Has Turned into an AI Hellscape

https://www.sfgate.com/local/article/bay-area-apartment-ai-21332194.php
2•randycupertino•7m ago•1 comments

The Sixth Bureau [video]

https://www.bloomberg.com/features/the-sixth-bureau/
1•petethomas•7m ago•0 comments

OpenScan

https://openscan.eu/pages/scan-gallery
2•joebig•8m ago•0 comments

Phil Spencer Retiring, Sarah Bond Out, Asha Sharma Named New Xbox Boss

https://www.ign.com/articles/phil-spencer-retiring-sarah-bond-out-matt-booty-promoted-as-microsof...
3•CIARobotFish•8m ago•0 comments

Private Equity Debt Left a Leading VPN Open to Chinese Hackers

https://financialpost.com/pmn/business-pmn/how-private-equity-debt-left-a-leading-vpn-open-to-chi...
1•strict9•11m ago•0 comments

Task-Completion Time Horizons of Frontier AI Models (Includes Opus 4.6)

https://metr.org/time-horizons/
1•admp•11m ago•0 comments

Video Is 6 Minutes Long [video]

https://www.youtube.com/watch?v=NL-IVJi8r3M
1•financetechbro•12m ago•0 comments

What do you do after paste in sensi info i.e: API token & key into IDE AI chat?

1•lctan•12m ago•0 comments

Testing a proof-of-data transfer model for social media

https://www.galacticfederation.tech
1•subvertio•12m ago•1 comments

Performance Managing to the Room

https://jamesjboyer.substack.com/p/performance-managing-to-the-room
1•aesthetics1•12m ago•0 comments

AI automation to drive mass white-collar job losses in 12-18 months

https://economictimes.indiatimes.com/news/new-updates/ai-automation-to-drive-mass-white-collar-jo...
1•paulpauper•13m ago•0 comments

Mixing the new GitHub agent workflow and Jira MCP to accelerate PR review

https://nielsfreier.substack.com/p/i-let-an-ai-agent-read-my-jira-tickets
1•stumpyfr•14m ago•1 comments

Show HN: FeatureFlare – Feature flags for SaaS teams tired of rolling their own

https://featureflare.com/
1•jsonstcyr•14m ago•0 comments

The Worst-Case Future for White-Collar Workers

https://www.theatlantic.com/ideas/2026/02/ai-white-collar-jobs/686031/
1•paulpauper•14m ago•1 comments

Barcelona's Sagrada Familia reaches maximum height

https://news.sky.com/story/barcelonas-sagrada-familia-reaches-maximum-height-as-cross-is-placed-o...
1•austinallegro•14m ago•0 comments

BitFields API: Type-Safe Bit Packing for Lock-Free Data Structures

https://rocksdb.org/blog/2025/12/31/bit-fields-api.html
1•matt_d•15m ago•0 comments

The Backblaze Flamethrower Startup Program

https://www.backblaze.com/blog/introducing-the-backblaze-flamethrower-startup-program/
2•taubek•15m ago•0 comments

The Beautiful Simplicity of ColorForth (2013)

https://web.archive.org/web/20190715220632/https://blogs.msdn.microsoft.com/ashleyf/2013/11/02/th...
1•tosh•16m ago•0 comments

Escaping Misconfigured VSCode Extensions

https://blog.trailofbits.com/2023/02/21/vscode-extension-escape-vulnerability/
1•abelanger•16m ago•0 comments

Show HN: VillageSQL Extension Framework for MySQL

https://villagesql-blog.ghost.io/engineering-vef/
1•deesix•17m ago•0 comments