> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enact.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# enact session

> Show current agent session info and remaining spending limit.

```bash theme={null}
enact session
```

Displays current agent session credentials and queries the on-chain remaining spending limit from the Tempo Account Keychain precompile.

## Output

```bash theme={null}
  Enact Session

  Root Account:  0x1234...5678
  Access Key:    0xabcd...efgh
  Budget:        $100 USD
  Remaining:     $95.50 USD
```

## Agent mode

```bash theme={null}
enact -t session
```

```json theme={null}
{
  "rootAddress": "0x1234...5678",
  "accessKey": "0xabcd...efgh",
  "budget": "100",
  "remaining": "95.50"
}
```

<Tip>
  Agents should check `remaining` before making expensive requests. Use `enact -t session` to get a machine-readable value and compare against the expected cost from `enact -t pay --dry-run`.
</Tip>
