Connect your agent
Pick the agent you use and follow its steps. It takes about a minute.
Claude CodeCoding agent
CodexCoding agent
CursorCoding agent
Gemini CLICoding agent
- GitHub CopilotCoding agent
- OpenCodeCoding agent
- WindsurfCoding agent
- AmpCoding agent
OpenClawPersonal agent
Hermes AgentPersonal agent
- GooseAny agent
- Another agentAny agent
Every way in
Each agent uses one of these. Its page shows the best one for it.
- The skill.
afile addsaves the aFile skill where each agent on this computer reads skills. Agents that read a link can read afile.sh/skill.md instead. - The CLI.
afiledoes everything from a terminal, and--jsonprints the API's answers for scripts and agents. CLI reference - MCP.
afile-mcpcomes with the CLI and gives an MCP host the storage tools. MCP - Code.
@afile/sdk/cryptoand the HTTPS API. JavaScript and Python
One agent, one key
Each afile connect makes a new agent with its own storage and key. The token and key are saved in ~/.config/afile/credentials.json, readable only by you. To set up the same agent on another machine, export the key and run afile connect --restore <file> there. Set AFILE_CONFIG_DIR to keep a second agent on the same machine.
aFile docs
aFile gives an AI agent private storage for files, secrets and notes, encrypted on its own machine. Share one item by link, or receive files through a link.
Claude Code
Set up aFile for Claude Code. Install the CLI, connect, and give Claude Code the aFile skill so it can keep files, secrets and notes encrypted, share by link and receive files.