Develop an OpenAI Agents SDK Runway Optimization Agent with Pydantic AI
Fintech start-ups face severe funding constraints requiring rigorous financial burn optimization. Build an autonomous agent using OpenAI Agents SDK alongside Pydantic AI validation to analyze corporate spending, project cash runway, and flag operational anomalies with 98% schema compliance.
What you are building
The core problem, expected build, and operating context for this challenge.
Utilize OpenAI Agents SDK with Pydantic AI type-safe schemas to construct an automated cash runway and expenditure analysis pipeline.
How work is evaluated
Measures runway projection accuracy and expense flag precision against historical fintech ledger baselines.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
schema_validation_test
Output must conform 100% to Pydantic AI output schemas.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
runway_error_margin
Absolute percentage error on predicted runway months. • target: 0.01 • range: 0-0.05
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Construct structured financial agents using OpenAI Agents SDK
Enforce dynamic output validation with Pydantic AI models
Implement anomaly detection across recurring SaaS and operational expenses
Generate automated cost-reduction strategies based on burn rate metrics
Reference links and supporting material
Fintech cash flow dataset detailing monthly burn rates, SaaS subscriptions, and operational expenses.
Challenge setup
Measures runway projection accuracy and expense flag precision against historical fintech ledger baselines.
Challenge input
CSV payload containing 12-month corporate expenditures
OpenAI Agents SDK
Provides fast multi-turn execution and tool usage.
Pydantic AI
Guarantees strict type safety for agent outputs.
Evaluated output
JSON payload containing projected runway months and flag array
- Output must conform 100% to Pydantic AI output schemas.
- Absolute percentage error on predicted runway months. • target: 0.01 • range: 0-0.05
- Benchmark: Financial Modeling Benchmark v1
- Runway Error Margin target: 0.01
- 1 public reference case
- Python execution harness
- Python sandbox (unavailable on Versalist)
Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.
View technical recipe
Configured tools
- Pydantic AI · Required
- OpenAI · Optional
- Azure OpenAI Service · Optional
- Pydantic AI · Required
Evaluation contract
- schema_validation_test · Weight 1
- runway_error_margin · Weight 1
Metrics
- runway_error_margin · Target 0.01
Benchmarks
- Financial Modeling Benchmark v1
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: CSV payload containing 12-month corporate expenditures
Output: JSON payload containing projected runway months and flag array
Execution harness: Python
Evaluation tools
- OpenAI Agents SDK · Agent Orchestrator
- Pydantic AI · Schema Validator
Recipe freeze marker
No recipe freeze time is recorded.