Quick start
This guide walks through installing Seepient, configuring your first provider, and running a prompt across the interactive TUI, the CLI, and the TypeScript SDK.
Step 1: Install Seepient
Install the package globally using your preferred package manager. Seepient requires Node.js 22.19 or higher.
brew tap hashangit/seepient
brew trust hashangit/seepient
brew install seepientpnpm add -g seepientnpm install -g seepientVerify the installation:
seepient --versionStep 2: Configure your providers
Run the interactive setup wizard:
seepient setupThe wizard discovers supported models from upstream catalogs, lets you input credentials (pasting an API key or signing in via OAuth), and assigns default models for common tasks.
For other providers (Google Gemini, Ollama, DeepSeek, LocalLLM), run seepient setup or configure an OpenAI-compatible endpoint. Seepient never reads API keys from the environment — embedders can inject a custom credential store through the SDK instead.
Step 3: Run the interactive TUI
Run seepient without arguments to start the full-screen terminal interface:
seepientYou can type prompts in the input box at the bottom. The TUI streams the response token by token, renders markdown tables and code blocks, and shows an approval dialog when the model requests permission to execute a shell command or mutate a file.
Press Ctrl+C or type /quit to exit.
Step 4: Run a one-shot command from the CLI
To run a prompt directly without opening the interactive interface, pass the prompt string as an argument:
seepient "Inspect this directory and list any package.json scripts"For non-interactive automation in shell scripts or CI pipelines, add the -y flag to automatically approve actions:
seepient -y "Run test suites and print a failure summary if any fail"You can also pipe standard input directly to the agent:
git diff | seepient "Review this diff for missing test cases and edge cases"Step 5: Use the TypeScript SDK
Install the SDK locally in your project:
pnpm add seepientCreate a file named agent.ts:
import { createSeepient } from 'seepient'
const agent = await createSeepient({
provider: 'anthropic',
model: 'claude-sonnet-4-6-20260320',
consentMode: 'edit-enabled',
})
const response = await agent.chat('Explain what this repository does based on its README.md')
console.log(response.text)Run the script with Node.js or tsx:
npx tsx agent.tsNext steps
- Explore the Terminal UI features, widgets, and keyboard shortcuts.
- Read about headless automation for shell scripts and CI.
- Learn how model routing routes tasks across provider tiers.
- Understand how exact commit protection keeps file writes safe.