> For the complete documentation index, see [llms.txt](https://docs.uptiq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uptiq.ai/academy/tier-2-core-skills/m03-agent-builder-fundamentals/lab-1-configure-agent-identity-and-instructions.md). Agents can also search and read this documentation through its [MCP server](https://docs.uptiq.ai/~gitbook/mcp).

# Lab 1: Configure agent identity and instructions

Hands-on lab for lesson 1 of module M03, configure agent identity and instructions.

{% @uptiq-training/training-labels content="Module 3 | brand
Lesson 1 of 8 | brand
Lab 1 | success
18 minutes | neutral
Bloom level Apply | neutral" %}

{% @uptiq-training/training-navigator title="M03 Agent Builder Fundamentals — Executor 1.4" content="Lesson 1: Configure agent identity and instructions | soon
Lab 1: Configure agent identity and instructions | current
Lesson 2: Configure agent behavior, runtime and skills | soon
Lab 2: Configure agent behavior, runtime and skills
Lesson 3: Configure knowledge, triggers, secrets and authentication | soon
Lab 3: Configure knowledge, triggers, secrets and authentication
Lesson 4: Guardrails for a financial workflow | soon
Lab 4: Guardrails for a financial workflow
Lesson 5: Knowledge check 1 | soon
Lesson 6: Test, validate and troubleshoot the agent | soon
Lab 6: Test, validate and troubleshoot the agent
Lesson 7: Export the agent bundle and configure access controls | soon
Lab 7: Export the agent bundle and configure access controls
Lesson 8: Apply financial skills to a configured agent | soon
Lab 8: Apply financial skills to a configured agent" %}

## Lab overview

**Exercise title:** Configure Agent Identity and Instructions

**Difficulty level:** Apply (Bloom Level 3 — you will perform the configuration, not just recognize it)

**Estimated hands-on time:** 18 minutes (approximately 12 minutes hands-on; 4 minutes concept video; 2 minutes review)

**What you will build:** A new the Uptiq Platform agent configured for a borrower onboarding use case, with a completed Basic Details screen (name, description, output format) and a completed Instructions screen (behavioral instructions written using the Best Practices structure).

### Prerequisites

* Access to the the Platform Console with Agent Builder enabled
* Your sandbox environment credentials (provided by your instructor)
* Completion of any module setup steps required to access Agent Builder

## Your sandbox environment

**Environment access URL:** `<provided by your instructor>`

### Connection details

| **Field**            | **Where to find it**                                                                 |
| -------------------- | ------------------------------------------------------------------------------------ |
| **Console URL**      | Provided by your instructor                                                          |
| **Username / email** | Provided by your instructor                                                          |
| **Password**         | Provided by your instructor                                                          |
| **Project name**     | Provided by your instructor — confirm you are in the correct project before starting |

### Pre-provisioned resources — no setup required

The following are already configured in your sandbox. You do not need to create or modify them before starting this lesson:

* A project with Agent Builder access enabled
* Executor 1.4 available in the tenant (required for later lessons; confirmed available in your sandbox)

{% hint style="info" %}
Agent Builder is reached at `/platform/agent-builder/<agentId>` once an agent exists. For this lesson, you will create the agent first from the Console landing screen, which generates the agent ID and opens Agent Builder automatically.
{% endhint %}

## Configuration template

This lesson covers two configuration screens: Basic Details and Instructions. Use the tables below as your reference while completing each screen.

### Basic Details — Field Reference

| **Field**               | **Your value**              | **Notes**                                                                                                                                                                               |
| ----------------------- | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Agent Avatar**        | *(leave as default)*        | Optional — skip for this exercise                                                                                                                                                       |
| **Agent Name**          | `Borrower Onboarding Agent` | Required. This is the display name shown throughout the platform.                                                                                                                       |
| **Agent Description**   | `<YOUR-VALUE>`              | Write an action-oriented description. See the Instructions section below for guidance.                                                                                                  |
| **Agent Output Format** | `Markdown`                  | **Do not change.** Markdown is required for any agent whose output is read by humans in a chat interface. Choosing Json here will cause responses to render as raw JSON in the chat UI. |

### Instructions — Best Practices Structure

Use the following structure when writing your agent's behavioral instructions. Open the Best Practices panel in the Instructions editor to see this structure in the platform.

| **Section**                  | **What to write for borrower onboarding**                                               |
| ---------------------------- | --------------------------------------------------------------------------------------- |
| **Objective / Goal**         | Collect and verify borrower documents for a loan application                            |
| **Inputs Required**          | Borrower name, loan type, supporting documents (ID, income verification, etc.)          |
| **Process / Steps**          | Classify documents → extract data → verify identity → push verified data to core system |
| **Outputs / Deliverables**   | Verification status, next steps for the borrower                                        |
| **Constraints / Rules**      | Do not proceed without KYC verification; escalate if documents are incomplete           |
| **Tone / Interaction Style** | *(optional)* Professional, clear, and reassuring                                        |
| **Additional Instructions**  | *(optional)* Any institution-specific rules or escalation paths                         |

{% hint style="warning" %}
Never paste API keys, passwords, or tokens into the Instructions editor. Store sensitive values in Secrets & Variables and reference them as `$secret.{name}`. Credentials pasted into instructions are exposed in plaintext and cannot be secured after the fact.
{% endhint %}

## Step-by-step instructions

{% stepper %}
{% step %}
**Create a New Agent**

**Open Agent Builder from the Console**

*Agent Builder landing screen showing the Create New Agent prompt with the description input field visible*

{% hint style="success" %}
**Checkpoint:** The "Create New Agent" prompt should be visible with a text field where you can describe your use case. If you see a list of existing agents instead, look for the + New Agent or Create New Agent button in the top-right area of the screen.
{% endhint %}

**Describe the Use Case and Build the Agent**

In the prompt field, enter a description of the borrower onboarding use case. For example:

> "A borrower onboarding agent that collects and verifies borrower documents, classifies them, extracts key data, verifies identity, and pushes verified information to the core banking system."

Select Build Agent.

The platform will draft an initial plan for your agent. Review the plan, then confirm to proceed.

{% hint style="info" %}
The description you enter here helps the platform generate a starting configuration. You will refine the name, description, and instructions in the next procedures — so a clear but rough description is sufficient at this stage.
{% endhint %}

{% hint style="success" %}
**Checkpoint:** After selecting Build Agent, Agent Builder should open with your new agent on the canvas. You should see the agent name in the canvas header and the Overview tab showing four cards: Triggers, Knowledge, Skills, and Integrations.
{% endhint %}

*Agent Builder canvas overview graph showing the agent node at center with Triggers, Knowledge, Skills, and Integrations cards*
{% endstep %}

{% step %}
**Configure Basic Details**

**Open Agent Config and Navigate to Basic Details**

In the Agent Builder canvas header, select Agent Config. The Agent Config panel opens on the left side of the screen. In the left navigation, select Basic Details.

*Agent Builder top toolbar showing the Agent Config button in the canvas header*

{% hint style="success" %}
**Checkpoint:** The Basic Details screen should show four fields: Agent Avatar, Agent Name, Agent Description, and Agent Output Format. If you see a different screen, confirm you selected Basic Details in the Agent Config left navigation.
{% endhint %}

**Complete the Basic Details Fields**

Fill in the Basic Details screen as follows:

1. **Agent Avatar** — Leave as the default icon. No action required.
2. **Agent Name** — Confirm the field reads `Borrower Onboarding Agent`. If the platform generated a different name, clear the field and type `Borrower Onboarding Agent`.
3. **Agent Description** — Write a short, action-oriented description. Example: *"Collects, classifies, and verifies borrower documents for loan applications, then routes verified data to the core banking system."* Keep it to 1–2 sentences.
4. **Agent Output Format** — Confirm the dropdown shows **Markdown**. If it shows **Json**, open the dropdown and select **Markdown**.

Select Save.

*Basic Details screen with all four fields filled — agent name, description, and Markdown output format selected*

{% hint style="success" %}
**Checkpoint:** After saving, the Save button should become inactive (grayed out), indicating no pending changes. If the Save button remains active, a required field may be empty — check Agent Name.
{% endhint %}

{% hint style="warning" %}
Do not select Json as the output format. This agent's responses are read by humans in a chat interface. Json output will render as raw, unformatted JSON text rather than readable Markdown — a common mistake that is easy to overlook until the agent is tested.
{% endhint %}
{% endstep %}

{% step %}
**Write Behavioral Instructions**

**Navigate to Instructions and Open the Best Practices Panel**

In the Agent Config left navigation, select Instructions.

The Instructions screen opens with a text editor and three toolbar buttons above it:

* **Upload from file** — imports instructions from a file
* **Improve with AI** — AI reviews your current instructions and proposes improvements
* **Best Practices to give instructions** — opens a side panel with the recommended structure

Select Best Practices to give instructions to open the side panel. Review the recommended structure: Objective/Goal, Inputs Required, Process/Steps, Outputs/Deliverables, Constraints/Rules, Tone/Interaction Style, and Additional Instructions.

*Agent instructions editor with the Best Practices side panel open, showing the recommended instruction structure*

{% hint style="info" %}
The Best Practices panel is a reference guide — it stays open while you write. You do not need to close it before typing in the editor.
{% endhint %}

**Write the Borrower Onboarding Instructions**

Your instructions should cover all seven sections. A complete example:

```
Objective / Goal:
Collect and verify borrower documents for a loan application. Guide the borrower through the document submission process and ensure all required materials are received and verified before proceeding.

Inputs Required:
- Borrower name
- Loan type (e.g., 30-year fixed mortgage, home equity line)
- Supporting documents: government-issued ID, proof of income, bank statements

Process / Steps:
1. Greet the borrower and confirm the loan type they are applying for.
2. Request and receive the required documents.
3. Classify each document by type (ID, income verification, asset statement, etc.).
4. Extract key data fields from each document.
5. Verify the borrower's identity against the submitted ID document.
6. Push verified data to the core banking system.
7. Confirm receipt and provide the borrower with next steps.

Outputs / Deliverables:
- Verification status (verified / incomplete / escalated)
- Summary of documents received and any outstanding items
- Next steps for the borrower

Constraints / Rules:
- Do not proceed to data extraction without completing KYC verification.
- Escalate to a human loan officer if any document is incomplete, expired, or unreadable.
- Do not request or store information beyond what is required for the loan application.

Tone / Interaction Style:
Professional, clear, and reassuring. Use plain language — avoid financial jargon unless the borrower uses it first.
```

{% hint style="warning" %}
Do not paste API keys, passwords, or tokens anywhere in this editor. If your workflow requires credentials (for example, to call a verification API), store them in Agent Config → Secrets & Variables and reference them as `$secret.{name}` in your instructions or skill configurations.
{% endhint %}

{% hint style="info" %}
**Concept:** The Instructions screen is the single most consequential page in Agent Builder. The platform sends this content to the underlying model on every turn. Vague or contradictory instructions produce unreliable behavior that is difficult to debug — a well-structured instruction set is the foundation of a reliable agent.
{% endhint %}

Select Save.

{% hint style="success" %}
**Checkpoint:** After saving, the Save button should become inactive. Your instructions should be visible in the editor with no unsaved-changes indicator present.
{% endhint %}

**Verify the Saved Instructions**

Confirm the following before moving on:

1. The Instructions editor displays your saved content.
2. The Save button is inactive (no pending changes).
3. No warning or error banner is visible at the top of the screen.

If the Save button is still active, select it again. If an error appears, check that the Instructions field is not empty.

{% hint style="success" %}
**Checkpoint:** Both the Basic Details screen and the Instructions screen should now show saved content with inactive Save buttons. Your agent has a name, an action-oriented description, Markdown output format, and complete behavioral instructions. This completes Lesson 1.
{% endhint %}
{% endstep %}
{% endstepper %}

## Troubleshooting

<details>

<summary>Fixes for common problems in this lab</summary>

| **Symptom**                                                                       | **Cause**                                                                                             | **Fix**                                                                                                                                                               |
| --------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Agent responses render as raw JSON in the chat interface**                      | Agent Output Format was set to **Json** instead of **Markdown**                                       | Open Agent Config → Basic Details. Change the Output Format dropdown to **Markdown**. Select Save.                                                                    |
| **Agent produces generic responses that ignore the borrower onboarding workflow** | Instructions screen was skipped, left empty, or saved with incomplete content                         | Open Agent Config → Instructions. Confirm your instructions are present and the Save button is inactive. If the editor is empty, re-enter your instructions and save. |
| **Save button remains active after selecting Save**                               | A required field is empty (most commonly Agent Name on Basic Details)                                 | Check each field on the screen. Agent Name is required — it cannot be blank. Fill in any empty required fields and select Save again.                                 |
| **"Build Agent" button does not appear after entering a description**             | The description field may be empty or the platform is still loading                                   | Confirm text is entered in the prompt field. Wait for the page to fully load, then try again. If the issue persists, refresh the page and re-enter the description.   |
| **Agent Config panel does not open**                                              | The Agent Config button may not be visible if the canvas is loading                                   | Wait for the canvas to fully load. The Agent Config button is in the canvas header, to the right of the agent name. If it is still missing, refresh the page.         |
| **Instructions are not saved after navigating away**                              | Each screen in Agent Config has its own Save button — navigating away without saving discards changes | Always select Save before navigating to a different section in Agent Config. If you navigated away without saving, return to Instructions and re-enter your content.  |
| **Agent name does not appear in the canvas header after creation**                | The agent may still be initializing                                                                   | Wait 10–15 seconds and refresh the page. If the agent does not appear, return to the Agent Builder landing screen and look for it in the agent list.                  |

</details>

## Checkpoints and validation

### Embedded Checkpoints (Formative)

Complete each checkpoint before moving to the next procedure.

#### After Procedure 1 — Agent Created

Confirm:

* Agent Builder is open with your new agent on the canvas
* The Overview tab shows four cards: Triggers, Knowledge, Skills, and Integrations
* The agent name appears in the canvas header

If the canvas does not open after selecting Build Agent, return to the Agent Builder landing screen and look for the new agent in the agent list. Select it to open the canvas.

#### After Procedure 2 — Basic Details Saved

Confirm:

* Agent Name reads `Borrower Onboarding Agent`
* Agent Description is present and action-oriented (describes what the agent does, not just what it is)
* Agent Output Format shows **Markdown**
* The Save button on the Basic Details screen is inactive

If any field is incorrect, return to Basic Details, make the correction, and select Save.

#### After Procedure 3 — Instructions Saved

Confirm:

* The Instructions editor displays your full behavioral instructions
* All seven Best Practices sections are represented (Objective, Inputs, Process, Outputs, Constraints, and optionally Tone and Additional Instructions)
* The Save button on the Instructions screen is inactive
* No API keys, passwords, or tokens appear anywhere in the instructions text

If the Save button is still active, select it. If an error appears, check that the editor is not empty.

### Overall Lesson Completion Check

Your agent is correctly configured for Lesson 1 when all of the following are true:

* [ ] Agent exists in Agent Builder with the name `Borrower Onboarding Agent`
* [ ] Basic Details: name confirmed, action-oriented description present, output format set to Markdown, screen saved
* [ ] Instructions: behavioral instructions written using the Best Practices structure, screen saved, no unsaved-changes indicator visible
* [ ] No credentials or tokens appear in the Instructions editor

**Assessment Component:** No summative assessment for this lesson. Formative assessment for this lesson's content appears in Lesson 5 (Knowledge Check 1).

## Solution reference

<details>

<summary>The completed state of your work</summary>

The following shows the complete, correct state of your agent after successfully completing all three procedures in this lesson.

### Agent Identity (Basic Details)

| **Field**               | **Correct value**                                                                                                                                                                  |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Agent Avatar**        | Default icon (no upload)                                                                                                                                                           |
| **Agent Name**          | `Borrower Onboarding Agent`                                                                                                                                                        |
| **Agent Description**   | `Collects, classifies, and verifies borrower documents for loan applications, then routes verified data to the core banking system.` *(or equivalent action-oriented description)* |
| **Agent Output Format** | `Markdown`                                                                                                                                                                         |

### Instructions (Complete Example)

The following is a complete, correct example of the borrower onboarding instructions using the Best Practices structure. Your wording may differ — what matters is that all required sections are present and the constraints are accurately stated.

```
Objective / Goal:
Collect and verify borrower documents for a loan application. Guide the borrower through the document submission process and ensure all required materials are received and verified before proceeding.

Inputs Required:
- Borrower name
- Loan type (e.g., 30-year fixed mortgage, home equity line)
- Supporting documents: government-issued ID, proof of income, bank statements

Process / Steps:
1. Greet the borrower and confirm the loan type they are applying for.
2. Request and receive the required documents.
3. Classify each document by type (ID, income verification, asset statement, etc.).
4. Extract key data fields from each document.
5. Verify the borrower's identity against the submitted ID document.
6. Push verified data to the core banking system.
7. Confirm receipt and provide the borrower with next steps.

Outputs / Deliverables:
- Verification status (verified / incomplete / escalated)
- Summary of documents received and any outstanding items
- Next steps for the borrower

Constraints / Rules:
- Do not proceed to data extraction without completing KYC verification.
- Escalate to a human loan officer if any document is incomplete, expired, or unreadable.
- Do not request or store information beyond what is required for the loan application.

Tone / Interaction Style:
Professional, clear, and reassuring. Use plain language — avoid financial jargon unless the borrower uses it first.
```

### What a Correctly Completed Lesson 1 Environment Looks Like

* Agent Builder is open to the `Borrower Onboarding Agent` canvas
* The Overview tab shows the agent node at center; all four cards (Triggers, Knowledge, Skills, Integrations) are visible (cards may show empty state — that is expected at this stage)
* Agent Config → Basic Details: all four fields populated, Save button inactive
* Agent Config → Instructions: full behavioral instructions visible in the editor, Save button inactive
* No credentials, tokens, or API keys appear anywhere in the Instructions editor

{% hint style="info" %}
The remaining Agent Config screens — Agent Behaviour, Runtime & Versioning, Skills & Capabilities, Knowledge, Triggers, Secrets & Variables, Authentication, and Guardrails — are covered in Lessons 2 through 5. Your agent is intentionally incomplete at this stage.
{% endhint %}

</details>

{% hint style="success" %}
**Lab complete.** Confirm every checkpoint above before you move on.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.uptiq.ai/academy/tier-2-core-skills/m03-agent-builder-fundamentals/lab-1-configure-agent-identity-and-instructions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
