Back to blog
AI

From Prompt to Production: Making AI-Generated Code Actually Usable

There’s a big gap between:

“AI can generate code”

and

“AI can help you ship something real”

I’ve been working on tools that bring AI directly into production workflows, specifically inside ArcGIS Pro.

The goal isn’t novelty.

It’s usability.

The dream

You type:

“Find all parcels within 500 feet of a fault line and summarize by county”

And you get:

The reality

What you actually get is:

The output might run, but:

So how do you make it usable?

You don’t just generate code.

You build a system around it.

Pattern 1: Constrained generation

Don’t let AI generate anything.

Give it structure:

This reduces hallucination dramatically.

Pattern 2: Execution guardrails

Before running anything:

I’ve been using:

This turns “risky automation” into something usable.

Pattern 3: Human-in-the-loop

The best workflows aren’t:

They’re hybrid.

AI accelerates:

Humans handle:

The mental model shift

Stop thinking of AI as:

“a coder”

Think of it as:

“a fast but unreliable junior developer”

You wouldn’t:

Same rules apply.

Where this gets interesting

Once you have guardrails, you can start doing more:

This is where “agentic workflows” actually start to mean something.

What I’m working on now

Final thought

The question isn’t:

“Can AI write code?”

It can.

The real question is:

“Can we build systems where that code is safe, correct, and useful?”

That’s the problem worth solving.