Build Your First AI Agent · Lesson 4 of 10
Design the Output
Define an output contract that stays useful across repeated runs, using ChatGPT as your building partner while you make and verify the final decisions.
What You’re Building
Define an output contract that stays useful across repeated runs.
Time: 8 minutes. Keep your work in one document so each module builds on the last.
Why It Matters
An output contract is how you recognize a job well done. Fixed headings or fields reduce cleanup, while honest unknowns are more useful than fabricated completeness.
Build It
Open a fresh ChatGPT chat for this module. Copy the ChatGPT Coach Prompt below, replace every bracketed field with your saved work, and send it. Answer one question at a time. Ask ChatGPT to explain unfamiliar words, but keep the final decisions and checks yourself. Save the useful result in your working document.
- Choose the result format your next step needs: a brief, table, checklist or draft.
- List required fields and a sensible length limit.
- Decide where uncertainty, missing details and review flags belong.
- Handwrite a small correct output using one example.
- Include a rule that facts must remain traceable to the provided source. A model’s confidence is not evidence.
Success looks like this: you saved the requested artifact, can explain it in plain language, and checked it against this lesson’s Test It section. If that is not true yet, do not mark the checkpoint complete.
ChatGPT Coach Prompt
Act as my ChatGPT building partner. Using this agent job and input template, help me design an output contract. Ask what the person will do with the result. Propose a format, required sections, length, uncertainty labels, and a rule for missing information. Give one good and one bad miniature example, then wait for my approval.
Agent Output Designer
OUTPUT DESIGNER Deliverable name: Required headings/fields (in order): Length/size limit: Style: How to show missing details: How to show conflicts or uncertainty: Facts I must be able to trace to the source: Human review flags: A small correct example: ACCEPTANCE CHECK The output follows the format, stays inside the job, preserves source facts and supports the intended next action.
Example
Meeting Notes Helper returns: Decisions, Actions (task | owner | due date), and Open Questions. Notes saying “Lee will send the agenda” produce an action with Lee as owner and “Not specified” as due date. Discussion of a possible launch next month belongs under Open Questions unless a decision was actually recorded.
Test It
Compare two possible outputs: one with elegant prose but an invented deadline, and one with the correct fields and an honest unknown. Only the second passes. For your own example, mark where each output fact came from.
Troubleshooting
If the agent produces extra essays, explicitly limit it to the contract. If your table needs too many columns, remove anything not used in the next step. If your job needs a draft and a review note, name both sections instead of mixing them. If ChatGPT gives too much at once, reply: ‘Stop. Ask me one question at a time and wait for my answer.’ If it assumes facts, point to the unsupported sentence and ask which supplied evidence supports it. Start a fresh chat with the saved prompt and context when the conversation becomes confused.