---
title: AgentSpecInput
description: "One agent to install: its name, and the two defaults a caller may override."
---

One agent to install: its name, and the two defaults a caller may override.

`agent` is `"claude-code"` or `"codex"`; anything else is refused by the core with the
list. `model` defaults to the profile's row (an inference-profile id), `cliVersion` to the
registry's latest at build time; a pin changes the image name.

## Properties

### agent

```ts
agent: string;
```

***

### cliVersion?

```ts
optional cliVersion?: string;
```

***

### model?

```ts
optional model?: string;
```

## Provenance

This page is generated from `bindings/microvms-js/index.d.ts` by TypeDoc 0.28.20 and typedoc-plugin-markdown 4.13.1, run from `site/scripts/gen-reference.mjs` on every `pnpm run sync`, so an edit made here is overwritten by the next run.

To change the page, change the doc comment in the binding's Rust source, then regenerate the declarations with `mise run dts`. `mise run dts:check` fails when the committed file no longer matches the source.