zoltraak  by dai-motoki

CLI tool for natural language to code/docs via prompt compilation

Created 1 year ago
440 stars

Top 68.0% on SourcePulse

GitHubView on GitHub
Project Summary

Zoltraak is a prompt compiler system designed to transform natural language commands into executable code and structured documents. It aims to streamline software development and content creation by converting simple "spells" into complex operational systems, making advanced programming accessible to a broader audience.

How It Works

Zoltraak employs a prompt compiler system that translates natural language into an intermediate representation, which is then compiled into executable code or detailed documentation. It leverages a "grammar of magic" to structure and expand upon user prompts, enabling the generation of complex systems from concise commands. This approach allows for rapid and flexible creation of sophisticated outputs, enhancing developer productivity.

Quick Start & Requirements

  • Install: pip install zoltraak
  • Prerequisites: Python 3.x, Anthropic API Key.
  • Setup: Requires creating a virtual environment, activating it, and setting up an .env file with the ANTHROPIC_API_KEY. Detailed setup instructions are provided for Windows.
  • Documentation: https://github.com/dai-motoki/zoltraak

Highlighted Details

  • Supports various "compilers" (e.g., dev_func, dev_obj, biz_consult) for different output types.
  • Includes a caching mechanism to avoid redundant processing of unchanged files.
  • Offers internationalization support with the -l flag for language specification.
  • Designed for CI/CD integration with a run_tests.sh script.

Maintenance & Community

The project lists several contributors and provides instructions for adding new contributors via GitHub issues/PRs. Community links are primarily via Twitter.

Licensing & Compatibility

The repository does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The project is in active development with many items listed under "TODO" and "Ideas," indicating potential instability or missing features. The core functionality relies on the Anthropic API, incurring costs per execution.

Health Check
Last Commit

1 year ago

Responsiveness

Inactive

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

Explore Similar Projects

Starred by David Cournapeau David Cournapeau(Author of scikit-learn), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
7 more.

repomix by yamadashy

0.6%
19k
CLI tool to pack codebases into AI-friendly formats for LLMs
Created 1 year ago
Updated 2 days ago
Feedback? Help us improve.