rawdog  by AbanteAI

CLI tool for auto-executing Python scripts

created 1 year ago
1,802 stars

Top 24.4% on sourcepulse

GitHubView on GitHub
Project Summary

Rawdog is a CLI assistant that generates and auto-executes Python scripts to answer user prompts, offering a novel alternative to RAG for tasks requiring dynamic context gathering. It's designed for developers and power users who need to interact with their system and data programmatically via natural language.

How It Works

Rawdog operates by recursively augmenting its context. When given a prompt, it generates a Python script, executes it, captures the output, adds it to the conversation history, and then calls itself again with the updated context. This self-correction loop allows it to dynamically gather information, such as file system details or active ports, to fulfill complex requests.

Quick Start & Requirements

  • Install with: pip install rawdog-ai
  • Requires an OpenAI API key (or other providers via configuration).
  • Supports conversational or direct execution modes.
  • See official documentation for model selection and configuration.

Highlighted Details

  • Generates and executes Python scripts directly in the CLI.
  • Supports recursive context gathering via script output.
  • Integrates with various LLM providers through litellm (default: gpt-4-turbo-preview).
  • Optional --leash flag for manual script approval before execution.

Maintenance & Community

  • Project maintained by AbanteAI.
  • Community channels and roadmap details are available on the GitHub repository.

Licensing & Compatibility

  • License details are not explicitly stated in the provided README.
  • Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The project explicitly warns of potential harm due to its auto-execution capabilities, advising users to proceed with caution. The default mode executes scripts without user approval, posing a security risk if not managed carefully.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
10 stars in the last 90 days

Explore Similar Projects

Starred by Chris Van Pelt Chris Van Pelt(Cofounder of Weights & Biases), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
15 more.

developer by smol-ai

0.1%
12k
Agent for embedding a developer in your app
created 2 years ago
updated 1 year ago
Feedback? Help us improve.