XISLABS

Case study · Government contracting · Bid automation

Government reseller: from 20 to 40 solicitations a week by hand to an eight-step daily pipeline

A five-person reseller supplies office, janitorial and facilities products to state and local government agencies, and ran its whole bidding process by hand. We built a daily pipeline that takes a solicitation from just posted to ready for a person to sign, in eight steps.

SolicitationPDFSheetPulled each morningLine itemsItemQtyPriceMarginEach line pricedBid packagePDFA person reviewsand files every bidSubmission stays manual
Illustration
Client
A five-person small-business reseller to state and local government agencies
Products
Office, janitorial and facilities products
What we built
A daily pipeline from new solicitation to a bid package ready to sign
Integrations
Ten, including five live distributor data feeds
Stack
Python, Claude, agent orchestration, pdfplumber, openpyxl, pypdf, reportlab and pytest
AI in the product
Claude
Submission
Manual: a person reviews and files every bid
  • 8steps in the daily pipeline, replacing 20 to 40 solicitations a week by hand
  • 245automated tests passing, across 29 test modules
  • 74line items extracted from one bid, with no model call
  • 31,000keys in a cross-reference index built to make a distributor API usable

Every figure is taken from the delivered system itself.

The problem

Every step was done by a person. Pull solicitations from a subscription portal. Read each one to check it was product only, since any labour or installation work rules the business out. Score it. Create a folder, download the attachments, and read PDFs and spreadsheets to pull out the line items.

Then price each item against at least three vendors, build a pricing sheet, fill an internal purchase-order workbook, complete the agency's compliance forms, assemble the bid package and track it all across an old tracker and a set of spreadsheets. Roughly half the target solicitations do not carry their documents in the source portal, which means a manual trip to the agency's own site.

What we built

Every solicitation qualified.

Each morning the pipeline pulls newly posted product solicitations and scores each one from 0 to 100. Every solicitation gets a card with a written reason, including the rejects.

  • A pure product purchase, with no labour.
  • In the client's categories.
  • A deadline far enough out.
  • A value in range.

The documents read.

For each one that passes, it creates a dated folder, downloads the agency's documents and extracts the shopping list: item numbers, descriptions, part numbers, quantities and units. The list can sit in a PDF table, a spreadsheet or the prose. Structured parsing runs first and the model is the fallback, so most extraction costs nothing.

Every line priced.

Each line item is priced against live distributor data feeds. Where no part number is given, it proposes the three best-fit products, each with a similarity rating. Prices go into two spreadsheets cloned from the client's own templates, with the profit margin left as a cell the client can edit.

The package assembled.

It writes a cover letter and a company information page, fills whichever agency forms can be filled by machine and flags the ones that need a notary. Everything is merged into one bid package PDF. A tracker task with 32 fields filled in doubles as the bid cover sheet.

From a new solicitation to a bid ready to sign

6 steps. Use the arrows to go through them.

How the AI is kept in check

  • Parsing first, model second. Structured parsing runs first. The model is only the fallback.
  • Rejects are filed, not dropped. Each one has a written reason, so the qualification rule can be audited.
  • The margin stays with the client. It is an editable cell, not baked into the formulas.
  • A person submits. Forms that need a notary are flagged, and a person reviews and files every bid.

Results

MeasureResult
Automated tests245 passing, across 29 test modules
Live runsEnd-to-end runs against real solicitations, with zero errors
Extraction74 line items extracted structurally from one real bid, with no model call
IntegrationsTen, including five live distributor data feeds
Distributor dataA 31,000-key cross-reference index, built to make one distributor's bulk API usable
Rejected bidsFiled with written reasons, not dropped, so the qualification rule can be audited

Where there is no client-verified business outcome, we report what was built and measured, not an estimated improvement.

Under the hood: stack and engineering notes

Stack: Python with agent orchestration, and Claude as the model. pdfplumber, openpyxl, pypdf and reportlab for the documents, spreadsheets and PDFs. pytest for the 245 tests.

A distributor API made usable: one distributor's bulk API could not be used as it was, so we built a cross-reference index with 31,000 keys.

Pricing sheets: two spreadsheets cloned from the client's own templates, with the profit margin left as an editable cell.

Spending your week reading solicitations?

Tell us how you find, price and file bids today on a 30-minute call. You leave with a plan and a cost, in writing.

Book a discovery call