DSPy is the most powerful optimization framework in the AI space. SuperOptiX harnesses DSPy's optimization principles and extends them for agentic AI.
DSPy's iterative optimization principles align perfectly with Test-Driven Development (TDD) and Behavior-Driven Development (BDD) methodologies.
| DSPy Core Strength | Agentic Need |
|---|---|
| Optimization-First | Reliable agent behavior |
| Assertions & Evaluations | Agent validation |
| Signature Generation | Context engineering |
| Module Composition | Multi-agent coordination |
SuperOptiX includes sophisticated modules designed specifically for agentic and multi-agent scenarios:
Signatures for input/output specs
From specifications to code
Assertions and metrics
SIMBA, MIPROv2, BootstrapFewShot
uv tool install superoptix
uv tool install superoptix --with "superoptix[frameworks-dspy]"
Note: DSPy is the default framework - it's included in the core installation!
Get started with DSPy in minutes
super agent pull sentiment_analyzer
super agent compile sentiment_analyzer
No need to specify --framework, DSPy is the default!
super agent evaluate sentiment_analyzer
super agent compile sentiment_analyzer --optimize super agent optimize sentiment_analyzer --auto light
super agent run sentiment_analyzer
DSPy has the most optimizable variables of any framework
Input/output specifications for each module
System prompts and task descriptions
Reasoning step prompts
Example demonstrations
How modules chain together
RAG query optimization
Use DSPy's native optimizers or SuperOptiX's Universal GEPA
Universal optimizer that works across ALL frameworks
DSPy's similarity-based optimizer
Multi-instruction prompt optimizer
Bootstrap few-shot examples
apiVersion: agent/v1 kind: AgentSpec metadata: name: my_dspy_agent spec: target_framework: dspy # or omit for default language_model: provider: ollama model: llama3.1:8b api_base: http://localhost:11434 persona: role: Research Assistant goal: Analyze complex topics input_fields: - name: query type: str required: true output_fields: - name: analysis type: str required: true feature_specifications: scenarios: - name: Basic analysis input: query: "What is machine learning?" expected_output: expected_keywords: - machine - learning - algorithm
Use cloud LLMs for production-grade performance — supports ALL LiteLLM providers
# Set API key export GOOGLE_API_KEY="your-key" # Playbook config: language_model: location: cloud provider: google model: gemini-2.0-flash
# Set API key export OPENAI_API_KEY="sk-..." # Playbook config: language_model: location: cloud provider: openai model: gpt-4o
# Set API key export ANTHROPIC_API_KEY="sk-ant-..." # Playbook config: language_model: location: cloud provider: anthropic model: claude-sonnet-4-5
If you want the simplest API and fast prototyping
If you need multiple agents working together
If you need complex planning and LangGraph workflows