> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.rightbrain.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.rightbrain.ai/_mcp/server.

# Context Usage, Audit Log, and File Attachments

> Inspect agent context usage, trace project changes in audit logs, and attach files to agent conversations.

## What's New

### Context Usage Breakdown

See exactly what fills an agent's context window on every run. A new usage panel attributes input tokens across instructions, conversation history, tools, Skills, and integrations, and an expandable context chip highlights the breakdown at a glance. Usage is aggregated across the runs in a session. See [observability](/docs/production/observability) for details.

### Audit Log

A new [audit log](/docs/production/observability) page records activity across your project, with filters by resource type and identifier so you can trace exactly what changed and when.

### File Attachments for Agents

Drag and drop multiple files straight into an [agent run](/docs/api/run-agents), or use the new attachment button. Uploaded files are tracked with their source and appear inline against the message that introduced them, in both single runs and multi-turn sessions.

## Improvements

* Paginated agent run history plus a single-run detail view
* Visibility indicators on agent cards
* More reliable eval judging, with model parameter defaults applied consistently
* Smarter handling of uploaded files across an agent's tools, so each tool receives only the files it needs
* Function names now appear in streaming events for clearer run traces
* A memory compaction indicator in the context usage panel

> **Note**
>
> The context usage breakdown makes it easy to spot what is driving token cost on a run. If a single integration or Skill dominates your input, you can see it directly and trim what the agent carries.

## Current documentation

[Observability](/docs/production/observability) · [Memory and context](/docs/concepts/memory-and-context) · [Run agents with files](/docs/api/run-agents)