Skip to content

Getting started

This guide takes you from zero to a working pull request in about ten minutes.

  • Python 3.11 or later
  • A git repo you’re comfortable letting Cascade work on (start with a fork or scratch repo, not production)
  • One of:
    • An Anthropic, OpenAI, or Google Gemini API key
    • A local Claude Code installation (no API key needed)
    • A local Ollama install (no API key needed)
  • A GitHub, GitLab, Bitbucket, or Azure DevOps account with a personal access token
  1. Install the base package

    Terminal window
    pip install cascade-agent

    Or install with all optional providers (OpenAI, Google, Claude Code, GitLab, Jira):

    Terminal window
    pip install "cascade-agent[all]"
  2. Scaffold a project

    In a git repo where you want Cascade to work:

    Terminal window
    cascade init

    This creates cascade.yaml and a team-memory/ directory with starter files. Edit those files to teach Cascade about your team’s conventions, decisions, glossary, and prior work. The more accurate this is, the better Cascade’s output.

  3. Configure your LLM provider

    Terminal window
    cascade configure llm anthropic --key sk-ant-xxx --set-default
  4. Configure your VCS

    Terminal window
    cascade configure vcs github --token ghp-xxx
  5. Verify config

    Terminal window
    cascade configure show

    Secrets are masked, so it’s safe to copy-paste the output if you want help debugging.

The fastest end-to-end test: a one-line prompt.

Terminal window
cascade prompt "Add a /health endpoint that returns {'status': 'ok'}"

Cascade will:

  1. Treat your prompt as an approved story.
  2. Plan the change (which files, what intent).
  3. Generate the code and the tests.
  4. Run the tests.
  5. Open a PR for your review.

You’ll see something like:

==> [story-prompt-20260925-103045] Add a /health endpoint...
branch: cascade/story-prompt-20260925-103045/add-a-health-endpoint
commit: e4f8a2b1...
install: ok
tests: passed (42 passed in 0.18s)
PR: #47 https://github.com/myorg/myrepo/pull/47

Open the PR, review the changes, and merge if it looks good.