Metadata-Version: 2.4
Name: afnio
Version: 0.1.2
Summary: Afnio Python library and Tellurio Studio CLI tool
Author-email: Tellurio <contact@tellurio.ai>
License: License to be determined soon. Please contact author before using.
        
Project-URL: homepage, https://github.com/Tellurio-AI/afnio
Project-URL: repository, https://github.com/Tellurio-AI/afnio
Keywords: ai-agent,language-models,prompt-optimization,afnio
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: httpx>=0.28.1
Requires-Dist: click>=8.1.8
Requires-Dist: python-dotenv>=1.1.0
Requires-Dist: keyring>=25.6.0
Requires-Dist: python-slugify>=8.0.4
Requires-Dist: websockets>=15.0.1
Requires-Dist: openai>=1.58.1
Provides-Extra: testing
Requires-Dist: pytest>=8.3.5; extra == "testing"
Requires-Dist: pytest-asyncio>=0.26.0; extra == "testing"
Dynamic: license-file

<div align="center">
  <img src="https://tellurio-public-assets.s3.us-west-1.amazonaws.com/static/images/afnio-logo-1024x1024.png" width="250">
</div>

# 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](CONTRIBUTING.md).
