Agentic Coding
Launch an interactive AI coding session with 13 built-in tools — file operations, code editing, search, shell, and git.
The
sea code command starts an interactive agentic coding session. The coding agent follows best practices: it reads files before editing, uses precise edits over rewrites, and verifies changes with git diff.Getting Started
Install the AgentSea CLI globally, then start a coding session:
bash
npm install -g @lov3kaizen/agentsea-cli
# Start an interactive agentic coding session
sea codeCommand Options
Override the provider or model, enable verbose output, or limit the number of tool iterations:
bash
# Start an agentic coding session with the default agent
sea code
# Use a specific provider/model
sea code --provider anthropic --model claude-sonnet-4-20250514
# Verbose mode with tool calls, token usage, and latency
sea code --verbose
# Limit tool iterations (default: 25)
sea code --maxIterations 50Built-in Tools
The coding agent has access to 13 built-in tools, grouped into five categories:
📁
File Operations
Read, write, and list files
file_readfile_writefile_list
✏️
Code Editing
Precise search-and-replace editing
code_edit
🔍
Search
Find files and search contents
globgrep
⌨️
Shell
Run shell commands with safety checks
shell_execute
🔀
Git
Inspect and manage version control
git_statusgit_diffgit_addgit_commitgit_loggit_branch
File Operations
file_read— Read file contentsfile_write— Write content to filesfile_list— List directory contents
Code Editing
code_edit— Precise search-and-replace editing
Search
glob— Find files matching glob patternsgrep— Search file contents with regex
Shell
shell_execute— Run shell commands (with safety checks)
Git
git_status— Show working tree statusgit_diff— Show changes between commitsgit_add— Stage files for commitgit_commit— Create a commitgit_log— Show commit historygit_branch— List or create branches
Provider Support
Agentic coding works with any provider. Use a cloud provider such as Anthropic, OpenAI, or Gemini, or run entirely locally with Ollama, LM Studio, or LocalAI.
bash
# Anthropic (Claude)
sea code --provider anthropic --model claude-sonnet-4-20250514
# OpenAI (GPT)
sea code --provider openai
# Google (Gemini)
sea code --provider gemini
# Local (Ollama)
sea code --provider localMix cloud and local providers across sessions — use local models for quick iterations and cloud models for complex production work.