# AutoTempArtifactMutation

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/auto_mode/AutoTempArtifactMutation)

Reducer update that creates or removes one exact artifact record.

## Signature

```python
AutoTempArtifactMutation()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    allocation_id: str,
    artifact: AutoTempArtifact | None,
)
```

| Name | Type |
|------|------|
| `allocation_id` | `str` |
| `artifact` | `AutoTempArtifact \| None` |


## Properties

- `allocation_id`
- `artifact`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e4c1ffe9ee63d7854147de490ca27495ef157a7b/libs/code/deepagents_code/auto_mode.py#L514)