How to Plan an AI Project

Updated · 7 min read
easyPython 3.13aiprojectsplanningproject-documentcapstone

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

SectionDescription
Problem statementIt is used to describe the real problem, who has it, and why it matters, with evidence if possible
Target usersThe specific people who will use it
Proposed solutionWhat the system does, and what it deliberately doesn't do
ArchitectureIt is used to show the parts and how data flows between them
Technology choicesModels, libraries and services, each with a reason
Data requirementsWhere the data comes from, its quality, and how privacy is handled
Security considerationsIt is used to list the attacks and misuse to defend against; see "Threats to AI Applications"
Evaluation criteriaHow success is measured, with an evaluation set and a target score
LimitationsWhat it can't do well, honestly stated
Future improvementsThe 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?

Ten sections, each specific enough to test
Python
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})")
Output
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.findall to 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 ofTry
"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:

  1. Which three sections were missing from the draft?
  2. Why is "Good answers" not a usable evaluation criterion?
  3. How would you shrink "an AI tutor for every subject" into a project you could finish?

Quick check: planning an AI project

4 questions
1How many of the ten sections did the draft have?
2When should you write the evaluation criteria?
3What should each technology choice include?
4What is the best first step for a project?

Key Takeaways

Quick reference

NeedPractice
TemplateThe ten sections above
EvaluationTest set + scoring rule + target, set in advance
ScopeOne user group, one problem, one result
DataPermission, quality checks, personal data removed
Check a draftEvery section present and specific

Was this tutorial helpful?

Lesson 178 of 186