AgentSea

Guide

Agentic coding

Launch an interactive AI coding session with 13 built-in tools: file operations, code editing, search, shell, and git.

01Getting 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 code

Note

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.

02Command 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-6

# Verbose mode with tool calls and metadata
sea code --verbose

# Limit tool iterations (default: 25)
sea code --max-iterations 50

03Built-in tools

The coding agent has access to 13 built-in tools, grouped into five categories:

file_read
File operations: read file contents.
file_write
File operations: write content to files.
file_list
File operations: list directory contents.
code_edit
Code editing: precise search-and-replace editing.
glob
Search: find files matching glob patterns.
grep
Search: search file contents with regex.
shell_execute
Shell: run shell commands, with safety checks.
git_status
Git: show working tree status.
git_diff
Git: show changes between commits.
git_add
Git: stage files for commit.
git_commit
Git: create a commit.
git_log
Git: show commit history.
git_branch
Git: list or create branches.

04Provider 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-6

# OpenAI (GPT)
sea code --provider openai

# Google (Gemini)
sea code --provider gemini

# Local (Ollama)
sea code --provider ollama

Note

Mix cloud and local providers across sessions: use local models for quick iterations and cloud models for complex production work.

05Next steps

  • CLI tool : full command reference for the AgentSea CLI
  • Tools : learn more about built-in and custom tools
  • Providers : configure cloud and local providers