How to Plan an AI Project
Planning an AI project means deciding, before you build, what problem you are solving, for whom, how you will know it works, and what could go wrong. A short project document answers these questions. It keeps the project small enough to finish, makes the evaluation honest, and later becomes the heart of your portfolio. Learning AI without building anything is incomplete: a finished, measured project is where the ideas in this course come together.
The Project Document
| Section | Description |
|---|---|
| Problem statement | It is used to describe the real problem, who has it, and why it matters, with evidence if possible |
| Target users | The specific people who will use it |
| Proposed solution | What the system does, and what it deliberately doesn't do |
| Architecture | It is used to show the parts and how data flows between them |
| Technology choices | Models, libraries and services, each with a reason |
| Data requirements | Where the data comes from, its quality, and how privacy is handled |
| Security considerations | It is used to list the attacks and misuse to defend against; see "Threats to AI Applications" |
| Evaluation criteria | How success is measured, with an evaluation set and a target score |
| Limitations | What it can't do well, honestly stated |
| Future improvements | The next steps, in order |
Example: Checking a First Draft
This program checks a first draft of a project document for a homework helper: are all ten sections there, and is each one specific enough to be useful?
import re
SECTIONS = ["Problem statement", "Target users", "Proposed solution", "Architecture", "Technology choices",
"Data requirements", "Security considerations", "Evaluation criteria", "Limitations", "Future improvements"]
# A first draft of a project document, written for this lesson
draft = """
# Homework Helper
## Problem statement
Students in grade 9 get stuck on algebra homework in the evening, when no teacher is available.
## Target users
Grade 9 students at Lincoln High School and their parents.
## Proposed solution
A chat assistant that gives hints, not answers, based on the class textbook.
## Architecture
Web page -> FastAPI backend -> retrieval over textbook chapters -> hosted model.
## Technology choices
Python, FastAPI, sentence-transformers, a hosted model API.
## Evaluation criteria
Good answers.
## Future improvements
Add geometry.
"""
found = {h.strip() for h in re.findall(r"^## (.+)$", draft, re.MULTILINE)}
missing = [s for s in SECTIONS if s not in found]
print(f"Sections present: {len(SECTIONS) - len(missing)}/{len(SECTIONS)}")
print("Missing:", ", ".join(missing) or "none")
# A section can be present and still too thin to be useful
for section in sorted(found, key=SECTIONS.index):
body = draft.split(f"## {section}\n")[1].split("\n##")[0].strip()
problems = []
if len(body.split()) < 8:
problems.append("too short")
if section == "Evaluation criteria" and not re.search(r"\d", body):
problems.append("no measurable target")
if problems:
print(f"{section}: {', '.join(problems)} ({body!r})")Sections present: 7/10
Missing: Data requirements, Security considerations, Limitations
Technology choices: too short ('Python, FastAPI, sentence-transformers, a hosted model API.')
Evaluation criteria: too short, no measurable target ('Good answers.')
Future improvements: too short ('Add geometry.')Explanation:
- Three sections are missing: data requirements, security considerations and limitations. These are the sections people skip most, and the ones reviewers look for.
- "Good answers" is not an evaluation criterion. A useful one names a test set and a target, for example: "30 homework questions written by a teacher; at least 25 get a correct hint that doesn't give away the answer."
- "Technology choices" lists tools but no reasons. Each choice should say why, for example: "sentence-transformers, because it runs locally and the textbook is private."
- The checker uses
re.findallto find##headings, then measures each section. It can't judge quality, but it catches the gaps that make a project hard to evaluate.
Keeping a Project Small Enough to Finish
| Instead of | Try |
|---|---|
| "An AI tutor for every subject" | Hints for grade 9 algebra homework |
| "Automate customer support" | Classify 100 support tickets into 4 kinds |
| "A chatbot that knows everything about our company" | Answer questions from 20 HR policy documents, with sources |
| "Use AI to improve sales" | Draft follow-up emails for one sales team, reviewed before sending |
Common Mistakes
Starting with the technology. "I want to use agents" is not a problem; start from the user.
No evaluation plan. Without one, you can't show the project works.
Too big a scope. One user group, one problem, one measured result.
Using data you aren't allowed to use. Check permission and remove personal data first.
Interview Corner
How do you plan an AI project?
Start from a real problem and named users, define what the system will and won't do, choose the simplest architecture that could work, and set evaluation criteria with a target before building. Add data, security, limitations and next steps, and keep the scope small enough to finish.
What makes a good evaluation criterion?
A named test set, a clear way to score each case, and a target decided in advance, such as "at least 25 of 30 questions answered correctly with a source".
Practice
Exercise: fix the draft. Add the three missing sections to the draft in the program, and rewrite the three thin ones so the checker reports nothing. Then write the evaluation criteria for a project of your own.
Check your understanding:
- Which three sections were missing from the draft?
- Why is "Good answers" not a usable evaluation criterion?
- How would you shrink "an AI tutor for every subject" into a project you could finish?
Key Takeaways
Quick reference
| Need | Practice |
|---|---|
| Template | The ten sections above |
| Evaluation | Test set + scoring rule + target, set in advance |
| Scope | One user group, one problem, one result |
| Data | Permission, quality checks, personal data removed |
| Check a draft | Every section present and specific |
Was this tutorial helpful?