> ## Documentation Index
> Fetch the complete documentation index at: https://cognitio-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: CheckpointingConfig

> Generated from the public TypeScript API.

Checkpoint creation policy; beforeTools defaults to true when checkpointing is enabled.

## Properties

### beforeCompaction?

```ts theme={null}
optional beforeCompaction?: boolean;
```

Capture a file snapshot before context compaction when enabled.

***

### beforeTools?

```ts theme={null}
optional beforeTools?: boolean;
```

Capture before eligible tool mutations when automatic checkpoints are enabled. Defaults to true.

***

### enabled?

```ts theme={null}
optional enabled?: boolean;
```

Enable automatic checkpoint policy.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.