<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).
Raw data
{
"_id": null,
"home_page": null,
"name": "afnio",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "ai-agent, language-models, prompt-optimization, afnio",
"author": null,
"author_email": "Tellurio <contact@tellurio.ai>",
"download_url": "https://files.pythonhosted.org/packages/28/65/28cce8d70129cd81f3d72599b7480d05079fb0292e9bd47632fddcdb9262/afnio-0.1.3.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n <img src=\"https://tellurio-public-assets.s3.us-west-1.amazonaws.com/static/images/afnio-logo-1024x1024.png\" width=\"250\">\n</div>\n\n# Afnio: Making AI System Optimization Easy for Everyone\n\nAfnio 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.\n\n- **Accelerated AI System Development:** Ship complex AI systems faster thanks to high-level UX and easy-to-debug runtime.\n- **State-of-the-Art Performance:** Leverage built-in optimizers to automatically refine prompts and tune model parameters for any LM task, ensuring optimal performance.\n- **LM Agnostic:** Decouple prompts and parameters from application logic, reducing LM model selection to a single hyperparameter in Afnio\u2019s optimizers. Seamlessly switch between models without any additional rework.\n- **Minimal and Flexible:** Pure Python with no API calls or dependencies, ensuring seamless integration with any tools or libraries.\n- **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\u2019re falling off a complexity cliff.\n- **_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.\n\n## Contributing Guidelines\n\n:computer: Would love to contribute? Please follows our [contribution guidelines](CONTRIBUTING.md).\n",
"bugtrack_url": null,
"license": "License to be determined soon. Please contact author before using.\n ",
"summary": "Afnio Python library and Tellurio Studio CLI tool",
"version": "0.1.3",
"project_urls": {
"homepage": "https://github.com/Tellurio-AI/afnio",
"repository": "https://github.com/Tellurio-AI/afnio"
},
"split_keywords": [
"ai-agent",
" language-models",
" prompt-optimization",
" afnio"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "44b1ff5808a2d28e1efe7d2f392fbf94ad46246cd113264d0e0aaf7c5bf40ab6",
"md5": "c1c9a1946459a268f3bf3000a31bda63",
"sha256": "dd1f3d9f9bddf19fe4c546d5febc8c02e10774849d1f30c02b281cd94d1c7213"
},
"downloads": -1,
"filename": "afnio-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c1c9a1946459a268f3bf3000a31bda63",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 160797,
"upload_time": "2025-07-15T17:49:01",
"upload_time_iso_8601": "2025-07-15T17:49:01.853402Z",
"url": "https://files.pythonhosted.org/packages/44/b1/ff5808a2d28e1efe7d2f392fbf94ad46246cd113264d0e0aaf7c5bf40ab6/afnio-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "286528cce8d70129cd81f3d72599b7480d05079fb0292e9bd47632fddcdb9262",
"md5": "e102d15b78a76e9f3e7560b43eb2823a",
"sha256": "8513da4826a7b86a47d2eda893fb80a379f75b6fe8038121194fba144d670744"
},
"downloads": -1,
"filename": "afnio-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "e102d15b78a76e9f3e7560b43eb2823a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 125042,
"upload_time": "2025-07-15T17:49:03",
"upload_time_iso_8601": "2025-07-15T17:49:03.209186Z",
"url": "https://files.pythonhosted.org/packages/28/65/28cce8d70129cd81f3d72599b7480d05079fb0292e9bd47632fddcdb9262/afnio-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-15 17:49:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Tellurio-AI",
"github_project": "afnio",
"github_not_found": true,
"lcname": "afnio"
}