A file system navigation tool for agent to use via llm function calling.
- Install dependencies:
make install
- Set environment variable:
export ANTHROPIC_API_KEY=your_key_here
- Start the agent:
make start
- Example commands:
- "List files in the current directory"
- "Search for all PDF files"
- "Create a new directory called 'docs'"
- "Move file.txt to backup/file.txt"
- Try the example insurance company directory:
make example-build # Create messy directory structure
make example-clean # Clean up example
- List directory contents
- Search files by pattern
- Read/write files
- Find text in files (grep)
- Create/remove directories
- Move/copy files
- Get file/path info
- Generate UUIDs
- Walk directory trees
agent.py
: Main agent implementation using LangChaintool.py
: Core filesystem operations implementationconfig.py
: LLM configuration (supports Claude, GPT-4, DeepSeek)Makefile
: Project management commands