Skip to content

Standard Operating Procedures

Comprehensive step-by-step guides for implementing self-evolving agents.

Document Control

PropertyValue
Version1.0
StatusActive
Last Updated2024
SourceOpenAI Cookbook - Bain & OpenAI

SOP Overview

┌─────────────────────────────────────────────────────────────────────┐
│                    SOP IMPLEMENTATION PATH                           │
├─────────────────────────────────────────────────────────────────────┤
│                                                                      │
│  ┌─────────────┐   ┌─────────────┐   ┌─────────────┐                │
│  │     001     │──►│     002     │──►│     003     │                │
│  │ Environment │   │   Dataset   │   │    Eval     │                │
│  │   Setup     │   │ Preparation │   │  Creation   │                │
│  └─────────────┘   └─────────────┘   └──────┬──────┘                │
│                                              │                       │
│                                              ▼                       │
│  ┌─────────────┐   ┌─────────────┐   ┌─────────────┐                │
│  │     006     │◄──│     005     │◄──│     004     │                │
│  │   Manual    │   │  Run Eval   │   │  Baseline   │                │
│  │   Prompt    │   │    Loop     │   │   Agent     │                │
│  │Optimization │   │             │   │   Setup     │                │
│  └──────┬──────┘   └─────────────┘   └─────────────┘                │
│         │                                                            │
│         ▼                                                            │
│  ┌─────────────┐   ┌─────────────┐                                  │
│  │     007     │──►│     008     │                                  │
│  │ LLM-as-Judge│   │    GEPA     │                                  │
│  │   Config    │   │ Integration │                                  │
│  └─────────────┘   └─────────────┘                                  │
│                                                                      │
└─────────────────────────────────────────────────────────────────────┘

SOPs Index

IDTitleDescriptionComplexity
001Environment SetupInstall dependencies, API keys, SDK configurationEasy
002Dataset PreparationPrepare and format data for evaluationEasy
003Eval CreationCreate evaluations with four gradersMedium
004Baseline Agent SetupConfigure summarization and metaprompt agentsMedium
005Run Evaluation LoopExecute evals and parse grader scoresMedium
006Manual Prompt OptimizationUse OpenAI Evals Platform UIEasy
007LLM-as-Judge ConfigurationSet up automated LLM evaluationMedium
008GEPA IntegrationAdvanced genetic-pareto optimizationAdvanced

Prerequisites

Before starting any SOP, ensure you have:

  • [ ] Python 3.10+ installed
  • [ ] OpenAI API key with access to Evals
  • [ ] Basic Python knowledge
  • [ ] Understanding of prompt engineering concepts

New to Self-Evolving Agents?

Follow SOPs 001 → 002 → 003 → 004 → 005 in order for best results.

Already Familiar?

Jump directly to SOP 008 - GEPA Integration for advanced optimization.

Based on OpenAI Cookbook - Bain & OpenAI Collaboration