Skip to content

Showcase agents / Support / Refund

CX / refund teams

Support / Refund

What problem? Support agents juggle order lookup, policy checks, and payment actions across tools — with no unified view of cost, latency, or quality drift per intent.

Reference CX workload: order lookup → policy check → refund or replace → CRM notify. Proves the full Inferix loop from first ticket to promoted prompt.

tenant: agent-ecosystemport :9101scenario: happy_refund
Inferix console view for Support / Refund

What Inferix observes

Every run dual-writes to LensAI and TraceForge. Switch to this tenant in the console to see live KPIs.

  • LensAI — cost, latency, and tokens by intent (refund_request, exchange, …)
  • TraceForge — tool waterfall with required-step misses
  • DriftWatch — intent-slice quality vs golden set
  • RouteIQ — cheap SLM vs teacher model routing

Tools & models

Real SQLite backends, not mocked HTTP stubs.

  • shop.get_order
  • policy.check_refund
  • payments.refund
  • payments.replace
  • crm.notify
  • knowledge.search_faq

Model routing

  • slm-support-v* (primary)
  • general-llm-v* (mid)
  • Claude (hard cases)

Try it

Start the stack, then run the golden scenario. Traffic appears in the console within seconds.

1. Start stack + agents

cd inferix && ./run-inferix.sh --full --agents

2. Golden scenario

curl -s -X POST http://localhost:9101/scenarios/happy_refund | jq

Expect HTTP 200 with JSON status and tool steps. Traces appear under this tenant in ~10s.

Custom run (optional)

curl -s -X POST http://localhost:9101/run \
  -H 'Content-Type: application/json' \
  -d '{"intent":"refund_request","order_id":"ORD-1001","message":"Item arrived damaged"}' | jq

3. All agents at once

cd inferix && ./scripts/generate-agent-traffic.sh

Expected: JSON with status and tool steps. Then open the tenant console and filter traces by agent-ecosystem. In-browser runner stays deferred — curl is the verified path.

Console: /console/overview?tenant_id=agent-ecosystem · API traces: GET /v1/traces?tenant_id=agent-ecosystem

See all seven agents in the console

Multi-tenant super-dashboard. Filter by tenant, drill into traces and costs.