Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Quickstart

1. Set credentials

At minimum, set one LLM provider key. Redshank resolves credentials from environment variables, a .env file in the working directory, or ~/.redshank/credentials.json.

See Configuration for the full resolution order and available keys.

export ANTHROPIC_API_KEY="sk-ant-..."

2. Launch the TUI

redshank tui

The TUI opens with a session sidebar on the left, chat log in the center, and a wiki-graph canvas on the right. Type your investigation objective at the prompt and press Enter.

3. Or run a one-shot investigation

redshank run "Who are the top donors to PACs linked to defense contractors with active SAM.gov registrations?"

The agent runs autonomously, calling fetchers and writing findings to wiki/ in the working directory.

4. Inspect the wiki

ls wiki/
cat wiki/index.md

Each entity gets its own Markdown file. Cross-references between entities are tracked in the petgraph DAG and rendered in the TUI canvas.

Next steps