AI Chat

Chat with your files using chain-of-thought reasoning.

BucketDrive includes an AI assistant powered by Claude that can search, analyze, and operate on your bucket files through natural language.

Features

Chain of Thought (CoT)

The AI uses multi-step reasoning to solve complex problems. It generates internal thoughts (not shown to you) before producing a response — planning, analyzing, and deciding before acting.

Thought Types

TypePurpose
planningBreaking down the task
analysisExamining file contents
decisionChoosing an approach
reflectionEvaluating results
completionTask is done

Capabilities

  • Search files — Find files by name, content, or metadata
  • Read & analyze — Read file contents and explain them
  • Edit files — Make changes to files based on instructions
  • Organize — Move, rename, and restructure files
  • Generate — Create new files from descriptions

Iteration Limits

The AI can iterate up to 8 times per request by default. It automatically detects when a task is complete and stops.

Usage

  1. Open the AI Chat panel from the sidebar
  2. Toggle CoT mode with the brain icon for complex tasks
  3. Type your request in natural language
  4. The AI will search your bucket, analyze files, and respond

Example Prompts

"Find all JSON config files and summarize their settings"
"Create a README.md for this project based on the file structure"
"What's the largest file in the images folder?"
"Rename all .jpeg files to .jpg"

Architecture

The chat system uses:

  • Anthropic Claude — Language model for reasoning
  • S3Worm — File operations on your bucket
  • Streaming — Real-time response streaming
  • Tool Use — AI calls bucket operations as tools