Pi

Pickaxe – A TypeScript library for building AI agents

Hacker News

Pickaxe – A TypeScript library for building AI agents

Hey HN, Gabe and Alexander here from Hatchet. Today we're releasing Pickaxe, a Typescript library to build AI agents which are scalable and fault-tolerant. Here's a demo: https://github.com/user-attachments/assets/b28fc406-f501-442... Pickaxe provides a simple set of primitives for building agents which can automatically checkpoint their state and suspend or resume processing (also known as durable execution) while waiting for external events (like a human in the loop). The library is based on common patterns we've seen when helping Hatchet users run millions of agent executions per day. Unlike other tools, Pickaxe is not a framework. It does not have any opinions or abstractions for implementing agent memory, prompting, context, or calling LLMs directly. Its only focus is making AI agents more observable and reliable. As agents start to scale, there are generally three big problems that emerge: 1. Agents are long-running compared to other parts of your application. Extremely long-running processes are tricky because deploying new infra or hitting request timeouts on serverless runtimes will interrupt their execution. 2. They are stateful: they generally store internal state which governs the next step in the execution path 3. They require access to lots of fresh data, which can either be queried during agent execution or needs to be continuously refreshed from a data source. (These problems are more specific to agents which execute remotely -- locally running agents generally don't have these problems) Pickaxe is designed to solve these issues by providing a simple API which wraps durable execution infrastructure for agents. Durable execution is a way of automatically checkpointing the state of a process, so that if the process fails, it can automatically be replayed from the checkpoint, rather than starting over from the beginning. This model is also particularly useful when your agent needs to wait for an external event or human review in order to continue execution. To support this pattern, Pickaxe uses a Hatchet feature called `waitFor` which durably registers a listener for an event, which means that even if the agent isn't actively listening for the event, it is guaranteed to be processed by Hatchet and stored in the execution history and resume processing. This infrastructure is powered by what is essentially a linear event log, which stores the entire execution history of an agent in a Postgres database managed by Hatchet. Full docs are here: https://pickaxe.hatchet.run/ We'd greatly appreciate any feedback you have and hope you get the chance to try out Pickaxe.

Share card

Actual performance

70points
26comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: agents, agent, model · Missing: mac, macos, cursor
96%96% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
82%82% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
57%57% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: users · Missing: plus, platform, intuitive
44%44% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: users, way · Missing: mobile apps, ios, personal
37%37% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: active · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

A
A microframework for building AI agents27%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A microframework for building AI agents

Hacker News1
Thousand Birds
Thousand Birds21%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A framework for building AI Agents

Indie Hackerscommitment-full-time
It
Itiriri a Typescript library for ES6 iterators47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Itiriri a Typescript library for ES6 iterators

Hacker News2
Re
Regolith – Regex library that prevents ReDoS CVEs in TypeScript64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Regolith – Regex library that prevents ReDoS CVEs in TypeScript

Hacker News27
TS
TSPlate – a simple templating library for TypeScript39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

TSPlate – a simple templating library for TypeScript

Hacker News2
Si
Simple Graphviz Library for TypeScript65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Simple Graphviz Library for TypeScript

Hacker News1
Berd
Berd82%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Weird, playful desktop app for building with AI agents

Product Hunt+108Mac
A
A powerful bitstream library for TypeScript53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A powerful bitstream library for TypeScript

Hacker News39
Bu
Building an AI Agent36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Building an AI Agent

Hacker News2
String.com
String.com70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AI agent for building AI agents

Product Hunt+478Productivity