> For the complete documentation index, see [llms.txt](https://wren.atriasafety.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wren.atriasafety.org/features/real-time-knowledge.md).

# Real-Time Knowledge

Have you ever joined a conversation halfway through and had no idea what was going on? Wren never has that problem! Thanks to Real-Time Knowledge, Wren pays attention to the conversations happening around it.

## How it works

When Wren is added to a server and this feature is turned on, it quietly reads the messages being sent in the channels. It does this to build a deep understanding of what your community is talking about.

If someone asks a question, and someone else answers it, Wren remembers that answer! Then, if someone asks the same question a week later, Wren can jump in and help out.

### Smart Filtering

Wren is smart about what it reads. It does not want to clutter its brain with useless information.

* It only reads messages that are at least 3 words and 15 characters long.
* It ignores pure links and short spam.
* If a message is edited or deleted by a user, Wren instantly updates its knowledge base so it is always accurate.

{% hint style="info" %}
Wren's Real-Time Knowledge makes it the perfect assistant for busy servers where questions get asked a lot!
{% endhint %}

## Configuration

You are in total control of where Wren gets its real-time knowledge. Server administrators can manage this using the `/wren sources` and `/wren ingest` commands:

* **Add a source:** Use `/wren sources add` to tell Wren to read from a specific Discord channel, website, or document.
* **Remove or toggle:** Use `/wren sources remove` or `/wren sources toggle` to stop Wren from reading a source.
* **View sources:** Use `/wren sources list` to see all active knowledge sources.
* **Force ingestion:** Use `/wren ingest run` to manually force Wren to read all the sources right away!


---

# 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://wren.atriasafety.org/features/real-time-knowledge.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.
