Skip to main content

Crate agent_evaluate_contract

Crate agent_evaluate_contract 

Source
Expand description

HTTP API contract for the Evaluate service.

This service provides a programmatic interface for running agent evaluation cases, collecting metrics, and producing reports. The eval harness replays predefined conversation turns against an agent runtime instance and judges outcomes against oracles.

§Layering

agent-evaluate-contract   paths + DTOs        (this crate)
agent-evaluate-runtime    eval runner + judge
agent-evaluate-server     router + auth + bin

Structs§

ApiError
Error body shared by every non-2xx response.
AssertionVerdict
CancelRunRequest
CaseOutcomeDiff
CaseRunPage
CaseRunSummary
ClaimReviewRequest
CompareReportsRequest
CompleteReviewRequest
CreateEvalRunRequest
EnqueueReviewRequest
EvalAccessScope
EvalBudget
EvalCase
EvalCaseFile
EvalCaseResult
EvalCaseSummary
EvalOperation
EvalOracle
EvalReport
EvalSuiteVersion
EvalTurn
EvidenceRef
Immutable evidence object owned by the scoped Evaluate namespace.
ExperimentVariant
GetCaseRequest
GetOperationRequest
GetReportRequest
HumanReview
ListCaseRunsRequest
ListCasesRequest
ListCasesResponse
LoadCasesRequest
OracleVerdict
OutcomeAssertionSpec
Strictly parsed compatibility schema for outcomeAssertions.
PluginEvaluationEvidence
RegisterSuiteRequest
ReportComparison
RunEvalRequest
SandboxExecutionEvidence
Bounded evidence returned by the isolated executor. Verdict calculation remains owned by Evaluate and is deterministic from this typed structure.
SandboxExecutionRequest
TurnAssertionSpec
VerifyCommand
VerifyCommandResult
VersionedEvalCase
WorkspaceFileAssertionSpec

Enums§

CaseFailureKind
CaseRunState
OperationState
ReviewState
TypedAssertion
Versioned typed assertion schema used by durable suites. The legacy Value fields on EvalCase remain only for v1 wire compatibility.

Constants§

AUDIENCE
CANCEL_RUN_PATH
CLAIM_REVIEW_PATH
COMPARE_REPORTS_PATH
COMPLETE_REVIEW_PATH
DEFAULT_PORT
DURABLE_REPORT_PATH
GET_CASE_PATH
GET_REPORT_PATH
HEALTH_PATH
LIST_CASES_PATH
LOAD_CASES_PATH
MAX_RESOURCE_ID_CHARS
OPERATIONS_PATH
REVIEW_QUEUE_PATH
RUNS_PATH
RUN_CASES_PATH
RUN_EVAL_PATH
SERVICE_NAME
SERVICE_TOKEN_ENV
SUITES_PATH