Skip to main content

Strangeloop

A recursive and self-referential AI agent framework.

Installation

Run the latest version directly without installation from uvx:

$ uvx strangeloop

For developers, from within working copy run:

$ uv run strangeloop

CLI Usage

Strangeloop provides a command-line interface with several commands:

# 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?"

# Configuration management
uvx strangeloop config set anthropic_api_key "your-api-key"
uvx strangeloop config get anthropic_api_key
uvx strangeloop config list
uvx strangeloop config delete anthropic_api_key
uvx strangeloop config path

If you've installed the package:

# Using the installed CLI
strangeloop --help
strangeloop hello
strangeloop greet [NAME]
strangeloop info
strangeloop ask "What is the meaning of life?" --max-tokens 2048 --temperature 0.8

API Keys and Configuration

To use the Claude Sonnet 3.7 integration, you need to provide your Anthropic API key in one of these ways (in order of precedence):

  1. Set in configuration:

    strangeloop config set anthropic_api_key "your-api-key"
    
  2. Set as environment variable:

    export ANTHROPIC_API_KEY="your-api-key"
    

Configuration

Strangeloop uses the XDG Base Directory Specification for storing configuration. The configuration file is stored at:

  • Linux/macOS: ~/.config/strangeloop/config.json (or $XDG_CONFIG_HOME/strangeloop/config.json if set)
  • Windows: %APPDATA%\strangeloop\config.json

You can manage configuration using the config command:

# Set a configuration value
strangeloop config set model "claude-3-opus-20240229"

# Get a configuration value
strangeloop config get model

# List all configuration values
strangeloop config list

# Delete a configuration value
strangeloop config delete model

# Show the configuration file path
strangeloop config path

Common Configuration Options

  • anthropic_api_key: Your Anthropic API key

Metadata

Release files for strangeloop 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for strangeloop 0.1.0
File Size Uploaded Provenance
strangeloop-0.1.0.tar.gz 5.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for strangeloop 0.1.0
File Interpreter ABI Platform
strangeloop-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.3 kB

Release files / strangeloop-0.1.0.tar.gz

Download URL strangeloop-0.1.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
00fcaf57accf1f4bef9f5f1ec3756b69dcc5a68594e32886ec4f6f85eec34dbf
BLAKE2b-256 checksum
How to use checksums
8280651477ba14f220a4c3fe5ac35e3e52f597c74c798c9a15e2586fcb555162
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.30

Release files / strangeloop-0.1.0-py3-none-any.whl

Download URL strangeloop-0.1.0-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6e91e8e3316ea3e847d7da45b81cdb247b321529b780164c345fc12edf4b04f
BLAKE2b-256 checksum
How to use checksums
f7d2047732ab4a208401d86f95800295d65d43c44002eee262bc8f5c2fbaf928
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.30

Security for strangeloop 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page