
Solo Founder Runs Global Tender Platform on AlloyDB and MCP

Lucius AI is a tender-intelligence platform that aggregates public procurement notices from the UK, EU, US and Canada, Australia and New Zealand, India and Singapore, along with World Bank donor-funded notices across Africa and Asia. It maintains a catalogue of more than 210,000 tenders, with nightly ingestion from thirteen public procurement sources and tens of thousands of tender documents open for active bidding. The platform analyzes tender documents with Gemini to generate compliance matrices, bid recommendations, and draft responses that cite original source pages — replacing days of manual document review and costly external consulting for small and mid-sized suppliers.
The operational angle is the headline: the entire platform runs as a company of one, without dedicated data-engineering or database-administration teams. The production footprint spans two Cloud Run regions — Europe, plus an Australian deployment on its own AlloyDB cluster with customer-managed encryption keys (CMEK) for defense-adjacent customers. To keep that manageable, Lucius AI consolidated everything into AlloyDB for PostgreSQL as the single system of record: the relational tender catalog, document metadata, audit logs, and vector embeddings all live in one engine, eliminating separate vector stores and log stores. The consolidation also means one backup schedule (automated backups plus point-in-time recovery) and centralized identity. Authentication is strictly Cloud IAM; services connect through dedicated service accounts mapped to database roles scoped to specific access requirements, with no database passwords stored in application environments.
The embedding and retrieval pipeline quantifies the tradeoffs. Rebuilding the semantic index embedded 115,820 records in 10.6 minutes using the Gemini embedding model, for roughly three dollars in API spend; AlloyDB auto embeddings now keep those vectors current. Retrieval reranking runs directly inside the database with the ai.rank function, averaging 77 milliseconds of latency, which removes the need for a standalone reranking microservice.
The most concrete result is in semantic search. A representative production query that originally took 1.14 seconds with unindexed vector comparisons now runs in 24 milliseconds after migrating to a ScaNN index in AlloyDB — a 47x speedup. Notably, the index recommendation came from the AI agent itself: during an automated performance audit, it benchmarked the query plan and prepared the index migration.
Routine database administration is delegated through the Model Context Protocol (MCP). Lucius AI configured the open-source MCP Toolbox for Databases using the prebuilt alloydb-postgres server. The agent connects with a dedicated PostgreSQL role that has SELECT across the schema and UPDATE on a single operational table; destructive commands (DROP, DELETE, TRUNCATE) are omitted, so the agent stays inside authorized operational boundaries. In practice, the agent covers four areas: on-demand analytics (retention cohorts, activation funnels, and catalog coverage by country via ad hoc SQL, replacing hand-built dashboards); performance optimization (query-plan inspections and index analysis, such as identifying the ScaNN strategy); incident forensics (after an external security probe, the agent parsed audit logs to reconstruct the request timeline in minutes and verify tenant isolation); and automated data-quality checks, evaluating ingestion watermarks and freshness across all thirteen procurement sources every morning. The article recommends a progressive permission structure for teams adopting this pattern: start read-only, expand as requirements dictate, and keep destructive operations restricted to human administrators.
Looking ahead, Lucius AI names three initiatives to reduce overhead further: automated vector embeddings, after validating ai.initialize_embeddings across the full catalog and then running a weekly ai.refresh_embeddings maintenance job; the AlloyDB columnar engine with auto-columnarization, which identified and stored 40 frequently queried columns across four tables in memory within a day, accelerating reporting without a separate analytical store; and a move from self-hosted Toolbox processes to Google Cloud’s fully managed Remote MCP Server for AlloyDB, offloading MCP server hosting and maintenance.


