Docs
Sign in

Agents

An agent is an AI worker you configure with a model, instructions, tools, knowledge and skills. You can test it as you build, then run it from a workflow, a graph or the list.

Screenshot to add: The Agent Studio page with the Agents and Data Connections tabs and a grid of agent cards.

The Agents list

Click Agents under APEX Studio in the menu (/studio/agents). The page is titled Agent Studio: "Create and manage AI agents powered by your models and tools." Click New Agent to create one.

There are two tabs: Agents and Data Connections (each shows a count).

Find an agent

  • Search agents… matches the name and description.
  • Status: All statuses, Active, Inactive or Draft.
  • Model: All models or one model used by your agents.
  • Visibility chips: Private, Public, Project.
  • Clear filters and a count such as "12 agents".

Agent cards

Each card shows the name, a visibility badge, a status badge, the description (or "No description provided."), the model and its provider, "N tools", the last run ("Never", "Just now", "5m ago") and the owner. Click a card to open it. Buttons on each card:

ButtonWhat it does
EditOpens the editor
CloneMakes a copy. Toast Agent cloned as "(name)".
RunOpens a window to run the agent once
DeleteAsks Delete Agent — Are you sure you want to delete "(name)"? This action cannot be undone. Toast "Agent deleted successfully."

Run an agent. In the Run window, type a prompt ("Enter your prompt…") and click Run Agent (⌘↵ also submits). It shows your input and the output (or "Error: …"), with New run and Close. If it fails: "Failed to run agent."

SituationYou see
No agents"No agents yet — Get started by creating your first AI agent."
Filters hide all"No agents match your filters"
It could not load"Failed to load agents. Please try refreshing the page."

Data Connections tab

Shows "N connection(s) configured" with Add Connection and Manage All. Cards show the type, the name and a test status. Types include PostgreSQL, MySQL, SQL Server, SQLite, MongoDB, BigQuery, Snowflake, Redshift, ClickHouse and DuckDB. Clicking anything opens the Data Connections page. Empty: "No data connections yet — Connect to databases to enable agents to query data directly."

Create or edit an agent

Click New Agent or Edit. The editor opens full screen (/studio/agents/new or /studio/agents/(id)). The header shows a back arrow, the name, a status badge, "• Unsaved" when needed, Save Draft and Publish. There are three tabs on the left (Configuration, Tools & KB, Advanced) and a Test panel on the right.

Saving.

  • A blank name stops both buttons: "Agent name is required before saving." and the Name field turns red.
  • Save Draft keeps the agent as a draft. Toast "Agent saved successfully."
  • Publish saves, then makes the agent active. Toast "Agent published and is now active."
  • Built-in sample agents cannot be edited. If you try, the editor copies the agent and saves your changes there: "Showcase agent forked — editing your own copy."
  • Only the owner or an administrator can edit an agent.

Configuration tab

FieldWhat to enter
Name (required)For example "Customer Support Agent"
DescriptionA short summary
VisibilityPersonal, Public or Project (with a project picker). Default Personal. "Who can discover and use this agent."
PersonaOptional identity that wraps the agent's prompt. "(inherit project default · or none)" is the default. Each option shows the name, archetype, tone and status. See Personas
System PromptThe agent's instructions. Click a chip to insert {{user_input}}, {{context}}, {{today}} or {{agent_name}}. Default text: "You are a helpful assistant." plus those placeholders
Model (required)A card for each model with its provider, context size and price. Below it, "Selected: … — context window N tokens"
TemperatureA slider from 0 to 2 (default 0.7). Lower is steadier, higher is more creative
Max Output Tokens1 to 128000 (default 2048)
Output FormatFreeform or JSON Schema
Reasoning Mode (Think)Switched on by default. Shows the model's reasoning for models that support it

Tools & KB tab

  • Tools. Search ("Search tools…") and tick the tools the agent may use. Each row shows the name, a category, a description and "Scope: read/execute…". Tools that need a project are greyed unless the agent's visibility is Project. Tools whose provider you have not connected say "Connect (provider) to use this tool" with a link to Connectors. Empty: "No tools match."
  • Skills. Search ("Search skills…") and attach skills. "N attached. Skills become available to the agent at runtime." Empty: "No skills available."
  • Knowledge Bases. Search and tick the knowledge bases the agent may read. Empty, auto-created project knowledge bases are hidden behind "Show N empty project knowledge base(s)". When at least one is ticked, Retrieval Settings appear: Top K (1 to 20, default 5, how many pieces to retrieve) and Min Relevance Score (0 to 1, default 0.70, lower scores are dropped).
  • Memory Collections. Tick collections the agent may recall from. Empty: "No memory collections yet. Create one in Memory →".

Advanced tab

FieldWhat it does
Routing PreferenceCost, Latency or Quality (default Quality)
Retry PolicyMax Retries (0 to 10, default 3) and Backoff Strategy (fixed or exponential)
Policy OverrideChoose a governance policy for this agent. Default "Use default policy"
Credential SourceUse User Keys (default, your keys from AI Model Keys) or Use Custom Keys (keys set on this agent; save the agent first)
Approval ModeHold for Approval (default; writes wait in Approvals) or Run Autonomously (writes run at once and are logged). "Destructive actions always require approval, regardless of this setting."
Structured Output SchemaA JSON schema, used when Output Format is JSON Schema
Support UsersPeople assigned to own the agent. Only they see its incidents
Secret BindingsMap stored credentials to environment variable names. Values are never shown in logs

The Test panel

The Test panel on the right lets you chat with the agent using your current, unsaved settings.

  • A strip shows the model and chips for KBs, tools and memory.
  • Empty: "Send a message to test your agent. The current (unsaved) config is used." Type in "Type a message… (Enter to send)". Shift+Enter adds a new line.
  • Replies stream in. You may see a "Plan, N steps" box, source chips (KB, Mem, Tool, Data), the formatted answer, and a line with the time, speed, tokens and cost ("$0.00000", "free" or "price not set").
  • Clear empties the conversation. A "Thinking…" indicator shows while it works, and errors show as "Error: …".
  • If you ticked a knowledge base you cannot read, the test fails and names it.

Long runs

An agent has no fixed step limit. When a run stops making progress or reaches a spend, token or time budget, it pauses and asks the owner to continue. A pause never loses work. Wall-clock time is limited to 9 minutes. See Executions for the Continue button.

Known gaps