# CLI

## Join as Miner

```bash
konnex miner join --subnet sn.roboarm.sim \
  --stake-usd1 10 \
  --model ./out/policy.wasm \
  --kpi success>=0.98,time_s<=120
```

## Join as Validator

```bash
konnex validator join --subnet sn.roboarm.sim \
  --stake-knx 1000 --assurance-usd1 200 \
  --sim KitchenSim-v1
```

## Submit a Task (User)

```bash
konnex task submit --subnet sn.roboarm.sim \
  --prompt "dice tomatoes and place into pan" \
  --reward-usd1 12.5 --stake-usd1 5 --deadline 120
```

## Prove Work (Robot/Executor)

```bash
konnex prove --job-id <JOBID> --bundle ./powp.zip
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.konnex.world/sdk/cli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
