# Covenant: A first look

The keystone of Gardens v2 infrastructure is the Community Covenant, which serves to:

1. Encode a community’s values / mission in an onchain social contract
2. Enforce that Covenant in the community’s funding and decision-sourcing smart contracts.
3. Allow people to signal support for a community by staking tokens in the Covenant.&#x20;

The Covenant is the North Star for Gardens communities, guiding members towards a shared vision that they collectively create.&#x20;

{% hint style="info" %}
Want to learn about writing a good covenant from scratch? Head to the [writing](/the-covenant/publish-your-docs.md) a good covenant section to learn more.
{% endhint %}

###


---

# 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.gardens.fund/the-covenant/quickstart.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.
