# apr code
Sovereign AI coding assistant — all inference local via realizar (PMAT-182)
**Category**: Inference
## Synopsis
```text
apr code [OPTIONS]
```
## Example
```bash
apr code -p "review this Python function" --max-turns 1
```
## Full help
Run `apr code --help` for the complete option list.
## See also
- Source: [`crates/apr-cli/src/commands/code.rs`](https://github.com/paiml/aprender/blob/main/crates/apr-cli/src/commands/code.rs)
- Contract: [`contracts/apr-page-cli-code-v1.yaml`](https://github.com/paiml/aprender/blob/main/contracts/apr-page-cli-code-v1.yaml)