Skip to main content

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.

Metadata

Release files for frugalai 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for frugalai 0.0.1
File Size Uploaded Provenance Actions
frugalai-0.0.1.tar.gz 19.9 kB Without provenance Details for frugalai-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for frugalai 0.0.1
File Interpreter ABI Platform Actions
frugalai-0.0.1-py3-none-any.whl Python 3 none any Details for frugalai-0.0.1-py3-none-any.whl

Total release size: 37.0 kB

Release files / frugalai-0.0.1.tar.gz

Download URL frugalai-0.0.1.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f77c13c8b1b2730ab49e21a3394bd3c8f1f60435fe639732fe0d8881f16adffc
BLAKE2b-256 checksum
How to use checksums
fc4dcfab8b0b3c452dc15337b65692ac069d5f81ec20459bbf78366ef8a0b306
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / frugalai-0.0.1-py3-none-any.whl

Download URL frugalai-0.0.1-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0116816759cf6161355ce3895b4c4d8eb73298dc371b1cb813d280376e86779c
BLAKE2b-256 checksum
How to use checksums
6ce3a65579dc10ae888efc814544829f10941d2046a0f80d79eca4d8656e00d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for frugalai 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page