diff options
| author | Yuval Adam <_@yuv.al> | 2025-03-06 13:50:12 +0100 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2025-03-06 13:50:12 +0100 |
| commit | d6fe8443a8bb6eeedaa7f8cb1f25f46491089c57 (patch) | |
| tree | 41a89542f38b779428130f17ed9a32127a6df6bd /README.md | |
| parent | badb469e09ff105a7a8418be2b1e5a1495d6d94a (diff) | |
Add claude llm and ask command
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 36 |
1 files changed, 24 insertions, 12 deletions
@@ -21,24 +21,36 @@ $ uv run strangeloop Strangeloop provides a command-line interface with several commands: ```bash -# Display help -strangeloop --help +# Run the CLI ad hoc without installation +uvx strangeloop --help +uvx strangeloop hello +uvx strangeloop greet [NAME] +uvx strangeloop info +uvx strangeloop process FILE_PATH [--output OUTPUT_PATH] -# Print a hello message -strangeloop hello +# Ask Claude Sonnet 3.7 a question +uvx strangeloop ask "What is recursive self-improvement in AI?" +``` -# Greet a user +If you've installed the package: +```bash +# Using the installed CLI +strangeloop --help +strangeloop hello strangeloop greet [NAME] - -# Display information about the environment strangeloop info strangeloop info --verbose - -# Process a file strangeloop process FILE_PATH [--output OUTPUT_PATH] +strangeloop ask "What is the meaning of life?" --max-tokens 2048 --temperature 0.8 ``` -You can also run the CLI directly without installation: - +You can also run the CLI directly from the source: ```bash -python main.py --help +uvx run strangeloop --help +``` + +## Environment Variables + +The following environment variables are required: + +- `ANTHROPIC_API_KEY`: Your Anthropic API key for accessing Claude Sonnet 3.7 |
