> For the complete documentation index, see [llms.txt](https://help.genesis.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.genesis.autify.com/resources-context/resources-and-context-overview.md).

# Resources and context overview

This article explains resources and context in Autify Genesis. Genesis runs tasks while referencing **resources** registered in a workspace. This article describes how registered resources are used.

## Resources

Resources are information sources (such as code and documents) that the AI references when running tasks. They are managed centrally as a knowledge base in your workspace's **Resources and Context** tab.

| Type         | Description                                                                                         |
| ------------ | --------------------------------------------------------------------------------------------------- |
| **Codebase** | A GitHub repository or a ZIP file                                                                   |
| **Files**    | Files such as PRDs, specifications, and PDFs, as well as artifacts (outputs) generated by workflows |

## Using resources as context

Registered resources are used as context (background knowledge) when the AI runs tasks, in the following ways.

### Resource search

The AI references codebases and text-based files registered in the workspace, and gathers the information it needs while running tasks.

Registered codebases and text-based files are indexed and stored in the knowledge base, so the AI uses file lookup and string search in combination with semantic search to retrieve relevant information.

**What is semantic search?**

Semantic search is a search method that finds related information based on context and semantic similarity, not just on the literal keywords. Even when expressions do not match exactly, it can surface code and files that are conceptually close.

For example, when you search for "I want to know the spec for the login feature," the AI can find not only places where the word `login` appears literally, but also specifications and implementations that contain conceptually related content such as `sign-in`, `authentication`, or `user verification`.

### Specifying a file directly

You can also reference specific files directly by name. You can specify files from the AI Assistant chat or when running a workflow, and you can also reference a past version of a file by specifying its version.

## Other context

In the Workflow feature, you can use the following information as context in addition to resources.

* **Context variables** — Text and number variables defined in the workflow definition.
* **Output of upstream blocks** — The processing results of upstream blocks within the workflow.
* **Trigger information** — Information provided when the workflow is triggered automatically, such as by a GitHub webhook.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.genesis.autify.com/resources-context/resources-and-context-overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
