Skip to content
Karyam

Agents

Agents are the primary intelligence layer of Karyam.

They are responsible for:

  • Understanding requests
  • Reasoning through problems
  • Using tools and skills
  • Interacting with external systems
  • Collaborating with other agents
  • Executing workflows
  • Producing responses

If AI Flows define how work moves, Agents define how decisions are made.


Traditional automation follows predefined rules.

Agents introduce reasoning and adaptability.

Instead of defining every possible path explicitly, agents can:

  • Understand intent
  • Decide which tools to use
  • Retrieve knowledge
  • Ask for clarification
  • Delegate work
  • Trigger workflows

This allows AI systems to operate in dynamic business environments.


Agents can be created from:

BUILD
└── Agents
└── Create Agent

Each agent consists of several configuration areas.


Basic information used to identify the agent.

The display name of the agent.

Examples:

  • IT Support Assistant
  • HR Assistant
  • Sales Copilot
  • Procurement Agent

A short explanation describing the purpose of the agent.

Example:

Handles employee VPN access requests and IT support tasks.

Agents require a language model for reasoning and execution.

Select the model that powers the agent.

Examples:

  • GPT-4o
  • Claude Sonnet
  • Gemini
  • Bedrock Models
  • Ollama Models

Controls how many reasoning steps an agent can perform during execution.

Range:

5 — 30

Higher values allow more complex reasoning but may increase latency and cost.


Controls creativity and response variability.

Value Behavior
0.0 Highly deterministic
0.5 Balanced
1.0 More creative

Caching can reduce latency and token consumption by reusing previously generated results.

Currently supported by:

  • Anthropic
  • Bedrock (Anthropic models only)
  • MiniMax

Unsupported providers ignore this setting automatically.


Agents become useful when they can perform actions.

Skills provide access to external systems and capabilities.

Examples:

  • PostgreSQL
  • Email
  • GitHub
  • SSH
  • Web Search

Agents can invoke tools exposed by MCP servers.

Examples:

  • Jira
  • Slack
  • Internal APIs
  • Custom business systems

Agents can delegate tasks to other specialized agents.

Examples:

Main Support Agent
├── HR Agent
├── Finance Agent
└── IT Agent

This enables multi-agent systems.


Agents can invoke AI Flows to execute structured business processes.

Examples:

  • Employee onboarding
  • VPN approval workflow
  • Expense reimbursement

Agents can support voice conversations by attaching a Speech-to-Text skill.

This allows users to interact with agents using spoken language instead of text.


System Instructions define the agent’s identity, responsibilities, constraints, and behavior.

They execute before every conversation and guide the model throughout the session.

Example:

You are an IT support assistant responsible for handling employee access requests.
Responsibilities:
- Verify employee identity.
- Retrieve company policies.
- Request approvals when required.
- Create support tickets.
Rules:
- Never bypass approvals.
- Always follow company policy.
- Escalate uncertain situations to humans.

System instructions are one of the most important parts of an agent’s design.


Agents can be accessed programmatically through the Karyam API.

Authentication uses Bearer tokens.

Authorization: Bearer <your_api_token>

Create a session before sending messages.

POST /api/v1/workspaces/{workspace_uuid}/agents/{agent_uuid}/sessions

The response contains a:

session_uuid

This session maintains conversation state and context.


Use the returned session UUID to continue the conversation.

POST /api/v1/workspaces/{workspace_uuid}/agents/{agent_uuid}/sessions/{session_uuid}/chat

Example request:

{
"message": "My VPN access has expired."
}

Agents can be embedded directly into websites using the Karyam Chat Widget.

This allows organizations to deploy AI assistants to customers, employees, or partners without building custom frontends.


The embedded widget supports:

  • Custom agent name
  • Custom description
  • Brand colors
  • Domain restrictions
  • Secure authentication

Embedded agents can be restricted to specific domains.

Example:

company.com
support.company.com
portal.company.com

Only approved domains are allowed to load the widget.


Available customization options include:

Option Purpose
agentName Widget header title
agentDescription Widget subtitle
primaryColor Widget branding color

Models
+
Skills
+
MCP Servers
+
AI Flows
↓
Agent
↓
Runs

Agents sit at the center of AI execution in Karyam.

They combine reasoning with actions.


Agents should not simply answer questions.

They should understand context, make decisions, and perform work.

This is what transforms AI from a chatbot into a business system.