# Getting Started

## Repo and env setup

1. Clone the repository

   ```bash
   git clone https://github.com/jeffacce/cap-policy.git
   cd cap-policy
   ```
2. Unless otherwise specified, the following steps assume that we are in the `cap-policy` repo root directory.
3. Set up the environment

   ```bash
   conda env create -f conda_env.yaml
   ./setup.sh  # this sets up various config paths and downloads the model checkpoint
   ```
4. Head to desired embodiment documentation (Left Side)


---

# 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://cap-policy.gitbook.io/guide/readme.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.
