Live data from Hacker News

Show HN: Axilla – Open-source TypeScript framework for LLM apps

github.com

1–10 of 43 posts

Show HN: Axilla – Open-source TypeScript framework for LLM apps

#1
Hi HN, we are Nick and Ben, creators of Axilla - an open source TypeScript framework to develop LLM applications. It’s in the early stages but you can use it today: we’ve already published 2 modules and have more coming soon.

Ben and I met while working at Cruise on the ML platform for self-driving cars. We spent many years there and learned the hard way that shipping AI is not quite the same as shipping regular code. There are many parts of the ML lifecycle, e.g., mining, processing, and labeling data and training, evaluating, and deploying models. Although none of them are rocket science, most of the inefficiencies tend to come from integrating them together. At Cruise, we built an integrated framework that accelerated the speed of shipping models to the car by 80%.

With the explosion of generative AI, we are seeing software teams building applications and features with the same inefficiencies we experienced at Cruise.

This got us excited about building an opinionated, end-to-end platform. We started building in Python but quickly noticed that most of the teams we talked to weren’t using Python, but instead building in TypeScript. This is because most teams are not training their own models, but rather using foundational ones served by third parties over HTTP, like openAI, anthropic or even OSS ones from hugging face.

Because of this, we’ve decided to build Axilla as a TypeScript first library.

Our goal is to build a modular framework that can be adopted incrementally yet benefits from full integration. For example, the production responses coming from the LLM should be able to be sent — with all necessary metadata — to the eval module or the labeling tooling.

So far, we’ve shipped 2 modules, that are available to use today on npm:

* *axgen*: focused on RAG type workflows. Useful if you want to ingest data, get the embeddings, store it in a vector store and then do similarity search retrieval. It’s how you give LLMs memory or more context about private data sources.

* *axeval*: a lightweight evaluation library, that feels like jest (so, like unit tests). In our experience, evaluation should be really easy to setup, to encourage continuous quality monitoring, and slowly build ground truth datasets of edge cases that can be used for regression testing, and fine-tuning.

We are working on a serving module and a data processing one next and would love to hear what functionality you need us to prioritize!

We built an open-source demo UI for you to discover the framework more: https://github.com/axilla-io/demo-ui

And here's a video of Nicholas walking through the UI that gives an idea of what axgen can do: https://www.loom.com/share/458f9b6679b740f0a5c78a33fffee3dc

We’d love to hear your feedback on the framework, you can let us know here, create an issue on the GitHub repo or send me an email at nicholas@axilla.io

And of course, contributions welcome!

Show HN: Axilla – Open-source TypeScript framework for LLM apps
github.com

Re: Show HN: Axilla – Open-source TypeScript framework for LLM apps

#3

"Axilla" in Portuguese means "armpit" (it's spelt "axila"). I like the name more because of this. Congrats on the launch! As a developer who's been working a lot with TypeScript and LLMs, I'll definitely take a look.

Same in spanish.

Re: Show HN: Axilla – Open-source TypeScript framework for LLM apps

#5

"Axilla" in Portuguese means "armpit" (it's spelt "axila"). I like the name more because of this. Congrats on the launch! As a developer who's been working a lot with TypeScript and LLMs, I'll definitely take a look.

Same in spanish.

I think that's also the more "technical" term for armpit in english, so probably not an accident: https://en.wikipedia.org/wiki/Axilla

Re: Show HN: Axilla – Open-source TypeScript framework for LLM apps

#6
Hi, I checked out the demo and it looks very promising. As someone who is not very familiar with AI development, I feel a bit puzzled looking at the code examples. If I use the lib and it sends textual prompts based on some templates, can I be certain that the AI outputs will be well structured and contain the right information? Would it be possible to build an AI model with a lower level, programmable interface...?

Re: Show HN: Axilla – Open-source TypeScript framework for LLM apps

#7
Hey Nick and Ben, congrats to launch! I really like that you're going in the TS way by default. I personally think there will me more AI Engineers (devs building LLM apps/agents) working in TS than in Python.

I wanted to ask if you accept PRs for integrations?

I'm a co-founder of E2B [0]. We give private sandboxed cloud envs to any agent. We're building two things:

- [1] Agent Protocol - it's an open protocol that defines how to communicate with an agent. The current goal is to make benchmarking agents simple (it's used for example by folks at AutoGPT and other popular agents)

- [2] SDK that gives your agent a cloud environment (currently in early access)

Would love to figure out how to integrate these to into Axilla if it makes sense to you. What would be the best way to connect?

[0] https://e2b.dev/

[1] https://github.com/e2b-dev/agent-protocol

[2] https://github.com/e2b-dev/rest-api We built for example our ChatGPT plugin with it https://github.com/e2b-dev/chatgpt-plugin

Re: Show HN: Axilla – Open-source TypeScript framework for LLM apps

#8
post #5

Earlier quoted context omitted.

Same in spanish.

I think that's also the more "technical" term for armpit in english, so probably not an accident: https://en.wikipedia.org/wiki/Axilla

Yep, comes from Latin! [1]

[1]: https://www.merriam-webster.com/dictionary/axilla#:~:text=Th....

Re: Show HN: Axilla – Open-source TypeScript framework for LLM apps

#9

"Axilla" in Portuguese means "armpit" (it's spelt "axila"). I like the name more because of this. Congrats on the launch! As a developer who's been working a lot with TypeScript and LLMs, I'll definitely take a look.

It’s also the name of a great Phish song!

Re: Show HN: Axilla – Open-source TypeScript framework for LLM apps

#10

"Axilla" in Portuguese means "armpit" (it's spelt "axila"). I like the name more because of this. Congrats on the launch! As a developer who's been working a lot with TypeScript and LLMs, I'll definitely take a look.

Axillary in English also means "of armpit"
Post reply on HN