Skip to main content

hackagent.core.contracts.protocols

Protocols for callable models.

LLM Objects​

@runtime_checkable
class LLM(Protocol)

A callable model. Calls never raise for provider errors.

LLMFactory Objects​

@runtime_checkable
class LLMFactory(Protocol)

Builds the LLM for a role model.

CompletionModel Objects​

class CompletionModel(Protocol)

Minimal model capability used by domain-independent evaluation.