The gold lot assayed at 2.41 grams per tonne. The contract expected 3.10. I asked a small open-source model whether that was CLEAN or an EXCEPTION, and it came back with this:

CLEAN - The assay result falls within the expected range of 3.10 g/t.

It isn't. 2.41 is about 22% short of 3.10, and anyone who has sat in a mine's finance office would flag it before finishing their coffee. The model didn't hedge at all. It ran on a GPU I'd rented off a decentralized network for nineteen cents an hour.

I built Proof-of-Assay for the Decentralize AI Hackathon, and that wrong answer ended up being the most useful thing the live run gave me. I'll explain why. First, some background on the problem.

Synthetic-data disclosure: All mining documents in this post are synthetic fixtures created for this demo. Amounts are deterministic fixture arithmetic, not real mine payables. No real assay or invoice has been processed.

Where this comes from

I'm Shyam. I'm a CFO by trade, and I run Cubiczan on my own, doing corporate finance for junior mining companies. I started writing code later than most people who post here, mostly because I got tired of waiting for tools that fit how mining money actually moves.

And it moves on paper. Two pieces, mainly: an assay certificate and an invoice. The assay tells you what's really in the material, meaning grade and tonnage. The invoice tells you what someone wants to be paid. The contract sets the price. If the invoice's grade, tonnage or unit price drifts away from the other two, you're paying for metal you never got.

What bugs me more is what happens afterward. Once the payment's out, you can't really re-run the decision. Which numbers did someone approve, against which rule? You get a spreadsheet, maybe an email chain, and somebody's memory of a Tuesday afternoon.

Everyone wants to put AI agents on this kind of work now, and I get it. But an AI auditor I can't re-verify is a black box that happens to be quick. If I can't replay its call six months later and get the same answer, my audit trail hasn't improved. It's gotten worse, faster.

So for the hackathon I gave myself one rule. The same documents and the same rules have to produce the same verdict, and anybody should be able to check that without taking my word for it.

What I actually built

There are four pieces. I'll take them in the order a lot of ore would hit them.

The first is plain reconciliation. For each lot, the expected amount is tonnes times the contracted price. The audit core is ordinary Python. It compares invoice to assay to contract, flags grade, quantity and amount variances, and puts a dollar figure on the cash at risk. The rules make the call, not the language model. That also means you can reproduce everything on a laptop with no GPU.

I made eight synthetic lots: gold, copper, silver-bearing and zinc concentrates from made-up suppliers. Five came back clean and three didn't, one each for grade, quantity and price. A couple of them are pretty much what I've watched go wrong in real deals. On one gold lot, the invoice claimed 2.85 g/t while the assay said 2.41, and the bill landed $132,480.50 above what the contract supported. On another, the invoice billed 1,126 tonnes against 960 contracted. That's a $98,215.44 gap. Across all eight lots, the cash at risk added up to $289,849.19.

The second piece is a SHA-256 hash chain. It has a genesis entry, one entry per lot, a summary and an anchor slot, so 11 entries in all. Change any payload and every hash after it breaks.

Checking it yourself takes a couple of commands:

python scripts/reproduce.py # 8 lots, 5 clean, 3 exceptions, $289,849.19 at risk -> results.json python scripts/verify_chain.py # PASS python scripts/verify_chain.py --tamper # FAIL 

The third piece is the model. Qwen2.5-1.5B-Instruct, served through vLLM's OpenAI-compatible server on Nosana, handles narration and extraction. It's there to help a person read the audit. It doesn't decide anything. Honestly, when I set it up that way it was more instinct than proof. The live run gave me the proof.

The fourth piece puts the receipts on Arweave, so the evidence sticks around longer than my servers, or my company, for that matter.

Sitting on top is a small Streamlit verifier. It shows the lots, the exceptions, the cash at risk and the chain. It also has a tamper toggle: flip it, one payload changes, and verification drops from PASS to FAIL. If you only click one thing in the demo, click that.

Going live on Nosana (and the parts that broke)

On October 18, 2026, I moved inference off my laptop and onto Nosana, using the $70 participant credit.

The first try stalled. I'd pointed the deployment at the :latest vLLM image and it just sat there pulling it. I stopped that one (EoxQqgJqLABH9A5bZpUxzmJZN6gPHhzwDmGUJpmQLkZn), pinned the image to vllm/vllm-openai:v0.10.2, and tried again. That worked. Lesson learned the cheap way: pin your tags on somebody else's GPU, because you don't control their cache.

The second deployment, 9K9q9zJDhoybSoeY4eC7zMnmM7eaRPRp1CG5AHpPG6py, ran on an NVIDIA RTX 3090 24GB at $0.19 an hour (market CA5pMpqkYFKtme7K31pNB1s62X2SdhEv1nN9RdxKCpuQ). It still wasn't smooth. The first serving job (7Xkyj1TmuzaoG7Gaoek3YshDgRpp8Q1oaDLVZKxfxsL8) crashed, and before I'd worked out what to do about it, Nosana had already swapped in a replacement, CUB9FuZkdLH2Pr7jXBhwgovkSdseQwGXpNSSQcphaaEE.

I'll admit I'd expected to babysit the node. I didn't have to.

After that it got pleasantly dull. GET /v1/models returned HTTP 200 at 22:00:55 UTC, about two minutes after I'd created the deployment. Qwen2.5-1.5B-Instruct, max model length 4096, port 8000. The full job definition is in the repo at nosana/proof-of-assay-vllm.json if you want to copy it.

