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.

Why Rocq is better than Lean for program verification

https://joomy.korkutblech.com/posts/2026-07-28-why-rocq-is-better.html
1•birdculture•1m ago•0 comments

LLM Honeypot

https://llm2human.pages.dev/
1•8thom•1m ago•0 comments

Swift on Windows: A Year of Refinement

https://speakinginswift.substack.com/p/swift-on-windows-a-year-of-refinement
1•wrxd•5m ago•0 comments

CherryTree Note Taker App

https://www.giuspen.net/cherrytree/
1•theMezz•6m ago•1 comments

Show HN: An AI Color Grader – Pico

https://www.perbhat.com/pico
1•perbhat•9m ago•0 comments

Microsoft keeps capex unchanged, the only datacenter giants to hold AI spending

https://www.businessinsider.com/microsoft-ai-capex-unchanged-data-centers-spending-tech-giants-20...
2•mapping365•9m ago•1 comments

Rogue OpenAI agent that hacked startup tried to attack other firms

https://www.theguardian.com/technology/2026/jul/29/rogue-openai-agent-that-hacked-startup-tried-t...
3•jethronethro•9m ago•0 comments

How HN: Vetted Startup – discover, buy, and sell startups with verified revenue

https://vettedstartup.com/
1•mattdarren•10m ago•0 comments

Chip stocks shed more than $1T as selloff hits AI companies

https://www.cnbc.com/2026/07/29/chip-selloff-sk-hynix-samsung-softbank.html
1•yogthos•11m ago•0 comments

Why agentic systems need ontologies [video]

https://www.youtube.com/watch?v=Sir59K8ZDPU
1•juanre•12m ago•0 comments

Arizona's Declining Groundwater

https://science.nasa.gov/earth/earth-observatory/arizonas-declining-groundwater-154567/
2•littlexsparkee•12m ago•0 comments

TrustZone Intermezzo: Broken OP-Tee Memory Isolation on I.mx 8M

https://sigma-star.at/blog/2026/06/trustzone-intermezzo/
1•lengfeld•18m ago•0 comments

PyTorch Tutorial for Deep Learning

https://blog.jetbrains.com/pycharm/2026/07/pytorch-tutorial-for-deep-learning/
1•smokeeaasd•19m ago•0 comments

Copilot code review: Agent skills and MCP now generally available

https://github.blog/changelog/2026-07-29-copilot-code-review-agent-skills-and-mcp-now-generally-a...
1•smokeeaasd•21m ago•0 comments

More than 12M eye drops recalled contamination could harm vision

https://www.dailymail.com/health/article-16014229/rohto-eyedrops-recall-fda-sterility.html
2•Bender•23m ago•0 comments

Three Virtues by Larry Wall

https://thethreevirtues.com/
3•gregsadetsky•25m ago•0 comments

GitHub is the wrong shape for this new world

https://depot.dev/blog/github-is-the-wrong-shape-for-this-new-world
3•emschwartz•25m ago•0 comments

Show HN: Always on visual context for your agents

https://useglass.up.railway.app/#
2•quantbagel•26m ago•0 comments

It was surprisingly hard to break CloudNativePG replication

https://coroot.com/blog/fencing-a-cnpg-replica/
2•valyala•27m ago•0 comments

Vector AI Agent

https://routinehub.co/shortcut/24957/
2•morriszdweck•27m ago•0 comments

The task is not the job

https://www.siliconcontinent.com/p/why-desk-jobs-survive-and-amodei
1•adletbalzhanov•30m ago•2 comments

Show HN: I built a Chrome extension so Claude can close my 300 tabs

https://chromewebstore.google.com/detail/tab-genie/cjbnpcocgkomljkgfhgadolphbeicddh
3•adam_carrigan•31m ago•0 comments

Ask HN: Is everybody's Claude weekly quota reset time the same?

1•0gs•32m ago•0 comments

Òrbites – el puzzle de les constel·lacions

https://orbites.cat/
1•sabatesduran•32m ago•0 comments

Microsoft Struggling with AI-Discovered Security Bugs

https://www.propublica.org/article/anthropic-mythos-microsoft-software-vulnerabilities
3•donohoe•34m ago•0 comments

AgentSwarms – self-hostable agentic AI/BI platform with sandboxed Python (ELv2)

https://github.com/AgentSwarms-fyi/agentswarms
3•agentswarms•38m ago•0 comments

The Hunt for the Counterfeiter Trying to Make the Perfect Bill

https://www.nytimes.com/2026/07/16/magazine/counterfeit-dollars.html
1•bookofjoe•38m ago•1 comments

Agentic Design

https://agentic-design.ai
2•Davcker•39m ago•0 comments

Marvelous – A Markdown editor where every save is a Git commit

https://github.com/stevenjjobson/marvelous
1•stevenjobson•42m ago•1 comments

Ireland unveils blueprint to electrify economy by 2050

https://www.euronews.com/my-europe/2026/07/29/ireland-unveils-blueprint-to-electrify-economy-by-2050
11•devonnull•42m ago•0 comments