Skip to main content
Tired of repeating context to the base AI model, manually pasting internal documents, and re-stating answer formats every time? An Agent bundles a Knowledge Base + Tool + Guardrail + System Prompt together to create a per-department-optimized AI assistant.
In one line — bundle a system prompt + knowledge base + tools + guardrails into a task-specific AI tailored per team.
  • When does it fit? When the same context repeats turn after turn, or when answer format and internal-source citations must stay consistent
  • How long to build? A minimal prompt-only agent takes ~5 min · a full setup with KB, tools, and guardrails is closer to 30 min
  • What about cost? Each response adds KB retrieval and tool routing on top of the base model, so token usage is higher — for casual questions, the base model is cheaper
  • Is this the right tool? If branching and loops dominate, look at Flows. If you only need one or two tools, Tools alone may be enough

Example

“Show me this month’s sales status”
StateBehaviorResult
Base modelGuesses from general AI knowledge”I cannot access sales data”
Agent (DB + KB connected)Queries the sales DB + applies report formatAccurate sales data + tabular response
Agent list

Agent Processing Pipeline

The agent receives a user question and generates a response through this pipeline. A guardrail validates the input, the Knowledge Base retrieves related documents, tools (API, DB) are invoked when needed, and the LLM produces the final response.

Which Should You Use?

Agent, Base Model, and Flow look similar but fit different situations.

Base Model

When — One-off questions, free-form answers, general knowledge.Casual prompts like “what does this code mean?” or “what’s today’s FX rate” are fastest and cheapest here. No KB retrieval or tool routing means lower token usage.

Agent

When — Repeated KB citations, fixed tone or format, guardrails required.HR policy Q&A, code reviewers, data analysts — the pattern of letting the LLM decide which KB to cite and which tool to call.

Flow

When — Branching, loops, or external API chains dominate.Form input → automated processing → notification, multi-step approvals, and similar automation. You specify the decision flow as nodes, so behavior is predictable.
When in doubt, start with an Agent. If it feels like overkill for simple questions, drop down to the base model; if you find yourself wanting if/else branches, move it to a Flow. You don’t have to pick the right one on the first try.

Creating an Agent

1

Enter basic info

Click Workspace > Agents > ”+ New Agent” and fill in basic info.
Agent basic info
FieldDescriptionExample
NameAgent display name”Marketing Assistant”
DescriptionWhat the agent does”Marketing content creation and analysis support”
Profile imageAgent iconMarketing-related image
TagsClassification tagsmarketing, content
2

Pick the base model

Choose the AI model the agent will use. Pick from the model list registered by the admin.
3

Write the prompts

Define the agent’s role, persona, and response rules.
FieldDescription
Task PromptDefines the agent’s role, persona, restrictions, and concrete task instructions. Plays the role of the general system prompt.
Response Format PromptSpecifies the response format and structure (markdown, table, etc.). Separated from the task prompt so format can be managed independently.
Click the AI auto-generate button next to each prompt field — it analyzes the agent’s name, description, and connected resources to draft the prompt automatically.
During AI auto-generation, technical instructions (tool usage, SQL writing rules, etc.) are automatically excluded. The platform handles those — the prompt only contains role, persona, and restrictions.
Task prompt input
You are Cloocus's marketing assistant.

## Role
- Support marketing content creation
- Draft social media posts
- Analyze marketing data

## Response Rules
- Always respond in Korean
- Maintain a professional yet friendly tone
- Provide data-driven insights
- Comply with brand guidelines

## Restrictions
- Do not disparage competitors
- Do not use unverified statistics
The two prompts are used at different stages of agent execution.
Task PromptResponse Format Prompt
When appliedWhile the agent is using toolsWhen composing the final answer
Role”What to do” (role, restrictions)“How to answer” (markdown, tables, length)
IncludeRole definition, behavior rules, restrictionsOutput format, tone, structure
Don’t includeOutput format specsRole definition, behavior rules
Separating them lets you change just the output format while keeping the role, or vice versa.
4

Configure prompt suggestions (optional)

Set conversation-starter suggestions shown when an agent is selected in chat.
OptionDescription
DefaultUse system default suggestions
CustomSet agent-specific suggestions
Providing example questions matched to the agent’s purpose helps users start conversations quickly. Examples: “Summarize this month’s sales”, “Draft a social media post”
5

Connect Knowledge Bases

Attach documents the agent should reference.
  1. Click ”+ Add” in the “Knowledge Base” section
  2. Select Knowledge Bases to connect (multiple supported)
Connected Knowledge Bases are searched via RAG and used in answers, with citations.
Agent Knowledge Base connections
6

Connect databases (optional)

