---
title: Designing reliable AI agents | Moon Inc.
url: https://www.mooninc.ai/agent-design.html
description: Give an agent the smallest set of tools and permissions required for the job.
updated: 2026-12-03
---

[Home](https://www.mooninc.ai/index.html) / [Resources](https://www.mooninc.ai/resources.html)

Moon Inc. / Field notes

# Designing reliable AI agents

Give an agent the smallest set of tools and permissions required for the job. State the inputs, permitted outputs, stop condition and what the agent must never do.

Last updated 3 December 2026

**On this page**[Start with one job](#part-1)[Separate instructions from retrieved data](#part-2)[Require explicit approval](#part-3)[Evaluate recovery](#part-4)[Decision checklist](#checklist)

1. 01**Goal**[Start with one job ↗](#part-1)
2. 02**Policy**[Separate instructions from retrieved data ↗](#part-2)
3. 03**Tool**[Require explicit approval ↗](#part-3)
4. 04**Review**[Evaluate recovery ↗](#part-4)

Select a stage to jump to the explanation and action steps.

## How do you start with one job?

State the inputs, permitted outputs, stop condition and what the agent must never do. Use a simple workflow instead of an autonomous agent when the sequence is known. Related reading: [intelligent systems](https://www.mooninc.ai/intelligent-systems.html), [ai evaluation and release gates](https://www.mooninc.ai/ai-evaluation.html), [privacy by design for digital products](https://www.mooninc.ai/privacy-by-design.html).

## How do you separate instructions from retrieved data?

Treat documents, web pages and messages as untrusted input. Validate requested actions against the original user goal and a separate permission policy.

## How do you require explicit approval?

Distinguish reading, drafting and executing. Require confirmation for payments, external communication or destructive changes, with a clear action summary.

## How do you evaluate recovery?

Simulate malformed tool responses, permission denial, prompt injection and duplicate retries. Verify that the agent stops or requests human help instead of expanding its authority.

## Decision checklist

* Allowed tool inventory
* Approval boundaries
* Adversarial and failure tests

Field guides and practical tools

## Continue exploring.

Find an answer, test an assumption or prepare a project.

[Guide

### Intelligent systems

Connect data, models and tools into a system that behaves predictably when inputs are imperfect.

Read more ↗](https://www.mooninc.ai/intelligent-systems.html)[Guide

### AI evaluation and release gates

A useful evaluation shows where a system fails and whether those failures are acceptable.

Read more ↗](https://www.mooninc.ai/ai-evaluation.html)[Guide

### Privacy by design for digital products

Reduce the amount of personal data a system needs and make its handling understandable.

Read more ↗](https://www.mooninc.ai/privacy-by-design.html)
