Skip to main content

Afnio Python library and Tellurio Studio CLI tool

Project description

Afnio: Making AI System Optimization Easy for Everyone

Afnio is a framework for automatic prompt and hyperparameter optimization, particularly designed for complex AI systems where Language Models (LMs) are employed multiple times in workflows, such as in LM pipelines and agent-driven architectures. Effortlessly build and optimize AI systems for classification, information retrieval, question-answering, etc.

  • Accelerated AI System Development: Ship complex AI systems faster thanks to high-level UX and easy-to-debug runtime.
  • State-of-the-Art Performance: Leverage built-in optimizers to automatically refine prompts and tune model parameters for any LM task, ensuring optimal performance.
  • LM Agnostic: Decouple prompts and parameters from application logic, reducing LM model selection to a single hyperparameter in Afnio’s optimizers. Seamlessly switch between models without any additional rework.
  • Minimal and Flexible: Pure Python with no API calls or dependencies, ensuring seamless integration with any tools or libraries.
  • Progressive Disclosure of Complexity: Leverage diverse UX workflows, from high-level abstractions to fine-grained control, designed to suit various user profiles. Start simple and customize as needed, without ever feeling like you’re falling off a complexity cliff.
  • Define-by-Run Scheme: Your compound AI system is dynamically defined at runtime through forward computation, allowing for seamless handling of complex control flows like conditionals and loops, common in agent-based AI applications. With no need for precompilation, Afnio adapts on the fly to your evolving system.

Contributing Guidelines

:computer: Would love to contribute? Please follows our contribution guidelines.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

afnio-0.1.2.tar.gz (125.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

afnio-0.1.2-py3-none-any.whl (160.8 kB view details)

Uploaded Python 3

File details

Details for the file afnio-0.1.2.tar.gz.

File metadata

  • Download URL: afnio-0.1.2.tar.gz
  • Upload date:
  • Size: 125.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for afnio-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6b693fd36a475f60fb09971ff83b25a6651d4a6d38a6d21a65761706a3be8c70
MD5 08cb290bcda51e67c80c7c6daddd2d50
BLAKE2b-256 72cb15bea549f192774388384c5c265b94bb1ae663d8cf5eead2dbc71c45fa2f

See more details on using hashes here.

File details

Details for the file afnio-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: afnio-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 160.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for afnio-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 02bba755f72e1b76c95ca01c56d76ecd9092a21c00d876227f3d3d094bb09d3a
MD5 1055faf3d2759872c96756d4a5f6e8b9
BLAKE2b-256 e90e69a65751577ae3a4ace5d7b996073882c4a5de0f8ceb04a0f8c9bce71993

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page