Skip to content

Quick Start

This guide is the shortest path from zero to a working agent as a tenant administrator. Whiskers has two UIs: setup and management steps (1-5 and 7) happen in the admin panel, running (6) happens in the chat console. To call an agent from your own application, see Public API.

Prerequisite

Your Whiskers account (tenant) must be provisioned and you must hold the tenant administrator role. For installation/operations, talk to your platform administrator.

1. Connect an LLM provider

Under LLM → Providers → New Provider, pick the provider type (Azure OpenAI, Anthropic, AWS Bedrock, Google Vertex, Ollama, vLLM, OpenAI-compatible) and enter the credentials. API keys are stored encrypted at the application level. Verify with Test connection on the provider detail page (you will be asked for a model name to test).

API version on Azure OpenAI: a new provider defaults to 2025-04-01-preview. Agents that use tools (for example a planning orchestrator) need at least 2025-03-01-preview; on an older version text requests work but requests with tools fail. The connection test sends a request with a tool, so it catches this; providers on an older version also appear on the Configuration health screen under "Azure API version".

2. Define model aliases

Agents use aliases, not concrete model names. Under LLM → Model Aliases, define for example:

Alias Target Use
default-fast azure-openai / gpt-4o-mini Day-to-day work, low cost
default-deep anthropic / claude-opus Deep reasoning
embedding azure-openai / text-embedding-3-small Knowledge bases (RAG)

You can attach a fallback chain to an alias: during provider outages or rate limits, requests automatically flow to the next target in the chain — in both blocking and streaming responses, while the connection is being opened.

If a chain step's condition is "quota exceeded", you must also pick a target alias. The reason: quotas are keyed by alias, not by provider — switching providers inside the same alias does not relieve an exhausted quota. Pick a local alias (Ollama/vLLM) as the target and that traffic is never hard-blocked, only counted.

When an answer is produced by a fallback model the user sees a badge in the chat ("A fallback model wrote this answer: …"). API consumers get the same information in the response's model_fallback field.

3. (Optional) Set a quota policy

Under Quota → Quota Policies → New Policy, set monthly/daily token limits per tenant, agent, user, group or model. Choose the overflow behavior: Block, Warn (continue), Throttle or Fall back to model. Details: Quota and Quota Requests.

Fallback usage is written to the model that ran

When a call falls back to another model because of a provider outage, the tokens spent in the model quota are written to the alias of the model that actually ran and taken off the requested alias. This way the quota of a model that never ran is not used up, and making a model a fallback target is not a way to bypass its own ceiling. Tenant, agent and user quotas count the consumption in every case.

4. Create an agent

Agents → New Agent:

  1. Pick a template — for a first agent, Simple Agent (single prompt → answer) is ideal.
  2. Fill in the form:
  3. Name: "Marketing Assistant"
  4. System prompt: the agent's role/tone/boundaries
  5. Model alias: default-fast
  6. (For the REACT template) Tools: registered tools the agent may call
  7. Save — the agent is created in draft; edit as much as you like.

5. Grant access and publish

On the agent detail's Access tab, choose which groups/users may run this agent, then hit Publish. Publishing snapshots the configuration as a version — later edits won't affect users until the next publish.

The access list grants the right to run only, not to edit. The agent's creator and the tenant administrator can edit, publish, change the access list and the knowledge bases. The "public within tenant" flag also grants the right to run only. For a team lead who must also edit other people's agents, create a role with the agent:update_all permission — see Roles and Access. An agent team (orchestrator / workflow) may only include agents you can run yourself as workers.

6. Run it

In the chat console, pick the agent from the catalog and send a message. The answer streams token-by-token; multi-turn conversation history is carried automatically. Each run's step breakdown (LLM calls, tool usage) and the duration of each step are visible in the run detail on the agent detail's Executions tab in the admin panel. The Model calls table on the same screen shows each call's model, input/output tokens, duration, output tokens per second and finish reason — that is where "why did this run take so long" is answered. For team (orchestrator) runs, the workers' calls are on each worker's own run page.

7. (Optional) Expose it externally

To call the agent from your own application:

  1. Create a request on the agent detail's Exposure tab — once an authorized admin approves it, the agent becomes available on the Public API.
  2. Generate a key under Tenant → API Keys → New Key (the key and signing secret are shown only once); add the agent to the key's allowed list.
  3. Send the request:
curl -X POST "https://<whiskers-host>/api/public/v1/agents/marketing-assistant/invoke" \
  -H "Authorization: Bearer wsk_XXXX_YYYY" \
  -H "Content-Type: application/json" \
  -d '{"input_message": "Suggest 3 slogans for the new product launch"}'

More: Public API guide · MCP integration

Common pitfalls

  • "Agent is not published" — only published agents can run; publish the draft.
  • 403 on run — the user needs the agent:run permission AND must be covered by the agent's access list (both layers together).
  • Quota error (429) — the relevant dimension's limit is exhausted; raise it on the quota page or open an increase request.
  • 402 on a run (not 403) — this is not a permission problem but a license one. no_seat: the seat pool is full (release departed people's seats or grow the license); license_expired: the term and its grace period have ended. Details: System Limits → License limits.
  • Poor knowledge-base answer quality — check that an embedding alias is defined and the document is in the Ingested state (see Knowledge Bases).