The Confident Agent is a lightweight bridge agent that allows Confident AI’s evaluation server to reach internal API endpoints behind firewalls, without opening inbound ports. This is a feature available as part of AI Connections.
The agent connects outbound via WebSocket Secure (WSS) to Confident AI’s evaluation server and waits for work. When an evaluation runs, requests are forwarded through the WebSocket tunnel to your internal endpoint and responses are relayed back.
The Confident Agent supports the following response modes:
Run the agent as a Docker container:
Create a compose.yaml file:
Then start the agent:
Once the Confident Agent is running and connected, your AI Connections can target internal endpoints that are not publicly accessible. The agent transparently tunnels requests from Confident AI’s evaluation server to your internal endpoint—no changes to your AI Connection configuration are needed beyond pointing it to the internal URL.
The agent handles reconnection automatically. If the WebSocket connection drops, it will re-establish the tunnel without manual intervention.