Connect a Database (DbSphere) for natural-language data queries (NL-to-SQL).
  1. Click ”+ Add” in the “Database” section
  2. Select databases (multiple supported)
Ask questions in natural language about the connected DB; the AI generates and runs SQL, returning results.
7

Connect glossaries (optional)

Connect a Glossary so the agent understands your organization’s business terminology.
  1. Click ”+ Add” in the “Glossary” section
  2. Select glossaries (multiple supported)
Term definitions, synonyms, and context registered in the glossary are reflected in agent responses.
8

Connect tools (optional)

Connect tools for external system integration. In the “Tool Connections” section, choose MCP servers or OpenAPI servers.
Tool TypeDescription
OpenAPI serverInteract with external services via REST API
MCP serverTool integration via Model Context Protocol
If a connected tool’s description is empty, a warning banner appears at the top of the editor. The tool description is the LLM’s primary cue for “when to call this tool”, so a missing description leads to incorrect calls or unused tools. When the banner appears, fill in the description from the tool definition.
9

Capability settings (optional)

Configure advanced features the agent can use. Each capability has 3 states.
StateDescription
DisabledThe capability is completely hidden in chat (default)
Default OnAuto-enabled at chat start, user can turn off
Default OffVisible in chat, but user must turn it on
CapabilityDescription
Web SearchReal-time web search for up-to-date info. Configurable result count and domain filter
Image GenerationAI image generation engine integration. Pick which connection to use
Code InterpreterRun Python code for calculations and data analysis
Agent capability settings
10

Response format (optional)

Constrain the agent’s response to a structured JSON format.
ModeDescription
ChatDefault freeform text response
StructuredStructured response per JSON Schema (Structured Output)
In Structured mode, define the response schema with the visual field builder or the raw JSON editor.
Response format settings
11

Guardrail settings (optional)

Attach security guardrails to validate I/O.
  • Auto-detect and mask PII
  • Custom pattern filtering
  • Block prohibited words
  • LLM-based content validation
12

Auto-evaluation settings (optional)

Automatically monitor response quality.
SettingDescription
Sampling rateShare of responses to evaluate (1%–100%)
Evaluation typeChoose from retrieval quality, faithfulness, response quality
Judge modelLLM to use for evaluation
TypeDescription
Retrieval QualityRelevance of documents retrieved from the Knowledge Base
FaithfulnessWhether the response is faithful to retrieved content (no hallucination)
Response QualityOverall quality, usefulness, and accuracy of the response
Sampling-rate guidance:
SituationRecommendedReason
New agent (validation phase)50–100%Need initial quality picture
Stabilized agent5–10%Save costs while monitoring
Critical-business agent20–30%Continuous quality assurance needed
Retrieval Quality and Faithfulness evaluations only run when there are Knowledge Base search results. For agents without a KB, choose Response Quality only.
Auto-evaluation settings
13

Access permissions

Set who can use the agent.
OptionDescription
PublicAvailable to all users
PrivateAvailable only to you
Group/OrganizationAvailable to specified groups or organizations
Access control settings
14

Save

Click Save to create the agent.

Using Agents

Select in Chat

In the model selector dropdown at the top of the chat, pick an agent. Agents appear in the list alongside regular models.

Invoke with @

Call a specific agent in chat with @agent-name.
@MarketingAssistant Draft 5 social posts for this month's promotion

Agent Management

ActionDescription
Activate / DeactivateToggle on the agent card to enable/disable. Inactive agents can’t be selected in chat
EditModify settings via the edit button or “more” menu on the agent card
CloneQuickly create a new agent by copying an existing one
Export / ImportBack up and migrate agent settings between environments via JSON
DeletePermanently delete the agent (no recovery)
Use export/import to move agents created in a development environment over to production.

Real-World Scenarios

Concrete situations from operations and how to configure for them — use these as a starting point if your case is similar.
Situation: HR fields the same questions about leave, benefits, and employment policy. Answers need to cite the specific policy article to be trusted.Configuration:
FieldValue
Base modelGPT-4o-mini (low cost, sufficient for fact-based answers)
Knowledge BaseHR policy, benefits guide PDFs
System prompt”HR specialist. Always cite the article number at the end. Never speculate”
GuardrailOutput PII masking (block employee identifiers)
PermissionsPrivate / Read access for company-wide group
Build sequence: Create KB → upload PDFs → create Agent → connect KB → write system prompt → attach guardrail → publish to orgCommon pitfalls:
  • Stuffing too many docs in one KB hurts retrieval accuracy → keep HR domain separate
  • Without explicit “cite source” instruction, the LLM hallucinates → bake into system prompt
