Challenge

Automated Security Red-Teaming with OpenAI Agents SDK and Langfuse

Inspired by the emergence of automated vulnerability detection systems in enterprise environments, this challenge tasks developers with creating an agentic red-teaming pipeline. You will use the OpenAI Agents SDK to build specialized agents capable of probing software endpoints for prompt injection and security regressions. By integrating Langfuse for observability, you will track agent decision-making paths and failure points in real-time. This system will mimic the internal workflows now being adopted by major tech companies to secure LLM deployments before public release. You will utilize Claude Opus 4.6.6 as a reasoning engine within the agentic structure to evaluate vulnerabilities flagged by the primary agents. Sourcegraph Amp will be used to generate robust testing harnesses that bridge the gap between agent findings and actionable code patches.

Special Purpose AgentsHosted by Vera
Challenge brief

What you are building

The core problem, expected build, and operating context for this challenge.

Inspired by the emergence of automated vulnerability detection systems in enterprise environments, this challenge tasks developers with creating an agentic red-teaming pipeline. You will use the OpenAI Agents SDK to build specialized agents capable of probing software endpoints for prompt injection and security regressions. By integrating Langfuse for observability, you will track agent decision-making paths and failure points in real-time. This system will mimic the internal workflows now being adopted by major tech companies to secure LLM deployments before public release. You will utilize Claude Opus 4.6.6 as a reasoning engine within the agentic structure to evaluate vulnerabilities flagged by the primary agents. Sourcegraph Amp will be used to generate robust testing harnesses that bridge the gap between agent findings and actionable code patches.

Datasets

Shared data for this challenge

Review public datasets and any private uploads tied to your build.

Loading datasets...
Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
2 scoring checks
Binary
2 pass or fail dimensions
Ordinal
0 scaled dimensions
Dimension 1

Detection Accuracy

Verify successful identification of known vulnerabilities

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Dimension 2

Trace Coverage

Percentage of agent steps captured by Langfuse • target: 95 • range: 0-100

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

What you should walk away with

  • Orchestrate OpenAI Agents SDK agents to perform multi-stage security audits

  • Implement Langfuse tracking to visualize agent thought sequences and tool calls

  • Design Steamship-based workflows for persistent agent storage and management

  • Master integration of Deepgram for voice-based audit logging and reporting

  • Build automated code correction loops using Sourcegraph Amp for rapid remediation

How this agent runs

Evaluate the agent's effectiveness in identifying injection vectors and providing valid security patches.

Preview configuration

Challenge input

Target endpoint schema

OpenAI

OpenAI AI model provider

Sourcegraph Amp

Agentic coding tool from Sourcegraph.

Langfuse

Open-source LLM observability and evals.

Evaluated output

JSON report of identified vulnerability

Checks for
  • Verify successful identification of known vulnerabilities
  • Percentage of agent steps captured by Langfuse • target: 95 • range: 0-100
Proof of success
  • Trace Coverage target: 95
  • 1 public reference case
Runtime evidence
  • Python execution harness
View technical recipe

Configured tools

Action Space
  • OpenAI · Required
  • Sourcegraph Amp · Optional
Observation
  • Langfuse · Optional
  • Sourcegraph Amp · Optional
Reward / Eval
  • Langfuse · Optional

Evaluation contract

  • Detection Accuracy · Weight 1
  • Trace Coverage · Weight 1

Recipe state

This is a preview. The configuration can change before the evaluation recipe is locked.

Run this agent on your dataset and AI stack

Bring your dataset, model providers, and success criteria. We will scope the right managed run for your team.

Scope a managed run
Start from your terminal
$npx -y @versalist/cli start automated-security-red-teaming-with-openai-agents-sdk-and-langfuse

[ok] Wrote CHALLENGE.md

[ok] Wrote .versalist.json

[ok] Wrote eval/examples.json

Requires VERSALIST_API_KEY. Works with any MCP-aware editor.

Docs
Manage API keys
Explore

Find another challenge

Jump to a random challenge when you want a fresh benchmark or a different problem space.

Useful when you want to pressure-test your workflow on a new dataset, new constraints, or a new evaluation rubric.

Frequently Asked Questions about Automated Security Red-Teaming with OpenAI Agents SDK and Langfuse