<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/fc/a7/c9c2d93496cdd59846decee0fc9548fdbb9a7ab46c0990da1090510b0ab4/afnio-0.2.2.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.2.2",
"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": "1d7cf139a2c0a79f13f80074f6c1ba5927a5aa19d7b695653faf57f1a03d7afb",
"md5": "b580e8b457f63914474c4d14cd837585",
"sha256": "49fd614f9b646f2c9e785bd3411b1efe1a98ff795d7ebd7a7cc37efd640a2843"
},
"downloads": -1,
"filename": "afnio-0.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b580e8b457f63914474c4d14cd837585",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 171880,
"upload_time": "2025-08-01T11:53:35",
"upload_time_iso_8601": "2025-08-01T11:53:35.359199Z",
"url": "https://files.pythonhosted.org/packages/1d/7c/f139a2c0a79f13f80074f6c1ba5927a5aa19d7b695653faf57f1a03d7afb/afnio-0.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "fca7c9c2d93496cdd59846decee0fc9548fdbb9a7ab46c0990da1090510b0ab4",
"md5": "f59787dd2c0992aae8e9392bc62dc05d",
"sha256": "74bcb2ee76b6db35fc8410c8af2143a026c30562035c78a47de46c555bd0a388"
},
"downloads": -1,
"filename": "afnio-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "f59787dd2c0992aae8e9392bc62dc05d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 135132,
"upload_time": "2025-08-01T11:53:36",
"upload_time_iso_8601": "2025-08-01T11:53:36.802014Z",
"url": "https://files.pythonhosted.org/packages/fc/a7/c9c2d93496cdd59846decee0fc9548fdbb9a7ab46c0990da1090510b0ab4/afnio-0.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-01 11:53:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Tellurio-AI",
"github_project": "afnio",
"github_not_found": true,
"lcname": "afnio"
}