Then I asked it about the gold lot.

So the model was wrong

Same question as at the top. A lot assaying 2.41 g/t Au against 3.10 g/t expected: EXCEPTION or CLEAN?

CLEAN - The assay result falls within the expected range of 3.10 g/t.

If the model had been the auditor, that lot would have gone straight through. In a real payables run, that's how money leaves for metal that isn't there.

It wasn't the auditor, though. The tolerance rules and the hash chain flagged the three exceptions and priced the $289,849.19. The model was off to the side, so its mistake stayed a sentence on a screen instead of turning into a payment.

I should be careful about how much this shows. It shows the decentralized serving path works: a real open model on a real Nosana GPU, reachable and answering. It doesn't show that a 1.5B model can audit on its own, and I'm not claiming that. I ran exactly one live test completion and it was wrong. That's all the accuracy data I have, and I'm not going to dress it up.

My working rule in finance now is that the model can talk, but the rules sign. Maybe a bigger model would've gotten this one right. I don't know yet. Even if it had, I'd still want a rule I can replay sitting between the model and the money.

As soon as I had the answer, I shut everything down. The stop transaction for the serving deployment is 8ayoF3Rar1VgJ3dxFsLv6jgEeW33rhX9bxryEWvTJexTRNPZ3T8QAXFG6Z8mpJA2DVLyVdbzxF9ymv3MLxjgoy7, and the stalled first one was stopped with 3nK38ApeiLXG4h8Fv1EvE275G5fXAQmKrRBU6uVB7uDuroz8jJUNBJSEHLWCEdVcPtaTLyLE4QpgdeiZy2BcX5Tt. Total spend across both came to about $0.26, leaving roughly $69.70 of the $70.

I'm a CFO, so of course that's the number I keep coming back to. A session that's short and stopped right after use burns credit in minutes, not days. It's also why the endpoint isn't running right now. It was a live run, not a service, and I'd rather say so than leave a link that quietly 404s.

Getting the receipt somewhere I can't edit it

A hash chain on my own machine only means something if you trust my machine. You shouldn't have to. So the last step was putting the receipt somewhere even I can't quietly change it.

The bundle holds the 8-lot audit, the full 11-entry chain, the PASS result and the Nosana evidence above, 12,473 bytes in all. It went to Arweave through the ar.io Turbo free tier:

  • Transaction: yTIbmFhgUS88RNaO2W92Oy7kPigpMyRUmToOeumLSus
  • Gateway: https://arweave.net/yTIbmFhgUS88RNaO2W92Oy7kPigpMyRUmToOeumLSus
  • Turbo gateway (same payload): https://turbo-gateway.com/raw/yTIbmFhgUS88RNaO2W92Oy7kPigpMyRUmToOeumLSus
  • Chain head: 907c7041a4a27a44941acf90699a019c8cfe08b0eb4d3f7ef9c3636c8c6cd5ac
  • Payload SHA-256: 14f0cc328daa1c82d9d85ef5f337afd8d693e3c53ef084e3a84358ab8b2432fc

It cost 0 winc. It fit inside the free allowance, so I didn't buy credits with a card or crypto, and I never funded the local signer wallet. Afterward I did what I'd expect an auditor to do: I pulled the payload back from both gateways and compared hashes. Both returned the same 12,473 bytes, and the SHA-256 matched.

One thing confused me for a minute, and it might confuse you too. Entry 10 in the anchored chain is a placeholder, and the live Arweave transaction ID isn't in the chain at all. It's recorded outside it, here and in live_evidence.json. The reason is a bit circular. The transaction anchors the chain head, so writing the transaction ID into the chain would change the head, and then the transaction wouldn't be anchoring it anymore. It's a bit like trying to print a receipt's own serial number on the thing it's a receipt for.

What I'd tell someone trying this

For me, being able to reproduce a decision matters more than speed. In mine finance, an audit agent is only worth something if someone can replay its call months later and land on the same answer. Rules plus a hash chain give you that. A model on its own doesn't, at least not yet.

The 1.5B model was fine at what I used it for. It served cleanly on cheap hardware and wrote readable text. It was also confidently wrong on the one audit question I gave it. Both of those are true, and the design has to allow for both.

Decentralized GPU worked better than I'd assumed for a short, scoped job. Pin the image, don't panic when a job crashes, and stop the deployment when you're done. Two minutes to a healthy endpoint and about a quarter for the whole session made me rethink where this kind of inference can live.

And once the receipt is on Arweave and anyone can pull it and re-hash it, the conversation stops being "trust me." It becomes "go check." That's pretty much what my day job is.

Limitations

Everything here runs on synthetic fixtures. No real assay or invoice has gone through it. The Nosana deployment was a short live run and it's stopped, so there's no endpoint to hit. The model's one live audit answer was wrong, and I'm not making any accuracy claim beyond that. The verdicts come from deterministic rules, not the model.

Next

In a longer session I want to see whether a larger open model does better on narration and extraction, with the rules still making the decision. I also owe a Nosana follow-up that breaks down how the credits were spent.

The code's public at https://github.com/Cubiczan/proof-of-assay, and live_evidence.json has every ID above in machine-readable form. The verifier lives at https://proof-of-assay.vercel.app/. Go flip the tamper toggle. If you find a way to get a FAIL to read as PASS, I'd genuinely like to hear about it.