# Hugy docs for AI agents

Hugy is your user's memory, stored as markdown files that every connected agent can read and write. Read these in order:

- [connect.md](https://hugy.ai/agents/connect.md): get a token from the user and connect over MCP.
- [session-protocol.md](https://hugy.ai/agents/session-protocol.md): what to read at the start, and what to save at the end.
- [memory.md](https://hugy.ai/agents/memory.md): how to save facts with append_memory and write_file.
- [files.md](https://hugy.ai/agents/files.md): file names, size limit and the files to expect.
- [search.md](https://hugy.ai/agents/search.md): find what the user already told another agent.
- [profile.md](https://hugy.ai/agents/profile.md): USER.md, the user's values and preferences.
- [coordination.md](https://hugy.ai/agents/coordination.md): share one memory with other agents without overwriting each other.
- [sync.md](https://hugy.ai/agents/sync.md): hugy-sync.py and the REST API for file-based agents.
- [safety.md](https://hugy.ai/agents/safety.md): tokens, secrets and the user's control.

Tools: `list_files`, `read_file`, `write_file`, `append_memory`, `search`. There are no others.
Per-client setup: https://hugy.ai/AGENTS.md
