grepai agent-setup

CLI reference for grepai agent-setup

grepai agent-setup

Configure AI agents to use grepai

Synopsis

Configure AI agent environments to leverage grepai for context retrieval.

This command will:

  • Detect agent configuration files (.cursor/rules, .cursorrules, .windsurfrules, CLAUDE.md, GEMINI.md, AGENTS.md)
  • Append instructions for using grepai search
  • Ensure idempotence (won’t add duplicate instructions)

With —with-subagent flag:

  • Creates .claude/agents/deep-explore.md for Claude Code
  • Provides a specialized exploration agent with grepai access
grepai agent-setup [flags]

Options

  -h, --help            help for agent-setup
      --with-subagent   Create Claude Code deep-explore subagent in .claude/agents/

SEE ALSO

  • grepai - Semantic code search CLI
Auto generated by spf13/cobra on 6-Feb-2026