ekzhu / llm_maze_agent

Navigating a maze using LLM agent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LLM-based Maze Agent

screenshot

Install dependencies:

pip install -r requirements.txt

Set up environment variables:

export OPENAI_API_KEY='your API key'

Run maze agent on a randomly generated maze with 4 rows and 4 columns:

python maze_agent.py --rows 4 --columns 4

A separate window will pop up to show the agent navigating the maze in realtime.

About

Navigating a maze using LLM agent

License:MIT License


Languages

Language:Python 100.0%