An hour with an AI agent

Build a small tool with an AI agent in about an hour

An AI agent can write a working program faster than most people expect. With a clear idea and an honest view of the limits, an hour is enough for a small tool that does one job well. Here's how to spend that hour.

A chat bubble with an arrow to a simple app window showing form fields and a green result, beside a stopwatch

What fits in an hour

Pick a job with a clear beginning and end, used by one person or a small team.

Small company tools

A calculator, a schedule or a projection you'd otherwise rebuild in a spreadsheet every month. For example, a debt payoff schedule or an income projection.

One-off products

A tool for a single project, event or client: something useful for a few weeks that isn't worth a development budget.

Decision-making tools

A small app with your rules built in, so the same question gets the same answer every time. See the decision tool guide.

What we don't teach here: some people connect AI agents to their email, bank accounts, calendars and other accounts so the agent can act for them. We don't cover that on this site, and we strongly discourage connecting AI to sensitive systems: an agent with direct access can send, pay, share or delete things you didn't intend. When we use AI with sensitive information in our own work, there's always an automated step in between, and the AI never has direct access to the sensitive system. The tools in these guides run on their own, in your browser, and don't need access to any of your accounts.

Why we use Claude

For the small tools on this site, we use Claude, from Anthropic. Other AI agents can do this too. This is our preference today, not a rule, and not a forever verdict: the AIs keep improving, and we'll revisit it as they do.

You see the tool as it's built

Claude shows a single-page app as an "artifact" beside the conversation, so you can try it, ask for a change, and try again. You can download the file to keep.

AI inside the tool, without API keys

If part of the job needs AI, like reading a note or summarizing text, the tool can use Claude inside it. It runs on your Claude subscription, and people you share it with use their own Claude account, so there are no API keys to set up or bills to manage.

The rules still live in the tool

Keep the AI to the parts that need it. Decision rules stay in the configuration, so the answer doesn't depend on what the AI remembers or how it feels that day.

What about ChatGPT? ChatGPT offers something similar. In our experience, though, it mixes the main conversation with the app's own conversation, which we've found more confusing to work with. That's our assessment today, and it may change as both products improve.

Honest notes: plans, limits and features change, so check what your Claude plan includes today. Anything typed into a tool that uses Claude inside it is sent to Anthropic, so keep sensitive information out. We're not affiliated with Anthropic; we just like how it works for this kind of project.

How to spend the hour

These steps assume Claude, but any capable AI agent will follow them. The way you work matters more than which one you choose.

  1. Write down the job (10 minutes)

    Who uses it, what they type in, and what they should get out. Work one real example by hand, with real numbers. That example becomes your test.

  2. Ask for a single-page app (5 minutes)

    Ask Claude for one HTML file, with no server and no sign-in of its own. It will show the app as an artifact you can try right away. Ask it to keep three things apart: the configuration (your rules, rates and limits, in one labeled block), the code that enforces them, and the data, which stays facts only. Keeping it small and separated keeps it understandable.

  3. Check it against your example (15 minutes)

    Open it, enter your example, and compare the answer with yours. If they differ, find out why before you add anything.

  4. Improve it one change at a time (20 minutes)

    Ask for one change, check it, then ask for the next. When a rule changes, change the configuration, not the code. Big requests with many changes are where agents tend to break things that already worked.

  5. Write down what it doesn't do (10 minutes)

    Note its assumptions and the cases you didn't test. Download a copy of the working version. Your future self, and anyone you share it with, will need to know.

A starting prompt: "Build a single HTML file I can open in my browser. It should [do this job]. The user enters [these inputs] and sees [this output]. Put every rule, rate and limit in one configuration block at the top, separate from the code, and keep the data as plain facts with no rules or results stored in it. Don't use a server or store any data. Here is a worked example to test against: [your example]."

What to expect

Be ready for rough edges. A tool built in an hour may look plain, mishandle unusual inputs, or get a calculation wrong in a case you didn't test. For a tool one person uses to think something through, that's often fine. Just check its answers the way you'd check a spreadsheet someone handed you.

  • Test it with real examples before you trust it.
  • Keep personal and confidential data out of the AI conversation.
  • If the tool uses Claude inside it, remember that whatever is typed into it goes to Anthropic too.
  • Keep a copy of each working version before asking for changes.

Where do-it-yourself stops being enough

An hour with an AI agent is a good way to get a useful tool or test an idea. It isn't a good way to build software your company relies on. Bring in a professional when:

  • Many people need to use it, especially with sign-ins
  • It stores customer, financial or other sensitive data
  • Your business would stop if it broke
  • It needs proper hosting, backups and security

Infrastructure and security are the two big reasons. If you work at a large enterprise, don't build software the company depends on this way. A decision tool or a prototype may be a reasonable exception, within your company's AI policy.

How to tell when a tool has outgrown do-it-yourself

When it needs to be a product

Built something your team now relies on?

That's when infrastructure and security matter most, and they're the two best reasons not to build it all yourself. Software KC builds custom software with both included by default, and stands behind what it builds. Tell us what you have, and we'll give you an honest view of what it needs.