blob: a7ccc1fdd80f8b095cba2a07cd10ac19e97d585a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Strangeloop
A recursive and self-referential AI agent framework.
## Installation
Run the latest version directly without installation from `uvx`:
```bash
$ uvx strangeloop
```
For developers, from within working copy run:
```bash
$ uv run strangeloop
```
## CLI Usage
Strangeloop provides a command-line interface with several commands:
```bash
# 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]
# Ask Claude Sonnet 3.7 a question
uvx strangeloop ask "What is recursive self-improvement in AI?"
```
If you've installed the package:
```bash
# Using the installed CLI
strangeloop --help
strangeloop hello
strangeloop greet [NAME]
strangeloop info
strangeloop info --verbose
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 from the source:
```bash
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
|