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

Comments

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

Hackable personal news reader in bash pipes

https://github.com/haron/news.sh
1•haron•50s ago•1 comments

Article 6: It's Time to Talk About Ethics in AI

https://mcauldronism.substack.com/p/article-6-its-time-to-talk-about
2•nottheg•1m ago•0 comments

When employees feel slighted, they work less

https://penntoday.upenn.edu/news/penn-wharton-when-employees-feel-slighted-they-work-less
1•consumer451•2m ago•0 comments

The JavaScript for a Patreon button is 303KB uncompressed

https://c6.patreon.com/becomePatronButton.bundle.js
1•gushogg-blake•3m ago•1 comments

Show HN: FreeAIMusicGen – AI music generator, no sign-up required

https://freeaimusicgen.online
1•nio5787•3m ago•1 comments

Metacompilation

https://www.lesswrong.com/posts/6BSZkkWNGMTdRi5Ly/metacompilation
2•Antibabelic•6m ago•0 comments

Run untrusted code in VMs on Mac/Linux – 1-2ms warm start, domain filtering

https://github.com/dualeai/exec-sandbox
1•clemlesne•6m ago•1 comments

OWASP PTK add-on for ZAP is now released

https://www.zaproxy.org/blog/2026-01-19-owasp-ptk-add-on/
1•DenisPodgurskii•8m ago•0 comments

Show HN: Etsy Listing Checklist

https://spyseller.com/checklist/etsy/listing
1•criexe•8m ago•1 comments

Do marathons damage your heart? Decade-long study shows no long-term harm

https://medicalxpress.com/news/2025-12-marathons-heart-decade-term-cardiac.html
1•PaulHoule•9m ago•0 comments

A Global Explosion of Spicy Foods

https://www.bloomberg.com/news/articles/2026-01-20/spicy-foods-from-india-china-mexico-are-gettin...
1•helsinkiandrew•13m ago•1 comments

What Is CMAF Streaming and How It Compares to Others?

https://www.red5.net/blog/what-is-cmaf/
1•mondainx•14m ago•0 comments

BOHR Chain's "AI Protocol" $2M raise: technical architecture seems non-existent

1•Kangaroo_•18m ago•0 comments

Manager Is a System. They Need an API

https://reluctantleadership.substack.com/p/your-manager-is-a-system
1•oxygenfoxx•23m ago•0 comments

Gary Marcus on the Problems Facing AI and LLM Scaling [video]

https://www.youtube.com/watch?v=aI7XknJJC5Q
1•7777777phil•25m ago•0 comments

RISC-V and Post-Quantum Cryptography

https://fprox.substack.com/p/risc-v-and-post-quantum-cryptography
1•hasheddan•25m ago•0 comments

Skillware

https://github.com/ARPAHLS/skillware
1•rosspeili•25m ago•0 comments

Ask HN: What non-fiction do you read?

1•yanis_t•26m ago•1 comments

Fair is Better than Sensational:Man is to Doctor as Woman is to Doctor (2019)

https://arxiv.org/abs/1905.09866
1•bhickey•26m ago•0 comments

Scientific Insolvency in GPQA and HLE: A forensic audit reveals 58% error rate

https://zenodo.org/records/18293568
1•jopsammy•29m ago•2 comments

Running Claude Code dangerously (safely)

https://blog.emilburzo.com/2026/01/running-claude-code-dangerously-safely/
2•emilburzo•32m ago•3 comments

Calculate your reach on X/Twitter

https://allscreenshots.com/tools/x-algorithm-calculator
1•erikpau•35m ago•1 comments

Show HN: TakaTime – Self-Hosted WakaTime Alternative (Go and MongoDB)

https://github.com/Rtarun3606k/TakaTime
1•Rtarun3606k•36m ago•0 comments

GDPR as a blueprint for risk-aware architecture

https://medium.com/@antonbm/gdpr-as-a-blueprint-for-risk-aware-architecture-d8f811d1ec1a
1•antonmb•40m ago•0 comments

Show HN: AI Clothes Changer – virtual try-on with pose control

https://girlgenai.com
1•jokera•40m ago•0 comments

Local models to support home network infrastructure?

1•DrAwdeOccarim•41m ago•0 comments

AGI basic building block in your terminal

https://github.com/bokan/claude-skill-self-improvement
1•bbokan•42m ago•0 comments

Are published ANN-Benchmarks DBMS results trustworthy?

https://blog.ydb.tech/are-published-ann-benchmarks-dbms-results-trustworthy-f2573eca4e07
1•AlexClickHouse•44m ago•0 comments

Sorting Algortihms Visualized [video]

https://www.youtube.com/shorts/FI-9z00yvnE
1•dnnsthnnr•44m ago•1 comments

Show HN: Governed AI Portfolio–admission control for agentic sys in production

1•lexseasson•45m ago•0 comments