A tool for visualizing and exploring agent traces. Hosted Version.
Prerequisites: Docker Compose
To pull and launch Explorer, run the following commands:
# install Invariant package
pip install invariant-ai
# pull and launch Explorer application
invariant explorer
You can then access your Explorer instance via http://localhost
. Data will be stored at ./data
of the current working directory.
Alternatively, you can try the public and managed instance at https://explorer.invariantlabs.ai.
To get started, run the following command. Make sure you first install Docker Compose.
To run the setup locally:
./run.sh up
To open the Explorer interface go to http://localhost
.
This will automatically launch a local Explorer instance on your machine.
All data will be stored in ./data
. To reset the data, simply delete the ./data
directory.
If new dependencies are needed for api
or tester
, add them to respectively app-api/requirements.in
or tests/requirements.in
. Then run,
./run.sh compile-requirements
To run tests locally first turn off the app,
./run.sh down
And then run tests
./run.sh tests-local
./run.sh down
The ./run.sh down
teardown the testing environment fully. Needed to run ./run.sh up
. You can skip it if you are planning un run tests again.
You can run subset of tests by running
./run.sh tests-local /tests/path-to-my-test