Hacker News

Axle

by @johncch

I’ve been slowly chipping away at my open-source agent library, Axle. I know it’s small fry compared to the other players, but I’ve been working on it for more than two years. It’s got some nifty ideas and I’m really proud of it. Some highlights: - Axle is TypeScript-native. - Its goal in life is to encapsulate the agent lifecycle and make it really easy to render. Call agent.send() and it handles all the tool calls and returns Turns, which you can render directly in React with a simple loop. - It’s portable across all the common providers and protocols. I use it as a harness to test and play with newly released models. - In the latest release (0.36), I added a RemoteAgent interface that lets you talk to a remote agent instance over RPC. It’s something I’ve noodled on for a long time and I’m really happy with where it landed. Docs: https://axle.fifthrevision.com GitHub: https://github.com/johncch/axle

Discover more builders

Builderlust is an endless, joyful scroll of real projects people are shipping right now. Get the app to keep finding your next spark of inspiration.

📱 Coming soon to iOS & AndroidOpen in the app