Astound
is a code explainer powered by Claude. Enter the CLI by running python3 astound/run.py
. Create a root node based on a source file and then build a tree by navigating the abstract syntax tree (ast
) of this source. If you encounter a reference outside this source, create a new node based on a different source, attach it as a child, and then continue navigating. Call summarize
at any time to obtain a recursive summary of the current node and its children.
You will need to enter your own Anthropic API key by setting the environment variable ANTHROPIC_API_KEY
. The file astound/config.json
determines the Claude version. This quickstart guide from Anthropic may be helpful.