Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

478 B
Raw Blame
@echo off
setlocal enabledelayedexpansion

:FindPythonCommand
for %%A in (python3 python) do (
    where /Q %%A
    if !errorlevel! EQU 0 (
        set "PYTHON_CMD=%%A"
        goto :Found
    )
)

echo Python not found. Please install Python.
pause
exit /B 1

:Found
%PYTHON_CMD% scripts/check_requirements.py
if errorlevel 1 (
    echo
    poetry install --without dev
    echo
    echo Finished installing packages! Starting AutoGPT...
    echo
)
poetry run autogpt %*
pause