[SDK reference](../../index.md) / [Models](../index.md) / [AgentService](index.md)

# AiAgentMergePatchUpdate

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.AgentService`  

One agent: a definition, versioned. Every change of the definition writes a new immutable version.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `ApproveRisky` | `Models.AgentService.AiAgentMergePatchUpdate.AiAgentMergePatchUpdate_approveRisky?` | `approveRisky` | Whether R2 tools wait for a human's approval. R3 tools always do. Default true. |
| `BudgetPerDayMicros` | `long?` | `budgetPerDayMicros` | The most all runs of the agent may spend in one UTC day, in micro-euros. |
| `BudgetPerRunMicros` | `long?` | `budgetPerRunMicros` | The most one run may spend on model calls, in micro-euros: 1 to 100,000,000. |
| `CallsPerMinute` | `Models.AgentService.AiAgentMergePatchUpdate.AiAgentMergePatchUpdate_callsPerMinute?` | `callsPerMinute` | The most tool calls a minute: 1 to 600. Default 60. |
| `Description` | `Models.AgentService.AiAgentMergePatchUpdate.AiAgentMergePatchUpdate_description?` | `description` | Up to 300 characters. |
| `DisplayName` | `Models.AgentService.AiAgentMergePatchUpdate.AiAgentMergePatchUpdate_displayName?` | `displayName` | 1 to 63 characters. |
| `Endpoint` | `string?` | `endpoint` | The inference endpoint of the project that answers (a `text` endpoint), by its short name. |
| `Guardrails` | `Models.AgentService.AiAgentGuardrailsMergePatchUpdateOrCreate?` | `guardrails` | The guardrails property |
| `Instructions` | `string?` | `instructions` | What the agent is for and how it behaves; at most 16 KiB. It is the system section of every prompt. |
| `Labels` | `UntypedNode?` | `labels` | At most 64. |
| `MaxOutputTokens` | `Models.AgentService.AiAgentMergePatchUpdate.AiAgentMergePatchUpdate_maxOutputTokens?` | `maxOutputTokens` | The most tokens one model call may write: 1 to 8192. Default 1024. |
| `MaxSteps` | `Models.AgentService.AiAgentMergePatchUpdate.AiAgentMergePatchUpdate_maxSteps?` | `maxSteps` | The most model calls one run makes: 1 to 40. Default 12. |
| `Policy` | `Models.AgentService.AiAgentMergePatchUpdate.AiAgentMergePatchUpdate_policy?` | `policy` | The name of one of the project's agent policies (IAM-11) that also restricts this agent. Optional below R3; required for R3. |
| `RiskCeiling` | `Models.AgentService.AiAgentMergePatchUpdate.AiAgentMergePatchUpdate_riskCeiling?` | `riskCeiling` | The highest risk class a tool may have: `R0` to `R3`. Default `R2`. `R3` needs a `policy`; `R4` is refused. |
| `Temperature` | `Models.AgentService.AiAgentMergePatchUpdate.AiAgentMergePatchUpdate_temperature?` | `temperature` | 0 to 2. Default 0.2. |
| `ToolAllowList` | `Models.AgentService.AiAgentMergePatchUpdate.AiAgentMergePatchUpdate_toolAllowList?` | `toolAllowList` | The tool names the model may be offered and may call, for example `instances.list`. Empty means no tool at all (default deny). At most 100. |
| `Tools` | `Models.AgentService.AiAgentMergePatchUpdate.AiAgentMergePatchUpdate_tools?` | `tools` | The tool sets the agent may draw on: `platform:{group}` (a contract module's tools, for example `platform:compute`; only tools the contract marksas agent tools) and `server:{name}` (a registered tool server of the project). At most 20. |