Situation: Each team has different coding rules (naming, error handling, lint), and new hires keep asking on Slack.Configuration:
FieldValue
Base modelClaude Sonnet 4.x (strong code-context understanding)
Knowledge BaseCoding guidelines wiki, API reference
System prompt”Tag review items as [Improvement] / [OK] / [Question]. Cite guideline section”
ToolsNone (direct codebase access belongs in a separate MCP server)
Build sequence: Organize guidelines into a KB → create Agent → assign @code-reviewer handle → invoke in chat with @code-reviewer review this functionCommon pitfalls:
  • Outdated guidelines → set a KB sync cadence
  • Pasting whole files explodes token cost → guide users toward function-level review
Situation: Non-technical users want answers like “TOP 5 sellers this month” without bothering BI for SQL.Configuration:
FieldValue
Base modelGPT-4o (stable for SQL generation and tabular rendering)
DatabaseSales DB attached via DbSphere
Knowledge BaseData dictionary (table/column meanings)
System prompt”Render query results as a table. Cite the source table name”
GuardrailBlock SQL injection input patterns
Build sequence: Register DB in DbSphere + extract schema → write data dictionary KB → create Agent → connect DB and KBCommon pitfalls:
  • Skipping schema extraction makes the LLM guess column names → bad SQL
  • Full-table SELECTs blow up costs → enforce LIMIT in the system prompt
  • For sensitive columns (e.g., salary), use column-level blocking on the DB connection
Situation: Embed a chatbot on the product site so anonymous visitors can ask FAQs — but no internal information must leak.Configuration:
FieldValue
Base modelGPT-4o-mini (low-cost, handles external traffic)
Knowledge BasePublic FAQ and product manual only (no internal docs)
System prompt”Never speculate about internal info or pricing. If unsure, ask the visitor to contact a human”
GuardrailBlock PII / internal codenames / unreleased pricing in output
Embed widgetGuest mode ON, side-bottom placement
Build sequence: Split a public-only KB → write guardrail policies → create Agent (public visibility) → select this agent in Embed Widget settings → enable guest modeCommon pitfalls:
  • Mixing internal and public KBs leaks internal info → separate at the KB level
  • Guardrails validate output, KB separation isolates information — you need both
Situation: Summarize weekly meeting notes for Slack. No KB or tools needed — just text shaping.Configuration:
FieldValue
Base modelClaude Sonnet 4.x
Knowledge BaseNone
System prompt”Given meeting notes, output: 1) Decisions 2) Action items (owner / due) 3) Next agenda”
ToolsNone
Build sequence: Create Agent → write system prompt only → paste notes in chatWhen this is enough: When you only want to bundle “prompt + model” without KB/tools/guardrails. 5 minutes to build. If even simpler, the Prompts feature may be all you need.

Best Practices

Prompt Writing

  1. Define the role clearly — “You are a content specialist on Cloocus’s marketing team”
  2. Provide concrete instructions — response language, length, citation rules, etc.
  3. Set restrictions — no competitor disparagement, no PII exposure, etc.

Knowledge Base Connection

  • Connect only relevant documents: Too many documents actually degrade retrieval accuracy
  • Keep documents up-to-date: Refresh stale information regularly
  • Write tool descriptions: Detailed tool descriptions for Knowledge Bases improve agent KB selection accuracy

Access Permissions

  • Principle of least privilege: Grant access only to those who need it
  • Manage by group/organization: More efficient than per-user assignment
  • Review periodically: Check permission settings on a regular cadence

FAQ

Agents add Knowledge Bases, Tools, system prompts, and Guardrails to a base model, optimizing it for a specific task. Use the base model for general-purpose chat and agents for task-specialized chat.
Yes — connect multiple Knowledge Bases and databases at once. The agent automatically picks the appropriate resource based on the question. Writing a detailed Tool Description for each Knowledge Base improves selection accuracy.
Check the agent’s capability settings:
  • Disabled: The capability is completely hidden in chat
  • Default Off: User must turn it on in the chat input
  • Default On: Auto-enabled. If still not working, check admin settings (web search/image generation connections)
Code Interpreter requires both the agent setting and the user toggle in chat to be on.
Yes — view per-agent usage, token consumption, and auto-evaluation results in the monitoring dashboard.
Yes — use Export to download the JSON, then Import in the other environment. Note: connected Knowledge Bases, tools, and guardrails must be set up separately in the target environment.
Yes — click More menu > Hide on the agent card to hide it from the chat model selector. The agent isn’t deleted and can be unhidden.

Knowledge Base

Document-based knowledge stores you can attach to agents

Guardrails

Validate agent I/O for security

Tools

OpenAPI / MCP external service integration