Sign inSign up

confidentai/confident-agent

By confidentai

•Updated 7 months ago

Confident Agent tunnels requests to internal endpoints via WebSocket relay.

Image
0

219

confidentai/confident-agent repository overview

⁠Confident Agent

A lightweight bridge agent that allows Confident AI's evaluation server to reach internal API endpoints behind firewalls, without opening inbound ports.

⁠How it works

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.

Supports HTTP Response, HTTP Streaming and SSE Streaming response modes.

⁠Quick Start

⁠Docker Container (CLI)
docker run -d \
  -e CONFIDENT_API_KEY=<your-api-key> \
  -e CONFIDENT_WS_BASE_URL=wss://deepeval.confident-ai.com/ws/relay \
  confidentai/confident-agent
⁠Docker Compose (compose.yaml)
services:
  confident-agent:
    image: confidentai/confident-agent
    restart: unless-stopped
    environment:
      - CONFIDENT_API_KEY=${CONFIDENT_API_KEY}
      - CONFIDENT_WS_BASE_URL=${CONFIDENT_WS_BASE_URL:-wss://deepeval.confident-ai.com/ws/relay}

⁠Requirements

  • Outbound internet access (WSS/443)
  • Network access to your internal API endpoint

Tag summary

Content type

Image

Digest

sha256:1f4ae9203…

Size

47.4 MB

Last updated

7 months ago

docker pull confidentai/confident-agent