Get your API key from xAI here.
Create a virtual environment
Open the Terminal
and create a python virtual environment.
Install libraries
Export `XAI_API_KEY`
Run xAI Agent
Get your API key from xAI here.
Create a virtual environment
Open the Terminal
and create a python virtual environment.
Install libraries
Export `XAI_API_KEY`
Run xAI Agent