Automated exploration and auditing of suspicious public procurement in Chile
Themis is an AI-powered platform that automatically analyzes public tenders from Chile's Mercado Público to detect:
- Regulatory violations - Non-compliance with procurement laws and regulations
- Suspicious patterns - Anomalies in award decisions and bidding behavior
- Procurement irregularities - Red flags in purchasing processes
Themis brings transparency to public spending by making it easy to investigate and audit government contracts.
Themis uses a multi-agent AI system built with LangGraph that can:
- Fetch tender data from Mercado Público's API
- Analyze documents including contracts, specifications, and award decisions
- Detect anomalies using specialized fraud detection agents
- Generate reports summarizing findings and ranking issues by severity
Frontend
- React 19 + TypeScript + Vite
- Mosaic for data visualization
- Embedding Atlas for document exploration
Backend
- FastAPI + Python 3.13
- LangGraph + LangChain for AI orchestration
- PostgreSQL + SQLAlchemy
- Mistral AI for language processing
Infrastructure
- Docker & Docker Compose
- Docker Desktop
Create a backend/.env file:
DATABASE_URL=postgresql://postgres:postgres@postgres:5432/postgres
ANTHROPIC_API_KEY=your-anthropic-api-key
MISTRAL_API_KEY=your-mistral-api-key
OPENROUTER_API_KEY=your-openrouter-api-key
LANGSMITH_TRACING=true
LANGSMITH_ENDPOINT=https://api.smith.langchain.com
LANGSMITH_API_KEY=your-langsmith-api-key
LANGSMITH_PROJECT=your-project-name
ADMIN_API_KEY=your-admin-key
DISCORD_WEBHOOK_URL=your-discord-webhook-urldocker compose upBuilt by:
- Víctor Tirreau - @viantirreau
- Ernesto Bernardo - @ignaciobernardo
- Emerson Salazar - @emersoftware
- Juan Vargas - @v4rgas
- René Cáceres - @panquequelol
This project was created for the Platanus Hackathon 2025 and is open source.