> ## Documentation Index
> Fetch the complete documentation index at: https://docs.valyu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Valyu Agent reference

> Roles, context, limits, Slack permissions, data handling, updates and troubleshooting for Valyu Agent for Slack.

Hosted app: `https://slack.valyu.ai`

## Roles

| Role | Who | Can |
| - | - | - |
| Admin | Workspace admins, owners and primary owners | Connect Valyu, manage scheduled reports, change the settings, and choose app managers |
| App manager | People that an admin chooses in the **Home** tab | Connect Valyu, manage scheduled reports, and change the settings |
| Everyone else | All members | Research. They cannot see or change the setup |

There are no app managers until an admin chooses them. The person who installs the app is not an admin unless their Slack role makes them one.

## Context

Valyu Agent uses:

* **The thread:** every message, as its memory, up to 200 messages. In a longer thread, it drops the oldest messages in blocks of 50.
* **The channel:** when you start a new thread, the 8 messages before your question. So a short request such as "make it punchier" applies to the message above it. Valyu Agent reads up to 50 recent messages, with their times, when your question needs them. A search of the channel reads up to 300 recent messages. Valyu Agent reads only the channel where you asked.
* **Other threads:** the replies under a message in the same channel, when your question is about it.
* **Your files:** files in your message, and your own files from earlier in the thread when your question is about them.
* **Your images:** up to 3 images of up to 5 MB each, which Valyu Agent looks at itself.
* **Notes:** the notes that your team saved for the workspace and for this channel.

Other people's messages are context for Valyu Agent, not instructions to it.

## Notes

| Limit | Value |
| - | - |
| Notes for each channel | 50 |
| Notes for the workspace | 50 |
| Length of a note | 300 characters |
| Who can save a channel note | Anyone in the channel |
| Who can save a workspace note | Admins and app managers. In **Settings**, you can let everyone do it. |
| Nightly tidy | 03:00 UTC. It merges, updates or deletes notes. It does not add notes. |

Valyu Agent encrypts the notes. It keeps a record of the last 50 changes for each channel and for the workspace. When you uninstall the app, Valyu Agent deletes the notes and the record.

## Settings

Admins and app managers change the settings in the app's **Home** tab. Click **Edit settings**.

| Setting | Options | Default |
| - | - | - |
| Brand kit | Your Valyu organization's default kit, no brand, or one of your brand kits | Your organization's default |
| Notes memory | On or off. When it is off, Valyu Agent keeps the saved notes but does not use them. | On |
| Who can change workspace notes | App managers and admins, or everyone | App managers and admins |
| Nightly tidy | On or off | On |

The brand kit styles the PDF, its charts, and the Word, Excel and PowerPoint files. You make and change brand kits on the Valyu platform. Brand kits need a Comfortably Pro, Serious Business or Enterprise plan.

## Files

| Type | Maximum size |
| - | - |
| PDF, Word (`.docx`), PowerPoint (`.pptx`) | 50 MB |
| Excel (`.xlsx`), images (PNG, JPEG, GIF, WebP) | 20 MB |
| CSV, text, Markdown | 10 MB |

You can attach up to 10 files to one question, with a total of 25 MB. Valyu Agent can search the text of PDF, Word, PowerPoint, Excel, CSV, text and Markdown files.

## Limits

* Each person can run up to 3 research requests at the same time.
* `fast`, `standard`, `heavy` and `max` runs work in the background, and Valyu Agent posts the answer when the run ends.
* An `instant` answer waits up to about 3 minutes. After that, the run keeps going on the Valyu platform.
* A confirm card for a report change works once and expires after 30 minutes.

## Data handling

* Valyu Agent does not keep your files. It sends a file to DeepResearch with the request. When it searches a file, it keeps the text for 24 hours, then deletes it.
* The research task gets the end of the thread conversation as background.
* Valyu Agent stores the Valyu API key encrypted.
* In a channel, the list of scheduled reports in the thread shows only the reports for that channel. Valyu Agent sends the other reports to the admin or app manager who asked, in a direct message.
* See the [privacy policy](https://slack.valyu.ai/privacy) and the [terms](https://slack.valyu.ai/terms).

## Updates

Updates to Valyu Agent reach your workspace automatically. When an update needs a new Slack permission, admins and app managers see **Update available** at the top of the **Home** tab. Click **Update Valyu** and approve the permission once.

## Slack permissions

| Permission | Why Valyu Agent needs it |
| - | - |
| `app_mentions:read` | Receive messages that mention it |
| `chat:write` | Post answers, progress and reports |
| `channels:read`, `groups:read` | Make sure that it is in a channel before it starts research |
| `channels:history`, `groups:history` | Read its threads, and the channel messages before a thread when a question needs them |
| `im:history`, `im:read`, `im:write` | Talk with people in direct messages |
| `users:read` | Find who is an admin, and use your Slack time zone |
| `commands` | The `/valyu` command and the **Research this** shortcut |
| `files:read` | Read the files you attach |
| `files:write` | Attach reports, spreadsheets and slides |
| `reactions:write` | Show the status of your request on your message |
| `reactions:read` | Research a message when someone reacts to it with 🔍 or 🔎 |
| `assistant:write` | Show progress and suggested prompts in direct messages |

## Troubleshooting

| Problem | What to do |
| - | - |
| "Valyu is not connected in this workspace yet" | An admin or app manager clicks **Connect Valyu** in the **Home** tab. |
| "I'm not in this channel yet" | Run `/invite @Valyu Agent` in the channel, then ask again. |
| **Update available** in the Home tab | Click **Update Valyu** and approve the permission. |
| "I can only reply in my own direct messages" | Use `/valyu` in a channel that Valyu Agent is in, or send it a direct message. |
| "I could not read" a file | Look at the type and size in [Files](#files). If the message asks for an update, an admin clicks **Update Valyu**. |
| No credits left | Add credits on [platform.valyu.ai](https://platform.valyu.ai). |
| A scheduled report did not arrive | Open the **Home** tab and read the error on the report. Select **Preview** in the report's menu to test it. |

## Resources

> [card] [Add to Slack](https://slack.valyu.ai/api/slack/install)
>
> Install Valyu Agent in your workspace

> [card] [Get a Valyu API key](https://platform.valyu.ai)
>
> Create or manage API keys

> [card] [Support](https://slack.valyu.ai/support)
>
> Get help with the installation

> [card] [Hosted app](https://slack.valyu.ai/)
>
> Open the Valyu Agent page


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.