# newMachineKey

<!-- https://uncage.vercel.app/docs/api/agent/functions/newmachinekey/ -->

```ts
function newMachineKey(): string;
```

Defined in: agent/src/config.ts:139

A fresh `machineKey`: 32 random bytes, base64url (43 chars).

## Returns

`string`
