# Assigning Programs

A walkthrough on how to assign programs to your Dragonfly models using the library of programs that ships with Ladybug Tools.

Programs (aka. Space Types) dictate default schedules for the usage of Rooms along with capacities for occupancy, lighting, equipment, etc. If you haven't already, consider watching a complimentary video from our [Energy](https://docs.ladybug.tools/ladybug-tools-academy/energy/) series: [Assigning Program](/ladybug-tools-academy/energy/assigning-program.md).

Check out the [Introduction](/ladybug-tools-academy/urban-energy-with-dragonfly/introduction.md) page to find sample files used in this video.

{% embed url="<https://youtu.be/ZyAx_-SNmV8>" %}


---

# 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.ladybug.tools/ladybug-tools-academy/urban-energy-with-dragonfly/assigning-programs.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.
