Skip to content

Commit a43b0d0

Browse files
TianyiPengclaude
andauthored
Rename PyPI package to agentopt-py (#44)
PyPI rejects 'agentopt' as too similar to existing 'agent-opt'. Update all pip install references, badges, and pyproject.toml. Import name remains 'import agentopt'. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b428ca5 commit a43b0d0

17 files changed

Lines changed: 26 additions & 26 deletions

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
</p>
1414

1515
<p align="center">
16-
<a href="https://pypi.org/project/agentopt/"><img src="https://img.shields.io/pypi/v/agentopt?logo=python&logoColor=white&color=3776ab" alt="PyPI"></a>
17-
<!-- <a href="https://pepy.tech/projects/agentopt"><img src="https://static.pepy.tech/badge/agentopt" alt="Downloads"></a> -->
16+
<a href="https://pypi.org/project/agentopt-py/"><img src="https://img.shields.io/pypi/v/agentopt-py?logo=python&logoColor=white&color=3776ab" alt="PyPI"></a>
17+
<!-- <a href="https://pepy.tech/projects/agentopt-py"><img src="https://static.pepy.tech/badge/agentopt-py" alt="Downloads"></a> -->
1818
<!-- <a href="https://github.com/AgentOptimizer/agentopt"><img src="https://img.shields.io/github/stars/AgentOptimizer/agentopt?style=flat&logo=github&color=181717" alt="GitHub stars"></a> -->
1919
<a href="https://github.com/AgentOptimizer/agentopt/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-green?style=flat" alt="License"></a>
2020
<a href="https://agentoptimizer.github.io/agentopt/"><img src="https://img.shields.io/badge/docs-website-blue?style=flat&logo=materialformkdocs&logoColor=white" alt="Docs"></a>
@@ -44,7 +44,7 @@ Read more in our [blog post](https://agentoptimizer.github.io/agentopt/blog/2026
4444
## Installation
4545

4646
```bash
47-
pip install agentopt
47+
pip install agentopt-py
4848
```
4949
## Quick Start
5050

@@ -177,7 +177,7 @@ If you do not need the strict best model combination and want **more evaluation
177177
| `"epsilon_lucb"` | Extra cost savings when ε-optimal is enough | Bandit; stops when an epsilon-optimal best arm is identified |
178178
| `"threshold"` | Thresholding objectives | Bandit; determines whether each combination is above/below a user-defined `threshold` on the performance metric (e.g., mean accuracy) |
179179
| `"lm_proposal"` | LLM-guided search | Uses a proposer LLM to shortlist promising combinations |
180-
| `"bayesian"` | Expensive evaluations | GP-based Bayesian optimization over categorical model choices; uses correlation between combinations (requires `pip install "agentopt[bayesian]"`) |
180+
| `"bayesian"` | Expensive evaluations | GP-based Bayesian optimization over categorical model choices; uses correlation between combinations (requires `pip install "agentopt-py[bayesian]"`) |
181181

182182
```python
183183
selector = ModelSelector(

docs/blog/posts/technical-deep-dive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ For every benchmark, there exists a combination within 3-5% of the best accuracy
194194
## Get Started
195195

196196
```bash
197-
pip install agentopt
197+
pip install agentopt-py
198198
```
199199

200200
```python

docs/concepts/algorithms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ selector = BayesianOptimizationModelSelector(
188188
!!! note "Extra dependency"
189189
Requires PyTorch and BoTorch:
190190
```bash
191-
pip install "agentopt[bayesian]"
191+
pip install "agentopt-py[bayesian]"
192192
```
193193

194194
!!! success "When to use"

docs/getting-started/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
=== "pip"
66

77
```bash
8-
pip install agentopt
8+
pip install agentopt-py
99
```
1010

1111
=== "uv"
@@ -21,13 +21,13 @@
2121
Requires PyTorch and BoTorch:
2222

2323
```bash
24-
pip install "agentopt[bayesian]"
24+
pip install "agentopt-py[bayesian]"
2525
```
2626

2727
=== "All Extras"
2828

2929
```bash
30-
pip install "agentopt[bayesian]"
30+
pip install "agentopt-py[bayesian]"
3131
```
3232

3333
## Development Setup

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ AgentOpt patches `httpx` at the transport level — the same HTTP library used b
181181
---
182182

183183
```bash
184-
pip install agentopt
184+
pip install agentopt-py
185185
```
186186

187187
[:octicons-arrow-right-24: Installation guide](getting-started/installation.md)

examples/advanced_selection_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
strong best-arm identification with lower evaluation cost than brute_force).
99
1010
Prerequisites:
11-
1. pip install openai agentopt
11+
1. pip install openai agentopt-py
1212
2. Set OPENAI_API_KEY environment variable
13-
3. For Bayesian optimization: pip install "agentopt[bayesian]"
13+
3. For Bayesian optimization: pip install "agentopt-py[bayesian]"
1414
"""
1515

1616
from dotenv import load_dotenv

examples/ag2_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Example: AG2 agent with agentopt.
33
44
Prerequisites:
5-
1. pip install ag2 agentopt
5+
1. pip install ag2 agentopt-py
66
2. Set OPENAI_API_KEY environment variable
77
88
Note: AG2's run() API spawns a background thread which breaks context

examples/crewai_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Example: CrewAI agent with agentopt.
33
44
Prerequisites:
5-
1. pip install crewai agentopt
5+
1. pip install crewai agentopt-py
66
2. Set OPENAI_API_KEY environment variable
77
"""
88

examples/custom_agent_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
that makes OpenAI SDK calls directly. No framework needed.
66
77
Prerequisites:
8-
1. pip install openai agentopt
8+
1. pip install openai agentopt-py
99
2. Set OPENAI_API_KEY environment variable
1010
"""
1111

examples/langchain_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Example: LangChain agent with agentopt.
33
44
Prerequisites:
5-
1. pip install langchain-classic langchain-openai agentopt
5+
1. pip install langchain-classic langchain-openai agentopt-py
66
2. Set OPENAI_API_KEY environment variable
77
"""
88

0 commit comments

Comments
 (0)