Make sure you initialize the repo with pre-commit hooks:
make repo-initCreate a .env file and add your API tokens:
OPENAI_API_KEY=<my_token_here>
ANTHROPIC_API_KEY=<my_token_here>On ARM Macs, SPOT will be built from source. If necessary, you can force building SPOT from source on x86/64 by running make build-image BUILD_SPOT=true.
On linux, you may need to install netcat-openbsd.
On arm macs, SPOT will be built from source. If necessary, you can force building SPOT from source on x86/64 by running make build-image BUILD_SPOT=true.
$ make build-image$ make bashThe above two commands will start the build and bash process of the Docker environment to execute your GPT Mission Planner.
From within the Docker container, execute make run to request your first mission plan.
This can connect to AgBot over TCP, but running it standalone to debug mission plans can be done as follows:
$ make server
nc -l 0.0.0.0 12345
...Make sure to run this first before running the mission planner (make run).
On the host machine running a listening server. Make sure the IP/port matches the YAML config file IP/port:
$ make server
nc -l 0.0.0.0 12345
...$ make build-image
docker build . -t gpt-mission-planner --target local
...
...
$ make bash
docker run -it --rm \
-v ./Makefile:/gpt-mission-planner/Makefile:Z \
-v ./app/:/gpt-mission-planner/app:Z \
--env-file .env \
--net=host \
gpt-mission-planner \
/bin/bash
root@linuxkit-965cbccc7c1e:/gpt-mission-planner#
root@linuxkit-965cbccc7c1e:/gpt-mission-planner# make run
python3 ./app/mission_planner.py
Enter the specifications for your mission plan: Take a thermal picture of every other tree on the farm.
File sent successfully.A web+mobile app implementation of this program is under development at https://github.com/thomasm6m6/mpui/.
The following queries are used to demonstrate the capabilities of this system:


