+++
title = "exit"
chapter = false
weight = 103
hidden = false
## Summary
Task an agent to exit.
## Usage
```
exit
## Detailed Summary
The `exit` command uses the `Environment.Exit` method to exit the agent's running process.