镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

About

Turns plain-English requests into Python scripts, checks them for safety, runs them in isolation, and retries with self-correction if they fail.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SafeScript-AI

Turns plain-English requests into Python scripts, checks them for safety, runs them in isolation, and retries with self-correction if they fail.

python cli.py "count how many .py files are in this directory"

How it works

  1. Groq (Llama 3.3 70B) writes a script for the request
  2. AST check blocks dangerous code (file deletion, eval, network access, etc.) before it runs
  3. Sandbox runs the script in an isolated process with a 3s timeout
  4. On failure, the error is fed back to the model and it retries (max 3 attempts)

Stack

Groq · Python ast · Python subprocess — no agent framework, built from scratch.

About

Turns plain-English requests into Python scripts, checks them for safety, runs them in isolation, and retries with self-correction if they fail.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages