# HireAgentInput (/api/reference/inputs/hire-agent-input)

The agent to hire and its terms.

```graphql
input HireAgentInput {
  hiredOn: Date
  instructions: String!
  monthlySalaryCents: Int!
  name: String!
  pairedUserId: ID
  role: String!
  tools: [String!]
}
```

### Fields [#fields]

#### [`HireAgentInput.hiredOn`](#hired-on) · [`Date`](/api/reference/scalars/date) `scalar` [#hired-on]
The day the hire begins. Today (UTC) when left out. Before the year 9999.

#### [`HireAgentInput.instructions`](#instructions) · [`String!`](/api/reference/scalars/string) `non-null` `scalar` [#instructions]
What the agent is told to do, in full. It is the agent's standing instruction on every run. Must not be empty. 50,000 characters at most.

#### [`HireAgentInput.monthlySalaryCents`](#monthly-salary-cents) · [`Int!`](/api/reference/scalars/int) `non-null` `scalar` [#monthly-salary-cents]
What the workspace is charged each month, in US cents. More than zero.

#### [`HireAgentInput.name`](#name) · [`String!`](/api/reference/scalars/string) `non-null` `scalar` [#name]
The agent's name. Must not be empty. 200 characters at most.

#### [`HireAgentInput.pairedUserId`](#paired-user-id) · [`ID`](/api/reference/scalars/id) `scalar` [#paired-user-id]
The teammate the agent works beside, who must be a user of this workspace. Left out, it works alone.

#### [`HireAgentInput.role`](#role) · [`String!`](/api/reference/scalars/string) `non-null` `scalar` [#role]
What the agent does, as a short label. Must not be empty. 200 characters at most.

#### [`HireAgentInput.tools`](#tools) · [`[String!]`](/api/reference/scalars/string) `list` `scalar` [#tools]
The names of the tools the agent may use. None when left out. 100 at most, each of 200 characters at most.

### Member Of [#member-of]

[`hireAgent`](/api/reference/mutations/hire-agent)  `mutation`