An AI-powered agentic command-based assistant that can read, create, and modify code files with intelligent assistance from Replicate's Claude models.
| Version | How to Run | Best For |
|---|---|---|
| EXE App | Download from Releases & run | [*] Most Users |
| Python (Raw) | python main.py |
Developers |
| Source Code | Clone & modify | Contributors |
[=>] New users? Start with INSTALLATION.md for detailed setup guide
[LOCK] Token handling: The EXE prompts for your API token on startup, validates it, and clears it when you exit. Super secure!
[X] Read Files - Access project files directly (workspace or external paths)
[X] Create Files - Generate new files with AI assistance
[X] List Files - Browse your project structure
[X] Code Generation - Create code from AI instructions with full context
[X] Session History - Track all conversations and commands
[X] Session Management - Clear and organize your workspace
The best way for most users - just download and run!
-
Download
Blink.exefrom Releases -
Double-click
Blink.exeto run -
Enter your API token when prompted (one-time validation each run)
-
Start using Blink!
How it works:
- App prompts for your token on startup [X]
- Token is validated immediately [X]
- Token is cleared when you exit [X]
- Token NEVER saved to disk [X]
- Super secure! [LOCK]
-
Clone the repository
git clone https://github.com/yourusername/blink.git cd blink -
Create and activate virtual environment
python -m venv venv # Windows: venv\Scripts\activate.bat # macOS/Linux: source venv/bin/activate
-
Install dependencies
pip install -r requirements.txt
-
Run Blink
python main.py
(Will prompt for API token)
Clone, install dependencies, and modify as you like!
python main.pyAvailable commands (all use :: delimiter):
read:: <file>- Read a file from workspace or external pathcreate:: <file>- Create a new empty filelist:: [directory]- List files and folders in directorygenerate:: <instruction>- AI code generation with full project contextchat:: <request>- Chat with AI agent (multi-line, paste code, ask questions)history::- Show conversation history from current sessionclear::- Clear current session and conversation historyhelp::- Show help messageexit::- Save session and exit the CLI
# Read a local file
blink> read:: src/main.ts
# Read from external project
blink> read:: "C:\path\to\project\file.ts"
# Create a new file
blink> create:: new-service.ts
# List directory
blink> list:: src/
# Generate code with AI
blink> generate:: Create a TypeScript validator function
# Chat with AI (conversational, multi-line)
blink> chat:: Create a temperature sensor simulation
[Type your message, paste code, or ask questions]
[Type 'end' on a new line when done]
# View conversation history
blink> history::
# Clear session
blink> clear::
# Show all commands
blink> help::
# Exit
blink> exit::blink/
├── .env # API credentials (add your token here)
├── .gitignore # Git ignore rules
├── requirements.txt # Python dependencies
├── README.md # This file
├── main.py # CLI entry point
├── workspace/ # Project workspace (created automatically)
└── src/
├── __init__.py
├── config.py # Configuration management
├── robust_file_handler.py # Cross-platform file operations
├── replicate_api.py # Replicate API integration
├── enhanced_agent.py # Main agent logic with MCP
├── mcp_server.py # MCP server for autonomous tool access
├── conversation_memory.py # Session memory and history
└── simplified_cli.py # Modern CLI interface
blink> read:: src/ph-sensor.service.ts
blink> generate:: Add error handling and logging to the sensor service
blink> create:: new-service.ts
(Then use generate:: to populate it with AI-generated code)
blink> history::
blink> exit::
- Python 3.8+
- Replicate API token (free tier available)
- Internet connection
anthropic/claude-4.5-sonnet(recommended) - Latest, most capableanthropic/claude-3.5-sonnet- Fast and efficient- Other Replicate-hosted Claude models
Agentic AI with MCP (Model Context Protocol)
Blink uses an intelligent agent that:
- Reads files from your workspace and external projects
- Maintains conversation history across sessions
- Has access to your project structure via MCP tools
- Provides context-aware code generation
- Supports both relative and absolute file paths
Make sure you've added your token to the .env file:
REPLICATE_API_TOKEN=your_actual_token_hereIf you hit rate limits, wait a moment before retrying. Free tier has limits on requests.
Make sure file paths are relative to the workspace directory or use absolute paths.
MIT
For issues or questions:
- Check your API token in
.env - Ensure all dependencies are installed:
pip install -r requirements.txt - Verify internet connection for API calls
- Use
help::command within Blink for command reference