frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Pickaxe – a TypeScript library for building AI agents

https://github.com/hatchet-dev/pickaxe
3•abelanger•3h ago
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.

Comments

almosthere•3h ago
What I really like about it, is that this kind of project helps people learn what an agent is.
abelanger•3h ago
Thanks! Our favorite resources on this (both have been posted on HN a few times):

- https://www.anthropic.com/engineering/building-effective-age...

- https://github.com/humanlayer/12-factor-agents

That's also why we implemented pretty much all relevant patterns in the docs (i.e. https://pickaxe.hatchet.run/patterns/prompt-chaining).

If there's an example or pattern that you'd like to see, let me know and we can get it released.

randomcatuser•3h ago
Oh this is really cool! I was building out a bit of this with Restate this past week, but this seems really well put together :) will give it a try!
abelanger•2h ago
Thanks! Would love to hear more about what type of agent you're building.

We've heard pretty often that durable execution is difficult to wrap your head around, and we've also seen more of our users (including experienced engineers) relying on Cursor and Claude Code while building. So one of the experiments we've been running is ensuring that the agent code is durable when written by LLMs by using our MCP server so the agents can follow best practices while generating code: https://pickaxe.hatchet.run/development/developing-agents#pi...

Our MCP server is super lightweight and basically just tells the LLM to read the docs here: https://pickaxe.hatchet.run/mcp/mcp-instructions.md (along with some tool calls for scaffolding)

I have no idea if this is useful or not, but we were able to get Claude to generate complex agents which were written with durable execution best practices (no side effects or non-determinism between retries), which we viewed as a good sign.

zegl•2h ago
As a long time Hatchet user, I understand why you’ve created this library, but it also disappoints me a little bit. I wish more engineering time was spent on making the core platform more stable and performant.

Nitpicking Gladiator's Iconic Opening Battle, Part III

https://acoup.blog/2025/06/20/collections-nitpicking-gladiators-iconic-opening-battle-part-iii/
1•Tomte•2m ago•0 comments

Python can run Mojo now

https://koaning.io/posts/giving-mojo-a-spin/
1•cantdutchthis•3m ago•0 comments

No, 16B passwords didn't just get exposed in a mega-hack

https://www.pcgamer.com/software/security/no-16-billion-passwords-didnt-just-get-exposed-in-a-mega-hack-but-you-probably-should-get-with-the-program-and-stop-reusing-passwords-anyways/
1•HelloUsername•4m ago•0 comments

Pope Leo Takes on AI as a Potential Threat to Humanity

https://www.wsj.com/tech/ai/pope-leo-ai-tech-771cca48
2•rbanffy•7m ago•0 comments

Apple sued by shareholders for allegedly overstating AI progress

https://finance.yahoo.com/news/apple-sued-shareholders-over-ai-182838953.html
3•retskrad•8m ago•0 comments

Where is the best place to hold a scientific conference?

https://www.nature.com/articles/d41586-025-01911-5
1•rntn•8m ago•0 comments

Stripe alternative for India for payment processing

2•rishabhdev2700•9m ago•1 comments

One Week Out, Some Brief Thoughts and Observations on WWDC 2025

https://daringfireball.net/2025/06/some_brief_thoughts_and_observations_on_wwdc_2025
3•tosh•11m ago•0 comments

Mexico: "The New China" According to Philippa Malmgren

https://mexicodailypost.com/2025/06/08/mexico-the-new-china-according-to-philippa-malmgren/
1•walterbell•12m ago•0 comments

Kilauea volcano errupts, lava more than 1k feet high [video]

https://www.youtube.com/watch?v=oG5zz9Sjw3E
2•asix66•13m ago•1 comments

AI Hallucinations: Provably Unsolvable – What Do We Do?

https://www.mindprison.cc/p/ai-hallucinations-provably-unsolvable
2•mucha•13m ago•1 comments

Smartphones: Parts of Our Minds? Or Parasites?

https://www.tandfonline.com/doi/full/10.1080/00048402.2025.2504070
2•cratermoon•14m ago•0 comments

Atfllm

https://ninjasandrobots.com/atfllm
2•nate•14m ago•0 comments

Python-Importtime-Graph

https://simonwillison.net/2025/Jun/20/python-importtime-graph/
1•amrrs•14m ago•0 comments

Vault-Agnostic Secret Management

https://adaptive.live/blog/a-vault-agnostic-future-for-secrets-management
1•debarshri•15m ago•0 comments

Brad Feld – LLM's Just Lie

https://feld.com/archives/2025/06/llms-just-lie/
1•rmason•16m ago•0 comments

Show HN: Logic Fang – a mutation-aware logic tracer that hunts semantic drift

https://github.com/Mr-Sherif-1/LogicFang-fuzz-firewall
1•Mr-Sherif-1•16m ago•0 comments

Screen reader for devices running SteamOS

https://steamcommunity.com/games/593110/announcements?snr=1_2108_9__2107
2•Venn1•16m ago•0 comments

Agentic Misalignment: How LLMs could be insider threats

https://www.anthropic.com/research/agentic-misalignment
2•davidbarker•18m ago•0 comments

Addressing fear, uncertainty and doubt thrown at Element and Matrix

https://element.io/blog/addressing-fear-uncertainty-and-doubt-thrown-at-element-and-matrix/
2•LorenDB•19m ago•0 comments

It's True: The Jaws Shark Is Public Domain

https://ironicsans.ghost.io/how-the-jaws-shark-became-public-domain/
2•MBCook•20m ago•0 comments

Honda successfully launched and landed its own reusable rocket

https://www.theverge.com/news/689183/honda-reusable-rocket-successful-launch-test-landing
1•fuzzythinker•23m ago•1 comments

Open Sourcing Any Distance

https://kuntz.io/blog/any-distance-oss
1•ezekg•24m ago•0 comments

Making Sense of a Noisy World

https://ordep.dev/posts/opinions-on-trends
1•ordpedev•25m ago•0 comments

Inside the 'Dragon Age' Debacle That Gutted EA's BioWare Studio

https://www.bloomberg.com/news/articles/2025-06-11/inside-the-dragon-age-debacle-that-gutted-ea-s-bioware-studio
2•trevortheblack•25m ago•0 comments

MIT student prints AI polymer masks to restore paintings in hours

https://arstechnica.com/ai/2025/06/mit-student-prints-ai-polymer-masks-to-restore-paintings-in-hours/
1•gametorch•25m ago•0 comments

Engineered Meta-Cognitive Workflow Architecture for Windsurf

https://entrepeneur4lyf.github.io/engineered-meta-cognitive-workflow-architecture/
2•handfuloflight•26m ago•0 comments

Postgres Weekly 19th June 2020

https://postgresweekly.com/issues/604
1•khurs•28m ago•0 comments

EU Eyes Ditching Microsoft Azure for France's OVHcloud

https://www.euractiv.com/section/tech/news/scoop-commission-eyes-ditching-microsoft-azure-for-frances-ovhcloud-over-digital-sovereignty-fears/
29•doener•29m ago•8 comments

Show HN: Onri, the Google Map for micro-learning

https://onri.ai
1•ru6xul6•30m ago•0 comments