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.

Arm's C2-Ultra, G2-Ultra NX, and CSS N4 IP

https://chipsandcheese.com/p/arms-c2-ultra-g2-ultra-nx-and-css
1•ingve•4m ago•0 comments

So you want to use OpenRouter?

https://mmoustafa.com/blog/2026/09/07/so-you-want-to-use-openrouter/
1•mmoustafa•5m ago•0 comments

Autistici/Inventati (A/I)

https://en.wikipedia.org/wiki/Autistici/Inventati
1•doener•8m ago•0 comments

From dance floor to war: China readies humanoid robots for combat

https://www.reuters.com/world/china/dance-floor-war-china-readies-humanoid-robots-combat-2026-09-07/
2•bushwart•11m ago•0 comments

How Bats Prevent Doppler Acoustic Interference

https://hackaday.com/2026/09/07/how-bats-prevent-doppler-acoustic-interference/
1•sohkamyung•12m ago•0 comments

Arm unveils AI Portal for optimized AI apps

https://newsroom.arm.com/news/arm-unveils-arm-ai-portal
1•CoderLim110•13m ago•0 comments

UAE-based Falcon AI NSFW classifier among top global open-source models (2025)

https://www.middleeastainews.com/p/uae-ai-model-tops-50-million-monthly
1•instagraham•18m ago•0 comments

PS5 emulator can now run the console version of GTA V

https://www.tomshardware.com/video-games/pc-gaming/ps5-emulator-can-now-run-the-console-version-o...
2•avaer•19m ago•0 comments

What is your thought about the future on video extend developing?

https://videoall.ai/video‑extend
1•henryjin76•22m ago•1 comments

Working with Git Worktrees in Magit

https://emacsredux.com/blog/2026/09/02/working-with-git-worktrees-in-magit/
1•srijan4•25m ago•0 comments

0Pirate – AST-level code anonymizer and MCP proxy for frontier LLMs

https://pypi.org/project/0pirate/
1•arunmadhavan•28m ago•0 comments

JIT Context OS – Epistemic context runtime for coding agents

https://github.com/wojciechwiesner/jit-context
1•WWiesner•30m ago•0 comments

Show HN: MacDelta – A ChangeLog for Your Mac

https://macdelta.app
1•anand_murugan•33m ago•0 comments

CodeMetrics.CLI for C# projects in VS Code and Visual Studio

https://github.com/quicksln/CodeMetrics.CLI
1•qsln•35m ago•0 comments

TrustNotch – Tamper-evident audit logs for AI agents, verifiable offline

https://trustnotch.com/
1•sandrochekalov•35m ago•0 comments

My first extension with 20 useful features

https://chromewebstore.google.com/detail/digital-shield-tab-suspen/pkonihncnkmbejhhjadaognganhinnhc
1•digitaShida•36m ago•1 comments

Hiring and Firing a DBA

https://www.jmduke.com/posts/hiring-and-firing-a-dba.html
1•Tomte•42m ago•0 comments

The New Hugo at Home Plus a Tour of My Shelves

https://whatever.scalzi.com/2026/09/07/the-new-hugo-at-home-plus-a-tour-of-my-shelves/
1•Tomte•43m ago•0 comments

DeepSeek/Qwen are surprisingly well at generating code for DSCI pipelines

https://chat.deepseek.com/share/jg3hcnatoliqs1ct5i
3•melezhik•43m ago•3 comments

Venus may have been temperate and potentially habitable for most of its history

https://spacedaily.com/t-venus-carbonatite-lava-canali-co2-habitable-climate/
2•bryanrasmussen•43m ago•1 comments

Star Trek 60th Anniversary – National Air and Space Museum

https://airandspace.si.edu/whats-on/events/star-trek-60th-anniversary
1•rbanffy•43m ago•0 comments

Major Math Breakthrough by AI

https://mastodon.social/@tristanbuckmaster/117233413705701198
3•mvrandswe•44m ago•0 comments

GrapheneOS is building its own RCS support to cut Google Messages out

https://www.androidauthority.com/grapheneos-messaging-rcs-support-secure-paste-3708317/
4•the-mitr•47m ago•0 comments

Eiffel Tower employees strike after female staff removed

https://www.google.com/url?q=https://amp.dw.com/en/eiffel-tower-closed-strike-women-hindu/a-79152...
5•Michelangelo11•56m ago•2 comments

Magic-mushroom compound blocks a side effect of chemotherapy in mice

https://www.nature.com/articles/d41586-026-02744-6
4•tzury•57m ago•0 comments

Switching Password Managers in 2026

https://rmondello.com/2026/09/07/switching-password-managers-2026/
2•wrxd•58m ago•0 comments

CivBench: A Long-Horizon Benchmark for Tool-Mediated Agents in Civilization VI

https://arxiv.org/abs/2609.02459
1•taubek•58m ago•0 comments

Agility Robotics reports $1.8M revenue ahead of humanoid SPAC

https://www.therobotreport.com/agility-robotics-reports-18m-revenue-ahead-of-humanoid-spac/
1•raptortech•59m ago•0 comments

Generals – Conquer the live world map

https://generals.lol
2•mshermamatov•59m ago•0 comments

Do tech billionaires dream of shared abundance? We should probably just tax them

https://theconversation.com/do-tech-billionaires-dream-of-shared-abundance-we-should-probably-jus...
10•billybuckwheat•1h ago•0 comments