AI for Gen X: I Built an Estimate Engine
If you are a working professional trying to figure out AI, I recommend Greg Kaupp’s AI Over 40 series.
Some things are easier with AI, sure. Personal productivity is low-hanging fruit. Pick it. Start by solving your calendar, your to do list, etc. That’s a different blog post. Get your hands dirty. Learn some basics with something that makes you more productive. I did that and felt smart. “This AI stuff isn’t too bad,” I told myself. Then I decided to build something for the team. Moving beyond your own productivity is where AI gets harder.
I work in presales at eOne Solutions. We connect systems for a living. It’s a lot of ERP + CRM + God only knows. We do a lot of estimates. Often we have to figure out if we can connect to that database/website/application we’ve never heard of. That requires research. Is there a REST API? Can we reasonably connect to it? Is there documentation? etc.
It’s pretty easy in these circumstances to spend 4 hours coming up with an estimate and another hour shoehorning it into our Word template. Doing math in Word to turn hours into dollars is one of my least favorite things. The process is rough and it wasn’t unusual for it to take a week to get the research done and estimate out. Everyone on the team hated this process so it was ripe for a fix.
I decided to use Claude to build an Estimate Engine, and it mostly works. It wasn’t magic, it was a lot of work, we’re on version 4 now, but it was worth it. I used Claude because that’s what eOne pays for. I’m certain Codex and others could do it. I’m honestly not sure about Microsoft Copilot or what that experience would be like.
Today, when an estimate comes in I tell Claude what I want to estimate. Customer, Partner, Salesperson, Estimator. Connectors, etc. I manually drop in a Chorus or Teams transcript, salesperson’s notes, and relevant email text. I drop in my rough plan, if I have one. Usually we’ve had a meeting and I have some idea of the right way to approach this problem. In about 5 minutes I get a pre-estimate to review. I tune it up or down and say go. Then I get a fully formed estimate in a Word doc so I can still tune it by hand if I need to. It’s maybe 20 minutes now for a moderately complicated estimate.
The plan for future iterations is to bring in customer and partner information along with notes from HubSpot, plus follow the link to grab the Chorus transcript. This all depends on connectors and being able to get at the data. The Chorus link, for example, is freeform text, in a meeting, in a deal. Not the simplest to grab, but not impossible. We’ve already started a similar Statement of Work (SOW) process to ingest estimates and build more refined SOWs to get something we can deliver. The next step from there is SOW to Teamwork, our project management software. This has been tested; we’re just validating the process before we finish the build. All of these have been tested, but getting from tested to final is harder than anyone likes to describe. We shipped what we had before it was finished. A working estimate engine that gives back hours today beats a perfect one that ships next year, and that was the point. Instead of 5 hours over 5 days, the estimate is 20 minutes and there’s an incentive to build it sooner since the information is fresh. It sounds like magic, but it’s not.
I built this using Claude Cowork. We have about 5 years of estimates and SOWs sitting in SharePoint. That was the starting point. We also have about 2 years of project actuals in Teamwork. The company has been around longer than that, but systems change and realistically, 5 years is plenty of data.
What is this thing and how did I build it?
Claude read all the estimates and SOWs as docx files or PDFs and created a light JSON knowledge base (KB). The base is essentially statistics and pointers. This updates weekly as new estimates and SOWs are added to SharePoint. When an estimate is finished, it gets added to SharePoint and ingested as another data point.
When I ask for an estimate, Claude checks the KB to find similar projects. Projects with the same or similar eOne product, connectors, migration data, etc. It settles on an anchor project, the most similar it can find, and tunes up or down based on the specifics. For example, if we need a Salesforce to Business Central integration estimate with Concur to BC thrown in as well, the best match might be a Salesforce to Business Central anchor and then Claude tunes the hours up for the added connector.
If we haven’t connected to a system, Claude researches the system with a set of parameters of what a good connector looks like for us, and comes back with a recommendation.
Claude then looks at the anchor estimate, a related SOW if it exists, and project totals if they exist to fine tune the hours. We adjust the project actuals for change orders to get back to a baseline project to match a baseline estimate/SOW.
This fits how we would estimate today, we would search for a similar project, an anchor, and use our expertise to tune up or down. Now we have a lot more detail and we spend our time using judgement instead of Word. It’s much easier to critically evaluate work you didn’t spend 5 hours building. We have time to sit back and say does 35-50 hours seem like a good estimate? Yeah, this is about 2 weeks’ worth of work, give or take. Or maybe, that seems high why? At any point we can push back on Claude and make it justify the estimate, add, remove, fine tune. The levers are plenty, but this is an estimate, so close enough works.
Once we’re happy, Claude generates two documents, the estimate and a supplement. The estimate is just that, the estimate for our customer with all our boilerplate, project notes, details, etc. The supplement is designed to explain how we got to this estimate at a level understandable by salespeople. What did we anchor on, why did this get tuned up or down? What is the rough, high-level implementation plan assumed in here?
The supplement data has not previously been captured except in estimate notes. We think having it will be helpful moving from estimate to SOW and for building better estimates long term.
Both docs are sent to the salesperson. The estimate goes to the prospect, and the estimator saves both docs in SharePoint to be added to the knowledge base later.
But here’s the thing, AI built all of this, but AI doesn’t run it all. I’m using an Oreo model. Updating and potentially rebuilding the KB is a set of python scripts built by Claude. It’s deterministic. Claude can’t hallucinate that part. The data load is consistent. The output is also python written by AI. The Word doc is always consistent. Claude is just inserting the details into a template. Claude’s work is the fuzzy part. Identifying an anchor, tuning it, etc. The engine has an additional step that audits the anchor to confirm it’s a reasonable choice. We have steadily reduced the mushy middle to let Claude do what it does best. Two hard, deterministic edges with a Claude in the mushy middle. That’s our Oreo.
Version 1 started with trying to assign hours to processes. That didn’t work. There’s a lot of art to integration building. In version two, I over tuned the deterministic portion. Claude wasn’t free to be Claude, and all the estimates fell within a narrow range. Also, I switched the core to focus on projects, but Claude kept tuning to an average project. In version 3 I settled on the anchor approach with better results. Version 4 introduced multiple possible anchors, selecting a primary and auditing that primary. We keep squeezing the middle, we want to limit Claude’s room to go awry. Anything that can be deterministic is, I’m just careful to not squeeze out the judgement process.
I want to emphasize; I didn’t write any code. I described what I wanted. I asked questions, I made Claude ask me questions and we adjusted every time we learned something. There’s more to come, but this core would have been hard to build at this level, for me, without AI. In the past I would have needed dedicated dev time that I was never going to get. Maybe something half-baked could be built with Excel to get us closer, but nothing like this. It’s also not done. We may put a traditional interface on it. We are still fine tuning. A lot. Heck we may still be rough tuning instead of fine tuning. But I built this as a skill and I’ve shared the skill. That way there’s one version that anyone authorized can use. People can and are splitting it off to play with, but we’re pulling improvements into a single skill for consistency. There’s still an art to estimates, maybe there always will be. I didn’t need to squeeze out the art; I needed to squeeze out the time. Customers are now getting estimates next day instead of next week.
There are more ideas like this out there. I’m sure there are other ways to build this. The next estimate engine someone builds will be different. The data will live somewhere else, the parameters will be different, etc., but the ability to go from idea to finished product to something that gives back time has never been easier. If you’re building something cool, drop a comment. We need better examples. Now go build something.