Skip to content

Examples

This guide provides ready-to-use configuration templates for common deployment scenarios.

File: anthropic-basic.yaml

server:
port: 3000
host: "0.0.0.0"
llm:
base_url: "https://api.anthropic.com"
type: "anthropic"
timeout: 30
max_retries: 3
interceptors:
- type: "cylestio_trace"
enabled: true
config:
api_url: "http://localhost:8000"
access_key: "${CYLESTIO_ACCESS_KEY}"
timeout: 10
logging:
level: "INFO"
format: "text"

Coming Soon

You can add one of the provided interceptors to debug events locally.

Each session will be saved to disk in a .JSONL (JSON-Lines) format.

interceptors:
- type: "event_recorder"
enabled: true
config:
output_dir: "/tmp/load_test_events"
file_format: "jsonl"
pretty_print: false
include_metadata: false
interceptors:
# Maximum verbosity
- type: "printer"
enabled: true
config:
log_requests: true
log_responses: true
log_body: true # Full content logging
show_sessions: true
show_llm_calls: true
show_tools: true

You can use environment variables to make your configuration portable

# For use with docker-compose
server:
port: 3000
host: "0.0.0.0"
llm:
base_url: "${LLM_BASE_URL}"
type: "${LLM_TYPE}"
api_key: "${LLM_API_KEY}"
timeout: 30
logging:
level: "${LOG_LEVEL:-INFO}"
format: "json"