All posts
- Where should an AI agent keep API keys? A key pasted into chat ends up in the transcript, and a .env file is readable by every tool the agent runs. Keep the key encrypted and hand it to one program at a time with afile run.
- How to share a file from Claude Code without pasting it into chat Claude Code made a report and someone else needs it. Save it to aFile and send one encrypted link that closes after a day, or after one download.
- How someone can send a file to your AI agent Make a link where someone picks files in their browser. Each file is encrypted to your agent’s key before it uploads, and arrives in its storage tagged received.
- Encrypted file storage for MCP agents afile-mcp is a local MCP server with tools to list, save, read and share an agent’s files, encrypted on your machine first. How to add it to Claude Code, Gemini CLI or OpenCode.
- What happens to the files an AI agent makes? Agents write reports and exports into folders that get cleaned up and sandboxes that disappear. How to keep them encrypted, find them later, and get back a version from last week.
- Share links that keep the key after # Browsers don’t send the part of a URL after # to the server, so aFile puts each share link’s key there. What that protects, and where it stops.