guac ai mole
1.0.0
Guac-AI-Mole is a large language model (LLM) powered tool to inspect and understand an organization's software supply chain. It uses LLM models, such as OpenAI GPT-4, and GUAC to query and analyze the secure supply chain artifacts, such as Software Bill of Materials (SBOM), to make actionable decisions.
? This is a hackathon project. Do not use in production.
Demo will provide samples questions and answers generated by Guac-AI-Mole!
These answers are pre-generated and cached for faster response times and to avoid needing API access. You can try out your own questions and answers by setting up the app locally.
gpt-4-32k-0613 and later models)$PATH
export REGISTRY=<registry name i.e., myregistry.io> to set your registryscripts/populate-registry.sh to populate the registry with sample images and attached SBOMs as OCI referrers artifactsoras discover. For example,$ oras discover ${REGISTRY}/vul-image:latest
Discovered 1 artifact referencing latest
Digest: sha256:b6f1a6e034d40c240f1d8b0a3f5481aa0a315009f5ac72f736502939419c1855
Artifact Type Digest
application/spdx+json sha256:5479d40d5d27025ab4eda699e91961fc0537def2ffe850e2c19172b41eb72ca7guacone collect registry ${REGISTRY} to ingest the SBOMs from OCI referrers to GUAC. This will automatically ingest the SBOMs from the OCI referrers to GUAC.pip install -r requirements.txt
streamlit run app.py to start the Streamlit app (add --logger.level=debug for debug logs)OPENAI_API_KEY, OPENAI_API_ENDPOINT and OPENAI_API_MODEL environment variablesGUAC_GRAPHQL_ENDPOINT environment variable