Name | adaptiq JSON |
Version |
0.12.2
JSON |
| download |
home_page | None |
Summary | An offline Q-learning framework for AI agent prompt optimization. |
upload_time | 2025-07-21 13:57:39 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.11 |
license | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [2025] [AdaptIQ AI]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
keywords |
ai
agent
reinforcement learning
q-learning
prompt engineering
llm
crewai
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# AdaptIQ โ Adaptive Optimization Framework for AI Agents
[](https://www.python.org/)
[](https://pypi.org/project/adaptiq)
[](#benchmarks--methodology)
[](#benchmarks--methodology)
[](LICENSE)
[](https://benchmyagent.com)
**AdaptIQ โ Adaptive Optimization Framework for AI Agents โ Optimize behaviors, reduce resource usage, and accelerate learning with low-cognitive reinforcement tuning.**
---
## ๐ Quick Overview
AdaptIQ uses reinforcement learning to automatically optimize your AI agents. Point it at your agent's logs, and it learns which actions work best in different situations, reducing costs by 30% while improving performance.
**Key Benefits:** Lower costs, better performance, data-driven optimization
**Current Support:** CrewAI + OpenAI (more coming soon)
---
## ๐ Table of Contents
1. [๐ค Why AdaptiQ?](#-why-adaptiq)
2. [โก Quick Start](#-quick-start)
3. [โจ Features](#-features)
4. [๐ง How It Works (RL + Q-table)](#-how-it-works-rl--q-table)
5. [๐๏ธ Architecture](#๏ธ-architecture)
6. [๐ Reporting Mode](#-reporting-mode)
7. [๐ฎ What's Next](#-whats-next)
8. [๐ Leaderboard (agents)](#-leaderboard-agents)
9. [๐ฏ Bench my agent](#-bench-my-agent)
10. [โ๏ธ Upgrade Path โ AdaptiQ FinOps Cloud](#๏ธ-upgrade-path--adaptiq-finops-cloud)
11. [๐บ๏ธ Roadmap](#๏ธ-roadmap)
12. [๐ค Community & Contributing](#-community--contributing)
13. [๐ License](#-license)
---
## ๐ค Why AdaptiQ?
AdaptIQ addresses the critical challenge of optimizing AI agent performance through intelligent, data-driven approaches. Our framework transforms the traditionally manual and error-prone process of agent tuning into a systematic, reinforcement learning-powered optimization workflow that learns from execution patterns and continuously improves agent behavior while reducing costs and resource consumption.
| Pain point | Traditional workaround | **AdaptiQ advantage** |
|------------|-----------------------|-----------------------|
| Prompt/agent errors discovered **after** expensive runs | Manual review, trialโandโerror | Detects & fixes issues **before** execution |
| GPU/LLM cost spikes | Spreadsheet audits | Predicts โฌ & COโ inline |
| No common prompt style | Word/PDF guidelines | Enforced by lint rules, autofixable |
| Dev โ FinOps gap | Slack + eโmails | Same CLI / dashboard for both teams |
---
## ๐ฌ Demo Video
[](https://www.youtube.com/watch?v=ymNvLe73EhI)
*Click the image above to watch the demo video*
---
## โก Quick Start
### ๐ Prerequisites
Before installing AdaptIQ, ensure you have:
- **Python 3.12+** - Required for AdaptIQ framework
- **CrewAI framework** - Set up and configured for your agents
- **OpenAI API key** - For LLM provider access
- **Windows OS** - Linux and Mac support not tested yet
### ๐ฆ Installation
First, install UV package manager:
```bash
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
```
> โ ๏ธ **Note**: Linux and Mac support is not tested yet. We recommend using Windows for now.
Then activate your virtual environment and install AdaptIQ:
```bash
uv pip install adaptiq
```
For development mode:
```bash
uv pip install -e .
```
### ๐ช Quick Setup
**Non-interactive mode (recommended for first-time users):**
```bash
adaptiq wizard-headless --llm_provider openai --api_key your_api_key --prompt "wizard init <name_of_project>"
```
> ๐ **Note**: Only OpenAI provider is supported for the wizard assistant currently.
This will initialize a project with `adaptiq_config.yml` that you should configure.
### ๐ฎ Running AdaptIQ
**Interactive mode (DEV Environment):**
```bash
wizard validate config <path_of_config>
wizard start # For first optimization
```
**Non-interactive mode (PROD Environment):**
```bash
adaptiq wizard-headless --llm_provider openai --api_key your_api_key --prompt "wizard execute <path_config>"
```
> ๐ **Important**: AdaptIQ currently supports only **CrewAI** as the agentic framework, **OpenAI** as the provider, and **GPT-4.1-mini** as the LLM for the workflow. Other models and frameworks have not been tested yet.
---
## โจ Features
| Category | Free | Cloud (SaaS) |
|----------|------|--------------|
| ๐ง YAML wizard & validation | โ
| โ
|
| ๐ Prompt & agent lint rules | โ
| โ
|
| ๐ฐ **Preโrun cost** | โ
| โ
|
| ๐ค RLโpowered optimisation suggestions | โ
| โ
|
| ๐ญ Automatic optimisation at scale | โ | โ
|
| ๐ GPUโspot arbitrage, ESG ledger | โ | โ
|
| ๐ Multiโtenant FinOps dashboard | โ | โ
|
---
## ๐ง How It Works (RL + Q-table)
### ๐ฏ ADAPTIQ - Agent Development & Prompt Tuning Iteratively with Q-Learning
ADAPTIQ is a framework designed for the iterative improvement of AI agent performance through offline Reinforcement Learning (RL). Its primary goal is to systematically enhance an agent's guiding Configuration, focusing mainly on its Task Description (Prompt), by learning from the agent's past execution behaviors and incorporating user validation through an interactive "Wizard" process. It provides a structured, data-driven alternative to purely manual prompt engineering.
### ๐ Vision and Goal
Adaptiq's mission is to optimize agent behavior by refining its core instructions (prompts/task descriptions). It achieves this by analyzing what an agent intended to do (from its prompt), what it actually did (from execution logs), and how effective those actions were (via a multi-faceted reward system). It is especially suited for agents using frameworks like CrewAI, LangChain, etc., where direct, real-time RL control is often impractical.
### ๐ง Key Concepts in Adaptiq
#### ๐งฉ State (s)
Represents the agent's situation at a specific step, defined by features like:
- **Current_SubTask**: The immediate objective (validated via Wizard)
- **Last_Action_Taken**: The previous validated ARIC strategic action
- **Last_Outcome**: The validated result of the previous action
- **Key_Context**: Accumulated relevant information (validated flags/data)
States are transformed into consistent, hashable representations for Q-table storage, potentially using generalization techniques.
#### ๐ฏ Action (a)
A selection from a predefined menu of discrete, strategic actions (e.g., Use_Tool_X, Action_Write_Content). Adaptiq maps observed log events to these predefined actions.
#### ๐ Q-Table
The core knowledge base: `Q(state_representation, action) โ value`. It stores the learned long-term value of taking an action in a specific state, refined through the Adaptiq loop.
#### ๐ Reward (R)
Calculated offline during/after trace reconciliation, guided by the Wizard and predefined rules. It incorporates:
- **Plan Adherence**: How well the actual execution matched the intended plan from prompt parsing
- **Execution Success (R_execution/internal)**: Based on tool outcomes, task progress, constraint adherence, and output quality from the logs
- **External Feedback (R_external - Optional)**: Real-world impact metrics (e.g., email open rates, conversions). To be implemented soon (now as external feedback only human feedback of user's evaluation of the agent after adaptiq optimization)
### ๐ ๏ธ Trace Analysis & Reconciliation Strategy
Adaptiq employs a multi-stage approach:
1. **Prompt Parsing (default-run)**: An LLM-powered module analyzes the agent's task description to extract the intended sequence of sub-tasks and actions
2. **Hypothetical State Generation (default-run)**: Uses the prompt parser's output to define idealized states and actions for heuristic Q-table initialization
3. **Log Parsing (first step of the run)**: Module parses raw execution logs to identify actual agent thoughts, tool calls, and outcomes
4. **Reconciliation (second step of the run)**: A central facilitates the alignment of the intended plan with actual execution. It allows the user to:
- Validate/correct inferred states and actions
- Confirm/override calculated rewards
- Refine the understanding of the agent's behavior
This produces the mapping data.
**Lightweight Qโtable examples:**
| State | Action | Qโvalue |
|-------|--------|---------|
| `('InformationRetrieval_Company', 'None', 'None', 'company info')` | FileReadTool | **0.6** |
| `('InformationRetrieval_Lead', 'FileReadTool', 'Success_DataFound', 'company info lead name')` | LeadNameTool | **0.7** |
| `('ActionExecution_SendEmail', 'Write_Email_Body', 'Success_ActionCompleted', 'email sent lead')` | SendEmailTool | **0.7** |
| `('ResultFinalization', 'SendEmailTool', 'Success_ActionCompleted', 'email content final answer')` | Formulate_Final_Answer | **0.8** |
---
## ๐๏ธ Architecture

---
## ๐ Reporting Mode
AdaptIQ offers flexible reporting options:
### ๐พ Local Reporting
- Save optimization reports locally as Markdown
- Detailed performance metrics and recommendations
- Offline analysis capabilities
### ๐ง Email Reports
- Send comprehensive reports to your email
- URL-based report sharing
- Real-time optimization insights (multiple)
> ๐ **Privacy Note**: When you provide your email in the YAML config, you acknowledge that we can process your data according to our privacy policy.

---
## ๐ฎ What's Next
### ๐ฏ Upcoming Features
- **๐ Support for More Models and Providers**: Expanding compatibility beyond OpenAI to include other LLM providers and models
- **๐ Context Engineering Optimization**: Advanced prompt and context management through Q-learning
- **๐ Prompt Optimization Workflow**: Implementing external rewards data type and tool tracking and evaluation
- **๐ Q-Table Strategy for RAG Systems**: Learn which effective chunks reduce cost and increase speed
- **๐ง Memory Layer Integration**: Q-table learns optimal context retention patterns - storing frequently accessed information states and reducing redundant retrievals through intelligent caching strategies
- **๐ Knowledge Graph Integration**: Dynamic relationship mapping between entities and concepts for contextually-aware agent decisions
- **๐ External Context Integration APIs**: Seamless integration with CRM, databases, and third-party tools for enriched contextual understanding
- **๐ก๏ธ Governance & Constraints**:
- **๐ง Guardrails**: Q-learning enforced safety boundaries and compliance rules
- **๐ Access Control**: Context-aware permission management
- **๐ Policy Enforcement**: Automated adherence to organizational guidelines and industry standards
- **๐ฑ Q-Table for Edge Devices**: Optimizing AI models performance to work better on resource-constrained devices
---
## ๐ Leaderboard (agents) - Coming Soon
A comprehensive evaluation system to benchmark your agents based on specific KPIs (Health Learning Index HLI). Agents working on the same tasks can anonymously compare their performance, fostering continuous improvement and healthy competition in the AI agent community. This system helps maintain agent quality in production environments through continuous monitoring and benchmarking.
---
## ๐ฏ Bench my agent
**๐ Build better AI agents. Use AdaptiQ and see your Agent Learning Health Index**
| โ๏ธ | Benefit | Description |
|-------|---------|-------------|
| ๐
**Social proof** | Public badge increases repo trust |
| ๐ฐ **FinOps insight** | Cost โฌ/k-token & COโ/tkn surfaced instantly |
| ๐ **Security gate** | Evaluator flags jailbreaks & PII leaks before prod |
| โป๏ธ **Continuous learning** | LHI tracks the agent's health across versions |
### ๐ฌ See the leaderboard in action

---
## โ๏ธ Upgrade Path โ AdaptiQ FinOps Cloud
Need handsโfree optimisation across hundreds of projects? ๐ข
**AdaptiQ FinOps Cloud** adds:
* ๐ค Autoโtuning RL in production
* ๐ GPUโspot arbitrage
* ๐ฑ ESG & carbon ledger
* ๐ฅ Roleโbased dashboards (Dev / FinOps / Cโsuite)
**๐ 30โday free trial** โ migrate in **one CLI command**.
**Contact us for more information via email**
---
## ๐บ๏ธ Roadmap
| Quarter | Milestone |
|---------|-----------|
| **Q3 2025** | ๐ Support for More Models and Providers & Cost optimization via LLM routing |
| **Q4 2025** | ๐ Context Engineering Optimization: Memory Layer, Knowledge Graphs, External API Integration |
| **2026** | ๐ฑ Edge SDK (quantised Qโtable <16 MB), ๐ก๏ธ Governance & Constraints framework, GPUโSpot optimiser |
Vote or propose features in [`discussions/`](https://github.com/adaptiq-ai/adaptiq/discussions). ๐ณ๏ธ
---
## ๐ค Community & Contributing
We โค๏ธ PRs: bug fixes, lint rules, language support.
See [`CONTRIBUTING.md`](./CONTRIBUTING.md).
* ๐ฌ **Discord**: [**#adaptiq**](https://discord.com/invite/tZZUvcSY) (roadmap call 1st Tuesday)
* ๐ฆ **X/Twitter**: [@adaptiq_ai](https://x.com/adaptiq_ai)
---
## ๐งช Beta Version Notice
AdaptIQ is currently in **beta version**. We welcome any issues, bug reports, or contributions to improve the framework! Your feedback helps us build a better tool for the AI agent community. ๐
Please feel free to:
- ๐ Report bugs via GitHub Issues
- ๐ก Suggest new features
- ๐ค Contribute code improvements
- ๐ Improve documentation
Together, we can make AdaptIQ the best optimization framework for AI agents! ๐
## ๐ Citation
If you use AdaptIQ in your research, project, or commercial application, please cite us:
### ๐ BibTeX
```bibtex
@software{adaptiq2025,
title={AdaptIQ: Adaptive Optimization Framework for AI Agents},
author={AdaptIQ AI Team},
year={2025},
url={https://github.com/adaptiq-ai/adaptiq},
note={Adaptive Optimization Framework for AI Agents with Reinforcement Learning}
}
```
### ๐ MLA Format
AdaptIQ AI Team. "AdaptIQ: Adaptive Optimization Framework for AI Agents." GitHub, 2025, https://github.com/adaptiq-ai/adaptiq.
### ๐ Research Papers
If you publish research using AdaptIQ, we'd love to hear about it! Please:
- ๐ง Email us at research@getadaptiq.io
- ๐ฆ Tag us on Twitter [@adaptiq_ai](https://x.com/adaptiq_ai)
- ๐ฌ Share in our Discord **#research** channel
---
## ๐ License
* **Code**: Apache 2.0 License ๐
* **RL weights & FinOps Cloud components**: proprietary
ยฉ 2025 AdaptiQ AI. All trademarks belong to their respective owners.
Raw data
{
"_id": null,
"home_page": null,
"name": "adaptiq",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "ai, agent, reinforcement learning, q-learning, prompt engineering, llm, crewai",
"author": null,
"author_email": "Youssef ALWAZ / KOSMOS Technologies <alwaz.youssef@kosmostechnologies.fr>, Wassim AMRI / KOSMOS Technologies <w.amri@kosmostechnologies.fr>",
"download_url": "https://files.pythonhosted.org/packages/8e/88/eb10f7f8be19eb166ea4d6862835980a9877b1c5a46980093b84d119b60c/adaptiq-0.12.2.tar.gz",
"platform": null,
"description": "# AdaptIQ \u2014 Adaptive Optimization Framework for AI Agents\n\n[](https://www.python.org/)\n[](https://pypi.org/project/adaptiq)\n[](#benchmarks--methodology)\n[](#benchmarks--methodology)\n[](LICENSE)\n[](https://benchmyagent.com)\n\n**AdaptIQ \u2014 Adaptive Optimization Framework for AI Agents \u2013 Optimize behaviors, reduce resource usage, and accelerate learning with low-cognitive reinforcement tuning.**\n\n---\n\n## \ud83d\ude80 Quick Overview\n\nAdaptIQ uses reinforcement learning to automatically optimize your AI agents. Point it at your agent's logs, and it learns which actions work best in different situations, reducing costs by 30% while improving performance.\n\n**Key Benefits:** Lower costs, better performance, data-driven optimization \n**Current Support:** CrewAI + OpenAI (more coming soon)\n\n---\n\n## \ud83d\udccb Table of Contents\n1. [\ud83e\udd14 Why AdaptiQ?](#-why-adaptiq)\n2. [\u26a1 Quick Start](#-quick-start)\n3. [\u2728 Features](#-features)\n4. [\ud83e\udde0 How It Works (RL + Q-table)](#-how-it-works-rl--q-table)\n5. [\ud83c\udfd7\ufe0f Architecture](#\ufe0f-architecture)\n6. [\ud83d\udcca Reporting Mode](#-reporting-mode)\n7. [\ud83d\udd2e What's Next](#-whats-next)\n8. [\ud83c\udfc6 Leaderboard (agents)](#-leaderboard-agents)\n9. [\ud83c\udfaf Bench my agent](#-bench-my-agent)\n10. [\u2601\ufe0f Upgrade Path \u2192 AdaptiQ FinOps Cloud](#\ufe0f-upgrade-path--adaptiq-finops-cloud)\n11. [\ud83d\uddfa\ufe0f Roadmap](#\ufe0f-roadmap)\n12. [\ud83e\udd1d Community & Contributing](#-community--contributing)\n13. [\ud83d\udcc4 License](#-license)\n\n---\n\n## \ud83e\udd14 Why AdaptiQ?\n\nAdaptIQ addresses the critical challenge of optimizing AI agent performance through intelligent, data-driven approaches. Our framework transforms the traditionally manual and error-prone process of agent tuning into a systematic, reinforcement learning-powered optimization workflow that learns from execution patterns and continuously improves agent behavior while reducing costs and resource consumption.\n\n| Pain point | Traditional workaround | **AdaptiQ advantage** |\n|------------|-----------------------|-----------------------|\n| Prompt/agent errors discovered **after** expensive runs | Manual review, trial\u2011and\u2011error | Detects & fixes issues **before** execution |\n| GPU/LLM cost spikes | Spreadsheet audits | Predicts \u20ac & CO\u2082 inline |\n| No common prompt style | Word/PDF guidelines | Enforced by lint rules, autofixable |\n| Dev \u2194 FinOps gap | Slack + e\u2011mails | Same CLI / dashboard for both teams |\n\n---\n\n## \ud83c\udfac Demo Video\n\n[](https://www.youtube.com/watch?v=ymNvLe73EhI)\n\n*Click the image above to watch the demo video*\n\n---\n\n## \u26a1 Quick Start\n\n### \ud83d\udccb Prerequisites\n\nBefore installing AdaptIQ, ensure you have:\n\n- **Python 3.12+** - Required for AdaptIQ framework\n- **CrewAI framework** - Set up and configured for your agents\n- **OpenAI API key** - For LLM provider access\n- **Windows OS** - Linux and Mac support not tested yet\n\n### \ud83d\udce6 Installation\n\nFirst, install UV package manager:\n\n```bash\n# Windows (PowerShell)\npowershell -ExecutionPolicy ByPass -c \"irm https://astral.sh/uv/install.ps1 | iex\"\n```\n\n> \u26a0\ufe0f **Note**: Linux and Mac support is not tested yet. We recommend using Windows for now.\n\nThen activate your virtual environment and install AdaptIQ:\n\n```bash\nuv pip install adaptiq\n```\n\nFor development mode:\n```bash\nuv pip install -e .\n```\n\n### \ud83e\ude84 Quick Setup\n\n**Non-interactive mode (recommended for first-time users):**\n\n```bash\nadaptiq wizard-headless --llm_provider openai --api_key your_api_key --prompt \"wizard init <name_of_project>\"\n```\n\n> \ud83d\udcdd **Note**: Only OpenAI provider is supported for the wizard assistant currently.\n\nThis will initialize a project with `adaptiq_config.yml` that you should configure.\n\n### \ud83c\udfae Running AdaptIQ\n\n**Interactive mode (DEV Environment):**\n```bash\nwizard validate config <path_of_config>\nwizard start # For first optimization\n```\n\n**Non-interactive mode (PROD Environment):**\n```bash\nadaptiq wizard-headless --llm_provider openai --api_key your_api_key --prompt \"wizard execute <path_config>\"\n```\n\n> \ud83d\udcdd **Important**: AdaptIQ currently supports only **CrewAI** as the agentic framework, **OpenAI** as the provider, and **GPT-4.1-mini** as the LLM for the workflow. Other models and frameworks have not been tested yet.\n\n---\n\n## \u2728 Features\n\n| Category | Free | Cloud (SaaS) |\n|----------|------|--------------|\n| \ud83e\uddd9 YAML wizard & validation | \u2705 | \u2705 |\n| \ud83d\udd0d Prompt & agent lint rules | \u2705 | \u2705 |\n| \ud83d\udcb0 **Pre\u2011run cost** | \u2705 | \u2705 |\n| \ud83e\udd16 RL\u2011powered optimisation suggestions | \u2705 | \u2705 |\n| \ud83c\udfed Automatic optimisation at scale | \u2014 | \u2705 |\n| \ud83d\udc9a GPU\u2011spot arbitrage, ESG ledger | \u2014 | \u2705 |\n| \ud83d\udcca Multi\u2011tenant FinOps dashboard | \u2014 | \u2705 |\n\n---\n\n## \ud83e\udde0 How It Works (RL + Q-table)\n\n### \ud83c\udfaf ADAPTIQ - Agent Development & Prompt Tuning Iteratively with Q-Learning\n\nADAPTIQ is a framework designed for the iterative improvement of AI agent performance through offline Reinforcement Learning (RL). Its primary goal is to systematically enhance an agent's guiding Configuration, focusing mainly on its Task Description (Prompt), by learning from the agent's past execution behaviors and incorporating user validation through an interactive \"Wizard\" process. It provides a structured, data-driven alternative to purely manual prompt engineering.\n\n### \ud83d\ude80 Vision and Goal\n\nAdaptiq's mission is to optimize agent behavior by refining its core instructions (prompts/task descriptions). It achieves this by analyzing what an agent intended to do (from its prompt), what it actually did (from execution logs), and how effective those actions were (via a multi-faceted reward system). It is especially suited for agents using frameworks like CrewAI, LangChain, etc., where direct, real-time RL control is often impractical.\n\n### \ud83d\udd27 Key Concepts in Adaptiq\n\n#### \ud83e\udde9 State (s)\nRepresents the agent's situation at a specific step, defined by features like:\n\n- **Current_SubTask**: The immediate objective (validated via Wizard)\n- **Last_Action_Taken**: The previous validated ARIC strategic action\n- **Last_Outcome**: The validated result of the previous action\n- **Key_Context**: Accumulated relevant information (validated flags/data)\n\nStates are transformed into consistent, hashable representations for Q-table storage, potentially using generalization techniques.\n\n#### \ud83c\udfaf Action (a)\nA selection from a predefined menu of discrete, strategic actions (e.g., Use_Tool_X, Action_Write_Content). Adaptiq maps observed log events to these predefined actions.\n\n#### \ud83d\udcca Q-Table\nThe core knowledge base: `Q(state_representation, action) \u2192 value`. It stores the learned long-term value of taking an action in a specific state, refined through the Adaptiq loop.\n\n#### \ud83c\udfc6 Reward (R)\nCalculated offline during/after trace reconciliation, guided by the Wizard and predefined rules. It incorporates:\n\n- **Plan Adherence**: How well the actual execution matched the intended plan from prompt parsing\n- **Execution Success (R_execution/internal)**: Based on tool outcomes, task progress, constraint adherence, and output quality from the logs\n- **External Feedback (R_external - Optional)**: Real-world impact metrics (e.g., email open rates, conversions). To be implemented soon (now as external feedback only human feedback of user's evaluation of the agent after adaptiq optimization)\n\n### \ud83d\udee0\ufe0f Trace Analysis & Reconciliation Strategy\n\nAdaptiq employs a multi-stage approach:\n\n1. **Prompt Parsing (default-run)**: An LLM-powered module analyzes the agent's task description to extract the intended sequence of sub-tasks and actions\n\n2. **Hypothetical State Generation (default-run)**: Uses the prompt parser's output to define idealized states and actions for heuristic Q-table initialization\n\n3. **Log Parsing (first step of the run)**: Module parses raw execution logs to identify actual agent thoughts, tool calls, and outcomes\n\n4. **Reconciliation (second step of the run)**: A central facilitates the alignment of the intended plan with actual execution. It allows the user to:\n - Validate/correct inferred states and actions\n - Confirm/override calculated rewards\n - Refine the understanding of the agent's behavior\n \n This produces the mapping data.\n\n**Lightweight Q\u2011table examples:**\n\n| State | Action | Q\u2011value |\n|-------|--------|---------|\n| `('InformationRetrieval_Company', 'None', 'None', 'company info')` | FileReadTool | **0.6** |\n| `('InformationRetrieval_Lead', 'FileReadTool', 'Success_DataFound', 'company info lead name')` | LeadNameTool | **0.7** |\n| `('ActionExecution_SendEmail', 'Write_Email_Body', 'Success_ActionCompleted', 'email sent lead')` | SendEmailTool | **0.7** |\n| `('ResultFinalization', 'SendEmailTool', 'Success_ActionCompleted', 'email content final answer')` | Formulate_Final_Answer | **0.8** |\n\n---\n\n## \ud83c\udfd7\ufe0f Architecture\n\n\n\n---\n\n## \ud83d\udcca Reporting Mode\n\nAdaptIQ offers flexible reporting options:\n\n### \ud83d\udcbe Local Reporting\n- Save optimization reports locally as Markdown\n- Detailed performance metrics and recommendations\n- Offline analysis capabilities\n\n### \ud83d\udce7 Email Reports\n- Send comprehensive reports to your email\n- URL-based report sharing\n- Real-time optimization insights (multiple)\n\n> \ud83d\udcdd **Privacy Note**: When you provide your email in the YAML config, you acknowledge that we can process your data according to our privacy policy.\n\n\n\n---\n\n## \ud83d\udd2e What's Next\n\n### \ud83c\udfaf Upcoming Features\n\n- **\ud83d\udd04 Support for More Models and Providers**: Expanding compatibility beyond OpenAI to include other LLM providers and models\n- **\ud83d\udd04 Context Engineering Optimization**: Advanced prompt and context management through Q-learning\n - **\ud83d\udcdd Prompt Optimization Workflow**: Implementing external rewards data type and tool tracking and evaluation\n - **\ud83d\udcda Q-Table Strategy for RAG Systems**: Learn which effective chunks reduce cost and increase speed\n - **\ud83e\udde0 Memory Layer Integration**: Q-table learns optimal context retention patterns - storing frequently accessed information states and reducing redundant retrievals through intelligent caching strategies\n - **\ud83d\udcca Knowledge Graph Integration**: Dynamic relationship mapping between entities and concepts for contextually-aware agent decisions\n - **\ud83d\udd0c External Context Integration APIs**: Seamless integration with CRM, databases, and third-party tools for enriched contextual understanding\n - **\ud83d\udee1\ufe0f Governance & Constraints**: \n - **\ud83d\udea7 Guardrails**: Q-learning enforced safety boundaries and compliance rules\n - **\ud83d\udd10 Access Control**: Context-aware permission management\n - **\ud83d\udccb Policy Enforcement**: Automated adherence to organizational guidelines and industry standards\n- **\ud83d\udcf1 Q-Table for Edge Devices**: Optimizing AI models performance to work better on resource-constrained devices\n\n---\n\n## \ud83c\udfc6 Leaderboard (agents) - Coming Soon\n\nA comprehensive evaluation system to benchmark your agents based on specific KPIs (Health Learning Index HLI). Agents working on the same tasks can anonymously compare their performance, fostering continuous improvement and healthy competition in the AI agent community. This system helps maintain agent quality in production environments through continuous monitoring and benchmarking.\n\n---\n\n## \ud83c\udfaf Bench my agent\n\n**\ud83d\ude80 Build better AI agents. Use AdaptiQ and see your Agent Learning Health Index**\n\n| \u2699\ufe0f | Benefit | Description |\n|-------|---------|-------------|\n| \ud83c\udfc5 **Social proof** | Public badge increases repo trust |\n| \ud83d\udcb0 **FinOps insight** | Cost \u20ac/k-token & CO\u2082/tkn surfaced instantly |\n| \ud83d\udd12 **Security gate** | Evaluator flags jailbreaks & PII leaks before prod |\n| \u267b\ufe0f **Continuous learning** | LHI tracks the agent's health across versions |\n\n### \ud83c\udfac See the leaderboard in action\n\n\n\n---\n\n## \u2601\ufe0f Upgrade Path \u2192 AdaptiQ FinOps Cloud\n\nNeed hands\u2011free optimisation across hundreds of projects? \ud83c\udfe2 \n**AdaptiQ FinOps Cloud** adds:\n\n* \ud83e\udd16 Auto\u2011tuning RL in production \n* \ud83d\udc8e GPU\u2011spot arbitrage \n* \ud83c\udf31 ESG & carbon ledger \n* \ud83d\udc65 Role\u2011based dashboards (Dev / FinOps / C\u2011suite)\n\n**\ud83c\udd93 30\u2011day free trial** \u2014 migrate in **one CLI command**.\n\n**Contact us for more information via email**\n\n---\n\n## \ud83d\uddfa\ufe0f Roadmap\n\n| Quarter | Milestone |\n|---------|-----------|\n| **Q3 2025** | \ud83d\udd04 Support for More Models and Providers & Cost optimization via LLM routing |\n| **Q4 2025** | \ud83d\udd04 Context Engineering Optimization: Memory Layer, Knowledge Graphs, External API Integration |\n| **2026** | \ud83d\udcf1 Edge SDK (quantised Q\u2011table <16 MB), \ud83d\udee1\ufe0f Governance & Constraints framework, GPU\u2011Spot optimiser |\n\nVote or propose features in [`discussions/`](https://github.com/adaptiq-ai/adaptiq/discussions). \ud83d\uddf3\ufe0f\n\n---\n\n## \ud83e\udd1d Community & Contributing\n\nWe \u2764\ufe0f PRs: bug fixes, lint rules, language support. \nSee [`CONTRIBUTING.md`](./CONTRIBUTING.md).\n\n* \ud83d\udcac **Discord**: [**#adaptiq**](https://discord.com/invite/tZZUvcSY) (roadmap call 1st Tuesday) \n* \ud83d\udc26 **X/Twitter**: [@adaptiq_ai](https://x.com/adaptiq_ai)\n\n---\n\n## \ud83e\uddea Beta Version Notice\n\nAdaptIQ is currently in **beta version**. We welcome any issues, bug reports, or contributions to improve the framework! Your feedback helps us build a better tool for the AI agent community. \ud83d\ude4f\n\nPlease feel free to:\n- \ud83d\udc1b Report bugs via GitHub Issues\n- \ud83d\udca1 Suggest new features\n- \ud83e\udd1d Contribute code improvements\n- \ud83d\udcdd Improve documentation\n\nTogether, we can make AdaptIQ the best optimization framework for AI agents! \ud83d\ude80\n\n## \ud83d\udcda Citation\n\nIf you use AdaptIQ in your research, project, or commercial application, please cite us:\n\n### \ud83d\udcd6 BibTeX\n\n```bibtex\n@software{adaptiq2025,\n title={AdaptIQ: Adaptive Optimization Framework for AI Agents},\n author={AdaptIQ AI Team},\n year={2025},\n url={https://github.com/adaptiq-ai/adaptiq},\n note={Adaptive Optimization Framework for AI Agents with Reinforcement Learning}\n}\n```\n### \ud83d\udd17 MLA Format\n\nAdaptIQ AI Team. \"AdaptIQ: Adaptive Optimization Framework for AI Agents.\" GitHub, 2025, https://github.com/adaptiq-ai/adaptiq.\n\n### \ud83d\udcca Research Papers\n\nIf you publish research using AdaptIQ, we'd love to hear about it! Please:\n- \ud83d\udce7 Email us at research@getadaptiq.io\n- \ud83d\udc26 Tag us on Twitter [@adaptiq_ai](https://x.com/adaptiq_ai)\n- \ud83d\udcac Share in our Discord **#research** channel\n\n---\n\n## \ud83d\udcc4 License\n\n* **Code**: Apache 2.0 License \ud83c\udd93\n* **RL weights & FinOps Cloud components**: proprietary\n\n\u00a9 2025 AdaptiQ AI. All trademarks belong to their respective owners.\n",
"bugtrack_url": null,
"license": "Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n \n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n \n 1. Definitions.\n \n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n \n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n \n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n \n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n \n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n \n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n \n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n \n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n \n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n \n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n \n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n \n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n \n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n \n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n \n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n \n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n \n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n \n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n \n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n \n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n \n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n \n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n \n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n \n END OF TERMS AND CONDITIONS\n \n APPENDIX: How to apply the Apache License to your work.\n \n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n \n Copyright [2025] [AdaptIQ AI]\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ",
"summary": "An offline Q-learning framework for AI agent prompt optimization.",
"version": "0.12.2",
"project_urls": null,
"split_keywords": [
"ai",
" agent",
" reinforcement learning",
" q-learning",
" prompt engineering",
" llm",
" crewai"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "5a9ec3225b837cc461bd9d39dda1321f133d47b1cbd8f642136aace9de89d1e0",
"md5": "b363ec411c0f2226e46114886b1096a5",
"sha256": "3aecfdc2bd9a6436c0519f7862942eab310ae765836c9b58fa213264490fe0dc"
},
"downloads": -1,
"filename": "adaptiq-0.12.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b363ec411c0f2226e46114886b1096a5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 114078,
"upload_time": "2025-07-21T13:57:38",
"upload_time_iso_8601": "2025-07-21T13:57:38.110764Z",
"url": "https://files.pythonhosted.org/packages/5a/9e/c3225b837cc461bd9d39dda1321f133d47b1cbd8f642136aace9de89d1e0/adaptiq-0.12.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "8e88eb10f7f8be19eb166ea4d6862835980a9877b1c5a46980093b84d119b60c",
"md5": "d66dec0ca2d3c377078634080bdbca16",
"sha256": "fe441eb8510d26e67eb9b38bf9080ee8a4dbdff314e5e9b3156290b5df9a406f"
},
"downloads": -1,
"filename": "adaptiq-0.12.2.tar.gz",
"has_sig": false,
"md5_digest": "d66dec0ca2d3c377078634080bdbca16",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 110702,
"upload_time": "2025-07-21T13:57:39",
"upload_time_iso_8601": "2025-07-21T13:57:39.654983Z",
"url": "https://files.pythonhosted.org/packages/8e/88/eb10f7f8be19eb166ea4d6862835980a9877b1c5a46980093b84d119b60c/adaptiq-0.12.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-21 13:57:39",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "adaptiq"
}