Agentic solution for describing an asset from images and estimating its value.
Versions:
- v1: Linear flow with minimal agent behavior
- v2: More agentic, flexible flow
- Python 3.10+ (recommended)
- Docker (optional, for containerized run)
- An OpenAI API key and a Tavily API key
- Copy the .env template and fill required variables
- Copy .env.sample to .env
- Fill the required values listed in Env vars
- Navigate to the project root
cd collateral-description-agent- (Recommended) Create and activate a virtual environment
- Install dependencies
pip install -r requirements.txt- Place images for a single asset into the data/ folder
- Start telemetry
python -m phoenix.server.main serve- Start the app (change version if needed)
python app-v2/app.py loadenv # or: python app-v1/app.py loadenv- Open telemetry at http://localhost:6006
- Build the image
docker build --tag collateral-agent .- Run the container, passing .env and mapping the images folder
docker run -p 6006:6006 --env-file .env \
-v <folder-containing-images>:/data:ro \
collateral-agentTip
The Dockerfile is set up for v2 by default. To use v1, update the version in Dockerfile and start.sh.
| Variable name | Description |
|---|---|
| OPENAI_API_KEY | OpenAI API key |
| TAVILY_API_KEY | Tavily API key |
Place these in .env before running the app.

