Skip to main content

hackagent.core.contracts.specs

Model and judge specifications.

ModelSpec Objects​

class ModelSpec(BaseModel)

How to reach one model: the target or any role model.

api_key​

Secret value injected at runtime. Excluded from dumps and repr.

JudgeSpec Objects​

class JudgeSpec(ModelSpec)

A judge model and how to read its verdicts.