agentskit.js
Use Cases

Support agent

Build a customer support agent with chat UI, tools, memory, escalation, and production guardrails.

A support agent is one of the clearest “full ecosystem” builds in AgentsKit. You usually need:

  • a chat UI
  • tools for ticketing, CRM, and knowledge lookup
  • memory for ongoing customer context
  • approval or escalation for risky actions
  • observability and auditability in production

Typical stack

npm install @agentskit/react @agentskit/adapters @agentskit/runtime @agentskit/tools @agentskit/memory @agentskit/observability
LayerPackageWhy it matters
UI@agentskit/reactCustomer-facing chat surface with headless components
Provider@agentskit/adaptersSwap model vendors without rewriting the app
Runtime@agentskit/runtimeMulti-step reasoning, tool calling, retries
Tools@agentskit/toolsCRM, helpdesk, email, browser, MCP
Memory@agentskit/memoryPersistent customer context across sessions
Ops@agentskit/observabilityTrace runs, inspect failures, keep audit trails

What the architecture usually looks like

  1. The user starts in a React chat.
  2. The runtime decides whether to answer directly or use tools.
  3. Tools fetch customer records, open tickets, or query knowledge bases.
  4. Memory stores prior context, preferences, and recent resolution history.
  5. Observability records the run for debugging, review, and compliance.

Good defaults

  • Start with a conservative support skill and clear tool descriptions.
  • Keep write actions confirmation-gated.
  • Persist memory by customer or conversation id.
  • Add audit logging before enabling actions like refunds, account changes, or outbound messages.

Best follow-up guides

When AgentsKit is especially strong here

AgentsKit works well for support agents when you want the same contracts across UI, tool calls, and operations. That makes it much easier to evolve from “chatbot” into “customer-facing agent with real actions” without replacing half the stack.

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page