Personal project · public source
StockPilot AI
A conversational assistant connected to real catalogue, inventory and order workflows.
Product advice is only useful if the application can also check stock and handle an order safely. StockPilot explores that boundary between language models and business rules.
Explore the sourceLocal development prototype. Public repository; no public hosted demo.
- Customer interfaceVue 3 · TypeScript
- API & orchestrationFastAPI · LangGraph · Ollama
- Business rules & dataPython · MongoDB · PostgreSQL / pgvector
Implemented capabilities
- Catalogue search, product details and inventory lookup backed by MongoDB.
- Document-grounded recommendations using local Ollama models and pgvector retrieval.
- Explicit order confirmation, atomic stock reservation and idempotent order creation.
- Vue 3 interfaces, automated tests and separate operational administration.
Scope & limits
The engineering focus: keep probabilistic interpretation separate from deterministic order rules. Tests cover transaction failures and replays; telemetry uses OpenTelemetry, Prometheus and Grafana.
The knowledge corpus is small. Model output needs evaluation, and MongoDB orders and PostgreSQL conversation state do not share a transaction. The prototype is not a production commerce service.
Architecture overview