---
title: Agent provider
description: Provides information about the Elastic Agent. The available keys are: 
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4236/reference/fleet/agent-provider
products:
  - Elastic Agent
  - Fleet
---

# Agent provider
Provides information about the Elastic Agent. The available keys are:

| Key                        | Type      | Description                              |
|----------------------------|-----------|------------------------------------------|
| `agent.id`                 | `string`  | Current agent ID                         |
| `agent.version`            | `object`  | Current agent version information object |
| `agent.version.version`    | `string`  | Current agent version                    |
| `agent.version.commit`     | `string`  | Version commit                           |
| `agent.version.build_time` | `date`    | Version build time                       |
| `agent.version.snapshot`   | `boolean` | Version is snapshot build                |