You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/openai-sdk-integration.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
5
5
✅ **Works great with FREE Ollama (No API Keys Needed!)**
6
6
7
+
> **Hands-on demo:** Clone the MIT-licensed companion repo [`superoptix-lite-openai`](https://github.com/SuperagenticAI/superoptix-lite-openai) to try the OpenAI Agents SDK with SuperOptiX Lite right away. The Code Reviewer example in that project mirrors this guide step by step.
8
+
7
9
---
8
10
9
11
## 🎯 What is OpenAI Agents SDK?
@@ -940,6 +942,7 @@ A: Performance varies by use case, model, and hardware. OpenAI SDK typically has
- **Hands-on Repo**: [`superoptix-lite-openai`](https://github.com/SuperagenticAI/superoptix-lite-openai) — clone this MIT-licensed companion project to try the OpenAI Agents SDK with SuperOptiX Lite and follow our Code Reviewer tutorial step by step.
943
946
944
947
---
945
948
@@ -992,8 +995,9 @@ This comprehensive step-by-step tutorial teaches you how to:
992
995
✅ Implement **automatic optimization loading** for production deployment
993
996
994
997
**Example project:** Code Reviewer Agent that detects security vulnerabilities
998
+
**Hands-on repo:** [`superoptix-lite-openai`](https://github.com/SuperagenticAI/superoptix-lite-openai) — clone it to follow the tutorial with a fully wired SuperOptiX Lite playground.
Copy file name to clipboardExpand all lines: docs/tutorials/openai-sdk-gepa-optimization.md
+52-17Lines changed: 52 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,21 @@
4
4
5
5
This comprehensive tutorial demonstrates how to create production-ready AI agents using the official OpenAI Agents SDK, integrate them with SuperOptiX, and achieve measurable performance improvements through GEPA (Genetic Evaluation-based Prompt Augmentation) optimization.
6
6
7
+
> **Hands-on first:** Clone the live example repo and follow along step by step — every snippet in this guide comes straight from [`superoptix-lite-openai`](https://github.com/SuperagenticAI/superoptix-lite-openai). Use it as your working playground while you read.
8
+
9
+
---
10
+
11
+
## 🔗 Repo Spotlight
12
+
13
+
Looking for a complete, runnable example? Check out the open source companion repository [`superoptix-lite-openai`](https://github.com/SuperagenticAI/superoptix-lite-openai). It ships with:
14
+
15
+
- ✅ A production-ready Code Reviewer agent following this tutorial end-to-end
16
+
- ✅ GEPA optimization workflow powered by the lightweight `superoptix_lite` package
17
+
- ✅ Playbook-driven Agent Spec scenarios for SQL injection, memory leaks, error handling, and performance tuning
18
+
- ✅ Automation scripts for baseline evaluation, optimization, and regression testing
19
+
20
+
We'll reference this repository throughout the tutorial so you can clone, copy, or adapt the same patterns instantly.
21
+
7
22
---
8
23
9
24
## 📋 What You'll Learn
@@ -105,6 +120,8 @@ code-reviewer-tutorial/
105
120
└── optimized/ # GEPA optimization results
106
121
```
107
122
123
+
> **Quick start:** prefer cloning instead? `git clone https://github.com/SuperagenticAI/superoptix-lite-openai.git` to get the finished layout with baseline, optimization, and demo scripts already wired up.
124
+
108
125
---
109
126
110
127
## 📝 Step 2: Define Agent Playbook
@@ -309,8 +326,8 @@ import json
309
326
from agents import Agent, Runner, OpenAIChatCompletionsModel
310
327
from openai import AsyncOpenAI
311
328
312
-
# SuperOptiX integration
313
-
from superoptix.core.base_component import BaseComponent
329
+
# SuperOptiX Lite integration (matches superoptix-lite-openai repo)
330
+
from openai_gepa.superoptix_lite import BaseComponent
@@ -1313,12 +1352,6 @@ Your agent is now production-ready and self-optimizing! 🚀
1313
1352
1314
1353
## 📝 Tutorial Summary
1315
1354
1316
-
**Time Invested**: 30-45 minutes
1317
-
**Lines of Code**: ~600 (agent + pipeline)
1318
-
**Test Coverage**: 4 BDD scenarios
1319
-
**Final Pass Rate**: 100%
1320
-
**Optimization**: Automatic loading
1321
-
1322
1355
**What You Built**:
1323
1356
A production-ready code reviewer agent that:
1324
1357
- Uses official OpenAI SDK patterns
@@ -1327,4 +1360,6 @@ A production-ready code reviewer agent that:
1327
1360
- Works with local Ollama models
1328
1361
- Achieves measurable performance improvements
1329
1362
1363
+
👉 Keep iterating in the [`superoptix-lite-openai`](https://github.com/SuperagenticAI/superoptix-lite-openai) repository. It tracks this tutorial line-for-line, giving you a ready-made playground for experiments, upgrades, and commits you can bring back into your full SuperOptiX projects.
1364
+
1330
1365
Ready to build more? Check out our [other tutorials](/tutorials/)!
0 commit comments