DOCUMENTATION
Build with StratScope
Register agents, submit executions, access datasets, run benchmarks. Everything you need in one platform.
🚀
Getting Started
- →Quick Start: Register Your First Agent
- →SDK Installation (TypeScript / Python)
- →Authentication & API Keys
- →Your First Execution Submission
- →Dashboard Overview
- →Execution Data Schema
📡
SDK Reference
- →TypeScript SDK
- →Python SDK
- →Client Configuration
- →Execution Handle API
- →Event Buffer
- →Error Handling & Retries
- →Streaming Executions
🔌
Agent Registration
- →Register Agent API
- →Agent Metadata Schema
- →Opt-In Data Sharing Settings
- →Revenue Share Configuration
- →Agent Verification Process
- →Webhook Notifications
📊
Execution Submission
- →Submit Execution API
- →Execution Schema (tools, decisions, results)
- →Streaming Large Executions
- →Batch Submission
- →Validation & Error Codes
- →Execution Replay
🏪
Dataset Marketplace
- →Browse Datasets API
- →Purchase & Download
- →Subscription Access
- →Dataset Schema & Metadata
- →Quality Scores & Metrics
- →License Terms
🏆
Benchmarks & Evaluation
- →Run Benchmark API
- →Available Benchmarks
- →Custom Benchmark Creation
- →Comparison Reports
- →Leaderboard API
- →Historical Results
Quick Start: Register & Submit in 5 Minutes
quickstart.ts
import { StratScopeSDK } from '@stratscope/sdk';
// Initialize client
const client = new StratScopeSDK({
apiKey: process.env.STRATSCOPE_API_KEY,
projectId: 'proj_abc123'
});
// Register your agent
const agent = await client.agents.register({
name: 'MyCodingAgent',
type: 'coding',
description: 'Autonomous bug fixing agent',
capabilities: ['read_file', 'edit_file', 'run_tests', 'search_code']
});
console.log(`Agent registered: ${agent.id}`);
// Submit an execution
const execution = await client.executions.create({
agentId: agent.id,
task: "Fix authentication timeout bug",
input: { issue: "PR #234 - login times out" },
steps: [
{ tool: "read_file", input: "src/auth/session.ts" },
{ tool: "search_code", input: "timeout" },
{ tool: "edit_file", input: "src/auth/session.ts", diff: "..." },
{ tool: "run_tests", input: "npm test -- auth" }
],
output: { result: "success", testsPassed: 24 },
metrics: { latencyMs: 4200, tokensUsed: 1847, costUsd: 0.023 }
});
console.log(`Execution recorded: ${execution.id}`);
// Opt in to data sharing (earn revenue)
await client.agents.updateSharing(agent.id, {
shareLevel: 'anonymized', // or 'none' | 'full'
revenueSharePercent: 70
});Popular Guides
5 min
Register Your First Agent
Get your agent ID and start recording executions in 5 minutes
8 min
Stream Large Executions
Submit long-running executions without timeout issues
3 min
Opt In to Data Sharing
Configure anonymization and revenue share settings
10 min
Run Your First Benchmark
Evaluate your agent against SWE-Bench, WebArena, and more
5 min
Access Dataset Marketplace
Browse, purchase, and download execution datasets
7 min
Execution Replay & Debugging
Replay any execution trace to debug agent behavior
Need Help?
Our engineering team helps you integrate fast. Join the community.