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

# tenet peter

> Agent orchestration commands

Peter Parker is the agent orchestrator. It manages the nightly improvement loop, runs individual agents, creates PRs, and handles strategic reasoning.

## Commands

### Daily Loop

```bash theme={null}
tenet peter daily
```

Full nightly orchestration: mine tuples → synthesize context → strategic reasoning → run agents → pick up issues. Typically run via cron at 2 AM.

### Agent Management

```bash theme={null}
# List all configured agents
tenet peter agent list

# Run a specific agent
tenet peter agent <name> --rounds <N>

# Run all agents (swarm mode)
tenet peter agent swarm --rounds <N>

# Create a new agent interactively
tenet peter agent create
```

### PR Mode

```bash theme={null}
# Create a branch, make changes, open a PR
tenet peter pr --task "Fix the auth token refresh bug"
```

### Other Commands

```bash theme={null}
tenet peter status                # Show status + recent events
tenet peter dashboard             # Live event stream
tenet peter telemetry             # Run telemetry agent
tenet peter synthesize            # Regenerate product context
tenet peter sentinel              # Run sentinel nightly review
tenet peter metrics               # Show current platform metrics
```

## Options

| Flag                | Description                                        |
| ------------------- | -------------------------------------------------- |
| `--cost`            | Cost-optimized model routing (haiku-heavy)         |
| `--balanced`        | Balanced model routing (default)                   |
| `--quality`         | Quality-first model routing (opus-heavy)           |
| `--budget <amount>` | Cost budget in USD (auto-downgrades when exceeded) |
| `--pi`              | Force Pi runtime                                   |
| `--rounds <N>`      | Number of rounds (for agent/autoresearch)          |

## Examples

```bash theme={null}
# Run test-coverage for 10 rounds with cost optimization
tenet peter agent test-coverage --rounds 10 --cost

# Run the full nightly loop with $20 budget cap
tenet peter daily --budget 20

# Create a PR to fix a specific issue
tenet peter pr --task "GitHub #42: Fix login redirect loop"

# Run all agents in quality mode
tenet peter agent swarm --rounds 5 --quality
```
