> For the complete documentation index, see [llms.txt](https://docs.xplatform.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xplatform.com/talon/developing-applications/authoring-user-code/command-and-control.md).

# Command and Control

This section covers how to implement administrative command handlers that allow runtime control and inspection of your microservice.

## Overview

Talon provides a command-and-control mechanism that allows administrators to send commands to running microservices for:

* **Runtime Configuration** - Adjust behavior without restart
* **Diagnostics** - Query internal state and statistics
* **Operations** - Trigger administrative actions

Commands are implemented using annotated methods (`@Command`) and can be invoked via administrative tools or programmatically.

## Command Characteristics

* **Synchronous Execution** - Commands execute immediately and return results
* **Outside Transaction Scope** - Commands don't participate in message transactions
* **Administrative Context** - Designed for operations, not business logic

## Topics

* [**Implementing Command Handlers**](/talon/developing-applications/authoring-user-code/command-and-control/implementing-command-handlers.md) - Create custom administrative commands using `@Command` annotations

## Related Topics

* [Admin Tool](/talon/operating-applications/administration/admin-tool.md) - Command-line tool for invoking commands
* [Admin Over SMA](/talon/operating-applications/administration/admin-over-sma.md) - Remote command invocation via messaging
