Skip to content

Werker Auto Agent

werker-auto-agent intelligently routes each request to the top-performing model (OpenAI, Anthropic, Gemini, or Werker proprietary) based on task, modality, and compliance requirements. It is powered by Werker’s proprietary pre-trained SOTA ensemble and never trains on your PHI.

Capabilities

  • Evaluates task metadata, prompt structure, and desired outputs to select the optimal model.
  • Applies Werker’s two-way PHI scrubbing and immutable logging automatically.
  • Balances latency, cost, and quality in real time across Werker’s HIPAA-approved providers.

Sample Usage

python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.werker.health/v1",
    api_key="WERKER_HEALTH_API_KEY",
)

result = client.responses.create(
    model="werker-auto-agent",
    input=[
        {"role": "system", "content": "Select the best model for each task automatically."},
        {"role": "user", "content": "Summarize this discharge note and recommend follow-up steps."}
    ],
    metadata={"request_id": "auto-demo-001"},
)

print(result.output_text)
ts
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.werker.health/v1",
  apiKey: "WERKER_HEALTH_API_KEY",
});

const result = await client.responses.create({
  model: "werker-auto-agent",
  input: [
    { role: "system", content: "Select the best model for each task automatically." },
    { role: "user", content: "Summarize this discharge note and recommend follow-up steps." }
  ],
  metadata: { request_id: "auto-demo-001" },
});

console.log(result.output_text);

Best For

  • Teams that want Werker to orchestrate routing across multiple model vendors.
  • Workflows requiring dynamic trade-offs between quality, latency, and cost.
  • Healthcare applications needing guaranteed PHI protection regardless of model choice.