G1 Editor - AI Coding Agent for VS Code
🚀 MCP-Native AI Code Editor with autonomous agents, inline completions, and multi-file editing.

Features
💬 AI Chat Panel
- Natural language conversations about your code
- Context-aware responses using your workspace
- Streaming responses for real-time feedback
🤖 Autonomous Agent
- Set a goal and let G1 work autonomously
- Multi-step reasoning with tool use
- Approval gates for sensitive operations
- Run history tracking
✨ Inline Completions
- Copilot-style code suggestions
- Context-aware completions
- Works with any language
- File Operations: Read, write, search files
- Git Integration: Status, diff, blame
- Language Services: Diagnostics, references, definitions
- Terminal: Run commands directly
🔌 MCP Server Support
- Connect external MCP servers
- Extend functionality with custom tools
- Configure via settings
Keyboard Shortcuts
| Shortcut |
Command |
Ctrl+L |
Open AI Chat |
Ctrl+K |
Inline Edit |
Ctrl+Shift+A |
Run Autonomous Agent |
Ctrl+Shift+E |
Explain Selected Code |
Quick Start
- Set API Key: Open Settings (
Ctrl+,) and search for g1.apiKey
- Open Chat: Press
Ctrl+L to open the AI chat panel
- Ask Anything: Type your question or request
Commands
G1: Open AI Chat - Open the chat panel
G1: Edit Selection with AI - Edit selected code with AI
G1: Explain Code - Get explanation of selected code
G1: Generate Tests - Generate unit tests
G1: Fix All Errors - Fix all errors in current file
G1: Run Autonomous Agent - Start an autonomous coding task
G1: Stop Agent - Stop the running agent
G1: Configure MCP Servers - Open MCP configuration
G1: Show Available Tools - List all available tools
Configuration
{
// Anthropic API key
"g1.apiKey": "sk-ant-...",
// AI model to use
"g1.model": "claude-sonnet-4-20250514",
// Maximum agent iterations
"g1.maxIterations": 25,
// Enable inline completions
"g1.enableInlineCompletions": true,
// Tools that don't require approval
"g1.autoApprove": [
"read_file",
"list_directory",
"search_files"
],
// MCP server configurations
"g1.mcpServers": [
{
"name": "filesystem",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "${workspaceFolder}"]
}
]
}
MCP Server Configuration
Add external MCP servers to extend G1's capabilities:
"g1.mcpServers": [
{
"name": "github",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_TOKEN": "your-token"
}
},
{
"name": "postgres",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://..."]
}
]
| Tool |
Description |
read_file |
Read file contents |
write_file |
Write to a file |
list_directory |
List directory contents |
search_files |
Search for files by pattern |
run_terminal_command |
Execute terminal commands |
get_diagnostics |
Get TypeScript/ESLint errors |
apply_edit |
Apply text edits to files |
get_git_status |
Get git repository status |
git_diff |
Get uncommitted changes |
find_references |
Find all symbol references |
go_to_definition |
Jump to symbol definition |
Requirements
License
MIT
Made with ❤️ by Builder.app