frugalai
A minimal python module for AI-enabled workflow automation, which encourages cost discipline efficient model use through repeatable routing and lightweight abstractions for building reliable, scalable calculation graphs.
Whether automating the boring repetitive tasks, or dreaming of 10x productivity gains, it is hard to ignore the impact of the LLM-based agentic workflow.
Beneath the technology stack there are some relatively simple concepts that we believe are worth learning. Armed with that understanding, whether you a creating workflows for yourself as a hobby, or managing a team building the AI-first business that will change the world, you can start to demand some requirements are met:
- Frugal – minimize unnecessary token use and have visibility over projected costs
- Secure – no direct path from generated text to commandline execution
- Resumable – be able to restart from any point in the agentic computation graph & recover from lost connection to the LLM
- Resilient – retain "stick-and-rudder" skills of your subject matter experts (SMEs)
- Independent – right-sizing the choice of LLM for every task
- Hybrid - non-LLM-based agents interacting directly with LLM-based agents.
The frugal module is designed so that you can build and deploy without the stack. The code is designed to be small and illustrative. Each file is small enough that you could paste it into your favourite LLM assistant and ask for it be explained.
The thrifty example application offers no-code development of workflows, designed around multiple system prompts. It is a human-in-the-loop version of the automated "learning" of full enterprise-grade agent. YOu can use it to learn how actor-critic approaches operate; or to build and deploy complete AI-enabled workflows.
The examples show what we have built, and we welcome contributions! We also welcome contributors to the core frugal library, noting that the priority is to keep everything small enough to read and learn from.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file frugalai-0.0.1.tar.gz.
File metadata
- Download URL: frugalai-0.0.1.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f77c13c8b1b2730ab49e21a3394bd3c8f1f60435fe639732fe0d8881f16adffc
|
|
| MD5 |
edb9f20303a1d22439d85687f1430eb2
|
|
| BLAKE2b-256 |
fc4dcfab8b0b3c452dc15337b65692ac069d5f81ec20459bbf78366ef8a0b306
|
File details
Details for the file frugalai-0.0.1-py3-none-any.whl.
File metadata
- Download URL: frugalai-0.0.1-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0116816759cf6161355ce3895b4c4d8eb73298dc371b1cb813d280376e86779c
|
|
| MD5 |
f5630aef38de731a35797eede27f6d14
|
|
| BLAKE2b-256 |
6ce3a65579dc10ae888efc814544829f10941d2046a0f80d79eca4d8656e00d7
|