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.

Mythos Proves AI Safety Can No Longer Live Inside the Model

https://grith.ai/blog/mythos-ai-safety-cannot-live-inside-the-model
2•edf13•3m ago•0 comments

Omnigent: A Meta-Harness to Combine, Control and Share Your Agents

https://www.databricks.com/blog/introducing-omnigent-meta-harness-combine-control-and-share-your-...
4•fanzeyi•4m ago•0 comments

The Pulling of Mythos Offline: Why AI KYC Will Fail to Stop Cybercriminals

https://www.encurtador.dev/redirecionamento/71b29bo
6•zbangrec•5m ago•0 comments

Continuous Proffessional Development

https://www.labroots.com/virtual-event/precision-medicine-genomics-genetics-molecular-diagnostics...
2•delixelijah•11m ago•0 comments

Rethinking Monorepos in the Age of Agents

https://chamoda.com/rethinking-monorepos-in-the-age-of-agents
2•chamoda•11m ago•0 comments

Goblin Sharks Caught on Camera in Their Natural Habitat for the First Time

https://nautil.us/goblin-sharks-caught-on-camera-in-their-natural-habitat-for-the-first-time-1281981
4•Brajeshwar•16m ago•0 comments

Vindication for Young Elon Musk

https://www.wsj.com/opinion/vindication-for-young-elon-musk-4039d1ec
4•bookofjoe•17m ago•1 comments

Investigating Interactive Energy Harvesting in Battery-Free Games Consoles(2026)

https://dl.acm.org/doi/10.1145/3772318.3790831
3•menno-sh•18m ago•0 comments

Learning Infrastructure for AI Agents

https://getagentloop.io/
4•martinembon•22m ago•0 comments

Show HN: Kamio: Decorate a home for your Tamagotchi-like companion

https://kamio.ai/
3•eric_khun•24m ago•0 comments

I built a discovery layer for Discogs record stores

https://milkcrate.fm/explore
3•body-clock•24m ago•0 comments

HalluHard: A Hard Multi-Turn Hallucination Benchmark

https://arxiv.org/abs/2602.01031
2•root-parent•24m ago•0 comments

I audited 162 agent-written PRs – 27% were the AI fixing itself

https://github.com/commensa-ai/commensa-audit
3•aimattb•25m ago•1 comments

Claude Fable 5 vs. GPT-5.5: Better Planning, Similar Execution

https://blog.kilo.ai/p/claude-fable-5-vs-gpt-5-5
5•justiceforsaas•27m ago•0 comments

Show HN: A local-first job-search command center (no cloud, no telemetry)

https://github.com/Fighter90/career-ops-ui
2•Fighter90•27m ago•0 comments

Show HN: Chrome Extension That Removes AI Slop / Spam / Self-Promo from Reddit

https://nobot-two.vercel.app/
2•DevEric•28m ago•0 comments

A thousand Postgres branches for $1

https://xata.io/blog/a-thousand-postgres-branches-for-1
3•tudorg•29m ago•0 comments

"Remaining: Szabo, Le Roux, Kleiman, Musk."

https://claude.ai/share/76e4ac64-183a-4593-89b9-dc8451d1b896
2•sorenlokholm•34m ago•0 comments

Show HN: I made a Unity Audio Manager that saves me 10 hours every project

https://unityaudiomanager.com
2•Adam-Hincu•35m ago•1 comments

/proc/self/exe overwrite from within a user namespace

https://mixedbit.org/blog/2026/06/12/proc_self_exe_overwrite_from_within_a_user_namespace.html
3•mixedbit•40m ago•0 comments

What is the most valuable skill you've learned outside of your job?

3•Soumya_Max•41m ago•1 comments

Getting World Cup Updates in Slack

https://embedworkflow.com/blog/getting-world-cup-updates-in-slack/
2•ewf•41m ago•0 comments

What task are humans still better at than AI?

2•Soumya_Max•41m ago•1 comments

Pocony: A little balcony garden on your phone

https://pocony.dollarbasellc.com/
2•nico•43m ago•0 comments

The Developer Shortage in 2026: AI Killed the Order Taker, Not the Engineer

https://fullscale.io/blog/developer-shortage/
2•USTECH_WORKER•45m ago•0 comments

Flew: Emulated WiFi on Bluetooth Hardware

https://dl.acm.org/doi/10.1145/3495243.3517030
3•fanf2•45m ago•0 comments

Is SpaceX's prospectus just blank pages?

https://ir.spacex.com/financials/default.aspx
3•axus•47m ago•1 comments

Teardown Confirms the Trump Phone Is a Gold-Painted HTC U24 Pro

https://de.ifixit.com/News/117789/teardown-confirms-the-trump-phone-is-a-gold-painted-htc-u24-pro
5•doener•51m ago•0 comments

We economists have done the maths: 'growth' is a doomed strategy

https://www.theguardian.com/commentisfree/2026/jun/10/economists-maths-growth-doomed-strategy-un-...
4•u1hcw9nx•52m ago•0 comments

Mythos and Engels' Pause

https://www.fabricatedknowledge.com/p/mythos-and-engels-pause
3•themgt•53m ago•0 comments