An AI-powered coding assistant with a web interface for interactive code editing.
- Visual File Tree - Browse and navigate your project files
- Interactive Chat - Natural language coding assistant with streaming responses
- File Operations - Read, write, and edit files with AI assistance
- Web Search - Search the web for documentation and solutions
- Approval System - Review destructive operations before they execute
- Edit History - Track all changes made during the session
# Clone the repository
git clone <repo-url>
cd edit
# Install dependencies
bun install
# Start the development server
bun run devOpen http://localhost:3000 and select a workspace directory to begin.
To enable web search functionality, add a Tavily API key:
# Create .env.local
echo "TAVILY_API_KEY=your_api_key_here" > .env.local- Select a workspace - Choose the directory you want to work in
- Chat with the AI - Ask questions, request edits, or get help debugging
- Review changes - Approve file modifications before they're applied
- Browse files - Click files in the tree to view their contents
├── app/ # Next.js app router
│ ├── api/chat/route.ts # AI chat API endpoint
│ ├── layout.tsx # Root layout
│ └── page.tsx # Main interface
├── components/ # React components
│ ├── ai-elements/ # AI-specific UI (terminal, shimmer)
│ ├── ui/ # shadcn/ui components
│ ├── edits-panel.tsx # Edit history sidebar
│ └── file-tree.tsx # File explorer
├── lib/ # Utilities and tools
│ ├── tool.ts # AI tool definitions
│ └── utils.ts # Helper functions
└── public/ # Static assets
- Next.js 15 - React framework with App Router
- Bun - Fast JavaScript runtime and package manager
- AI SDK - Streaming AI responses with tool support
- Ollama - Local LLM integration
- Tailwind CSS - Utility-first styling
- shadcn/ui - Accessible UI components
MIT
