LLM gateway
The HackAgent LLM gateway: chat completions from the HackAgent attacker and judge models, billed to the organization's credits.
The LLM gateway's OpenAI-compatible surface: point an OpenAI client at https://api.hackagent.dev/v1 with a HackAgent API key.
Create a chat completion
The HackAgent LLM gateway, in OpenAI's chat completions format: point an OpenAI client at `https://api.hackagent.dev/v1` with a HackAgent API key. `model` picks one of HackAgent's models (`GET /v1/models`): `hackagent/attacker-v1`, which writes adversarial prompts, or `hackagent/judge-v1`, which judges responses. The response names that model only, never the upstream one.
List gateway models
The models `POST /v1/chat/completions` serves, by the name its `model` field takes, in OpenAI's model list format. Free; accepts an API key or a login token.