Magai

How to Use AI to Write Grant Proposals, Facts First

How to use AI to write grant proposals from the funder's guidelines and your own records, with every figure traced to a source file.

By Dustin W. StoutPublished 18 min read
A nonprofit program director at a cluttered wooden desk by a window, with a laptop, a stack of printed records and a mug of coffee

Most grant proposals written with AI don't fail on a sentence. They fail on a number.

How to use AI to write grant proposals: put the funder's guidelines and your own records in the thread as files, make the model list every figure with its source before it drafts a word, write only from that list, and have a second model check each figure against the file it came from.

That takes an afternoon. It also holds up on the day a program officer calls to ask where a number came from.

Think about how your accountant works. She never asks what you think you spent. She asks for the receipts, and every line on the return points at one.

A grant application is a return you file with a funder. You sign it. You answer for it.

And you're doing it with a staff of three, a grant due Friday, forty donors still owed a thank you, a board update coming and a volunteer drive half planned. The pull to paste the guidelines into a chat box and take whatever comes back is strong.

A model will write five fluent pages in about a minute. Fluent is the danger. A wrong number in a clumsy paragraph gets caught. A wrong number in a smooth one gets signed.

So the work is giving every figure a receipt.

Everything below is one application, start to finish, in one Magai thread. The organization is made up: Riverbend Reading Project, an after-school tutoring program, asking the equally made up Harlan Family Foundation for $75,000. The files are made up too. The prompts are typed exactly as shown, and the replies are trimmed for length. Use your own files and the steps don't change.

Start with five files, not a blank prompt

Open a new chat in Magai and attach your files before you type a word. This is the capability the rest of the post leans on. A file in the thread means the model works from your records instead of from what it remembers about nonprofits in general, and the files stay in the conversation when you switch models later.

Five files cover most applications:

File What it is What it settles
harlan-guidelines.pdf The funder's guidance Limits, scoring, eligibility, rules on AI
roster-export-2025-26.csv Who attended and how often, by student code Headcounts
assessment-results-2025-26.csv Fall and spring reading levels by student code Outcomes
program-budget-2026-27.xlsx The budget, line by line Cost and the request
annual-report-2025.pdf What you told the public last year Numbers you have to reconcile

Six manila folders fanned out in a row beside an open laptop and a pen on a tidy desk

Strip the names before you upload. Student codes stay, names go. The model doesn't need to know who a child is to count children. Prompts, files and outputs in Magai are never used to train any model. You still don't hand over what the job doesn't need.

Outside statistics need a file as well. Your district's reading numbers come from a report you can point at, so you'll download that page and upload it when the model asks. A statistic with no file behind it doesn't get used.

Now ask for the funder's rules before you ask for a single sentence. Type this:

I'm the director of Riverbend Reading Project. Our application to the Harlan Family Foundation is due Friday at 5 p.m. The attached harlan-guidelines.pdf is their guidance. Read it and give me a table with one row per section: the section name, the word or page limit, the points it is worth in scoring, what the funder says it wants to see, and any attachment it requires. Then list every general rule, such as eligibility, data age, formatting and AI use. Quote the funder's words for each rule. Do not draft anything yet.

The reply comes back as a table. Trimmed:

Section Limit Points What the funder wants to see Attachment
Need statement 500 words 25 Local data on children reading below grade level, under 24 months old, with sources None
Program design 750 words 30 Who is served, how often, how tutors are trained Tutor training outline
Outcomes Table plus 250 words 25 Measured gain and the number of children measured None
Budget narrative 400 words 20 Each line tied to an activity Budget form

Under the table, the model listed the general rules, quoting the funder for each. Three matter later. Requests can't exceed $75,000. Data older than 24 months isn't scored. And applicants may use AI tools to prepare the application, but the signer is responsible for the accuracy of every statement.

Open the guidelines PDF and check the table against it once. Three minutes. Every step after this leans on that table, so a wrong limit here costs you a rewrite on Thursday night.

Hold on to one phrase in the outcomes row: the number of children measured. Your files hold two answers to that, and the next step is where they collide.

Make the model list every figure before it writes a sentence

This is the step most people skip, and it's the reason everything after it works. Before any prose, ask for a ledger: every number you might use, with a receipt attached.

Type this:

Using only the attached files, build a figures ledger for this application. One row per number I might use: an ID (L1, L2 and so on), what the number is, the value, the file it comes from, and where in the file. Show the denominator whenever the number is a percentage. If two files give different values for the same thing, do not pick one. Put those in a list called Conflicts and tell me what each file says. If a number I might need is not in the files, do not estimate it. List it under Missing.

The reply, trimmed:

ID What the number is Value Source
L1 Children who attended at least one session, 2025-26 412 roster export, unique student codes
L2 Children who attended 10 or more sessions 388 roster export, sessions column
L3 Children with both a fall and a spring assessment 301 assessment results, rows with both scores
L4 Of L3, reading below grade level in fall 187 assessment results, fall level
L5 L4 as a share of L3 62% 187 of 301
L6 Of L3, gained one grade level or more by spring 214 assessment results, spring minus fall
L7 L6 as a share of L3 71% 214 of 301
L8 Program budget, 2026-27 $186,400 budget file, Total row
L9 Coordinator salary $62,000 budget file, Personnel tab
L10 Cost per child $480 derived: L8 divided by L2

Below the table, two lists:

Conflicts. Children served: annual-report-2025.pdf, page 2, says 412 served. The roster shows 412 attended at least one session and 388 attended ten or more. I did not pick one.

Missing. How many third graders in your district read below grade level. No file gives it. Why 87 of the 388 children have no matched fall and spring scores. No file records a reason.

The ledger is the useful part, and the Conflicts list is the most useful part of the ledger. Both numbers sit in your files. Both are honest. Put them in one sentence and you've told a funder something your records don't say.

Here is the sentence a hurried draft produces: "Last year Riverbend served 412 children, and 71 percent gained a grade level." Read it the way a funder does. Seventy-one percent of 412 is about 292 children. Your assessment file shows 214. The 71 percent belongs to the 301 children who were measured, and the 412 includes children who came once.

A paper receipt spike holding a stack of receipts beside an open ledger book and a pencil on a printed spreadsheet

The denominator changes the cost too. $186,400 divided by 388 is $480 a child. Divided by 412 it's $452. Same budget, a $28 difference, and each answer sounds reasonable until a program officer asks which children you counted.

So decide, and decide in writing, in the thread. Type: "Report 388 as the number of children in the program and 301 as the number measured. Do not use L1 in the application." Every later reply now works from your decision and not from a guess.

Notice what the model refused to do. It wouldn't pick a number and it wouldn't estimate one. That refusal is the behavior you want, and the Missing list is your to-do list. The district figure comes from a public report, so download it, upload it and ask for a ledger row. The 87 is different. Only you know why 87 children have no spring score, and the model shouldn't guess.

Draft the need statement from the ledger and nothing else

Now the model writes, under rules, and the rules are the prompt. Type this:

Draft the need statement for the Harlan application. Limit: 450 words, so I have room to edit. Use only figures from the ledger. Put the ledger ID in square brackets after every figure, like [L6]. Report 388 as the number of children in the program and 301 as the number measured, and say which is which in the sentence where outcomes appear. If a sentence needs a number we do not have, write [NEED: what is missing] and move on. Write in plain first person plural, the way a program director talks to a neighbor. No phrases like "uniquely positioned" or "critical need".

The reply, first paragraph, trimmed:

This year 388 children came to Riverbend Reading Project ten or more times [L2]. We measured 301 of them in both fall and spring [L3]. Of those 301, 187 started the year reading below grade level [L4], which is 62 percent [L5]. By spring, 214 of the 301 had gained a grade level or more [L6], or 71 percent of the children we measured [L7].

[NEED: share of third graders in our district reading below grade level, from a published source]

Three things to notice. The model used 388 and 301 the way you told it to, and said which was which in the sentence. It put a flag where the district number belongs instead of inventing one. And further down it let a sentence through with no tag: "Reading is the foundation of every other subject." That sentence is true, it has no source, and it sits in every other application on the funder's desk. Cut it. The rule is no tag, no sentence, unless the sentence is a transition.

Fill the flag next. Download your state's report card, upload it, and type: "Add a ledger row for the share of third graders in our district reading below grade level, with the page number." The model adds a row, the sentence gets its tag, and the figure has a receipt like every other.

Then check the model's own discipline:

List every sentence in the need statement that has no ledger tag and is not a transition. For each one, say what source it would need.

It comes back with a short list. You cut or source each item, and it takes a minute. It catches the sentences that read well and prove nothing.

The one thing the model can't draft is a child. A funder remembers one specific kid long after the percentages fade. Ask a tutor for four sentences about one student, no name, no school, with the family's okay, and paste them in yourself. The model can tighten what the tutor wrote. It has nothing to witness.

The program description works the same way. Attach the tutor training outline, use the same prompt with the section name changed, and keep the tags. That section makes fewer claims about outcomes and more about what you do, so the funder's own questions steer it: who comes, how often, who trains the tutors. The same file-first habit runs a consulting proposal from discovery notes, and the reason is the same.

Write the budget narrative, then have a second model redo the sums

The budget is where a reviewer checks you fastest, because a reviewer can add. The budget file is already in the thread. Here is the request, line by line:

Line Amount Tied to
Literacy coordinator, 60% of salary $37,200 Recruits and trains tutors, schedules sessions, runs assessments
Tutor stipends, four tutors $18,400 Two sessions a week at each school
Books and materials $11,000 A take-home book for every child each month
Assessment licenses $4,500 Fall and spring reading assessments
Administration $3,900 Share of bookkeeping and insurance
Total request $75,000

Two colleagues seated side by side with printed budget pages and calculators in a small nonprofit office

Type this to the same model:

Write the budget narrative for the Harlan application. 350 words at most. One short paragraph per line of the request, each tied to an activity the program description already names. Use only figures from the budget file and the ledger, and tag them. Do not round anything except percentages, and say when you round.

The reply gave each line a paragraph. The coordinator paragraph reads, in part: "The coordinator line is 60 percent of a $62,000 salary [L9], or $37,200. She recruits and trains the four tutors, schedules every session and runs both assessments."

Now switch models without leaving the thread. Start the next message with the /GPT pill and type:

Recompute every figure in this budget narrative from the budget file. Add the lines and confirm the request is $75,000. Confirm the coordinator line is 60 percent of the L9 salary. Give each line as a share of the request. List any figure in the narrative that the file does not support.

The reply, trimmed: "The five lines sum to $75,000. 60 percent of $62,000 is $37,200. Shares of the request: coordinator 49.6 percent, tutor stipends 24.5, books and materials 14.7, assessment licenses 6.0, administration 5.2. The narrative says the request covers about 40 percent of the program budget. $75,000 is 40.2 percent of $186,400, so that holds. No unsupported figures."

A clean check is still worth running. Two models from different families added the same column and agreed, and the second never asked you to paste anything. It read the thread, the files and the ledger as they stood. That's what you get from switching models inside one conversation: the model changes and the memory stays.

If the two ever disagree, don't average them. Find the cell. The file decides.

Then add the column yourself, once, in the spreadsheet. A model's arithmetic is good and still fallible, and the cell in your budget file is the one your signer certifies.

Audit every tagged figure against the file it came from

The ledger gave every figure a tag, and the audit is where that pays off. A tag is a pointer a machine can follow. Start a message with the /Gemini pill and type:

Audit the need statement and the budget narrative. For every ledger tag, open the file the ledger names and tell me whether the sentence says what the file says. Report a table with the tag, the sentence, what the file says, and match or mismatch. Then list any number in the draft that has no tag, including numbers written as words.

The reply, trimmed:

Tag Sentence What the file says Result
L2 388 children came ten or more times roster export: 388 rows with 10 or more sessions Match
L3 We measured 301 of them assessment results: 301 rows with both scores Match
L6 214 of the 301 gained a grade level or more 214 rows where spring minus fall is 1.0 or more Match
L7 71 percent 214 divided by 301 is 71.1 percent Match

And under the table: "Untagged: 'nearly three in four children' in the second paragraph restates L7. The file says 71.1 percent, which is closer to seven in ten."

That last catch is the reason to ask for numbers written as words. "Nearly three in four" is a figure in disguise, and it says 75 percent when your file says 71. Words that restate a number count as numbers. Change it to "about seven in ten" and tag it.

When the audit reports a mismatch, the fix usually sits upstream. Correct the ledger row, then ask the first model to regenerate the sentence from it. Patching the sentence by hand leaves the ledger wrong for the next section.

Then do the part no model can. Open the files behind the three figures a funder will remember: the headcount, the outcome rate and the request. Look at the cell. An audit by a model is a lead. Your signature is the receipt.

This is the same move that keeps a monthly report honest. The writing comes second, after the numbers are settled, and gets checked against the data before anyone else reads it. The steps for client reporting run on the same idea.

Cut to the funder's limits and score it the way a reviewer would

Models are unreliable word counters. Ask for ten percent under the limit, then paste the section into your document and read the count there. The limit that counts is the one the funder's portal enforces.

Trimming is where numbers go missing quietly, so ask for the cut list along with the cut:

Trim the program design to 675 words. Keep every tagged figure and every tag. Cut the sentences that say the least, and show me what you cut.

Showing what it cut makes the model account for each deletion, and a figure can't slip out unnoticed.

A finished grant application binder closed on a desk beside a pen and a mug, with dusk light in the window

Once every section fits, have the model read the whole application the way a reviewer would:

Score this application the way a Harlan reviewer would, using the point values in the guidelines. For each section give the points you would award out of the maximum, the one weakness that costs the most points, and the smallest change that would earn some of them back. Quote the funder's scoring language. Do not rewrite anything yet.

The reply gave the need statement 21 of 25, program design 24 of 30, outcomes 17 of 25 and the budget 18 of 20. Under outcomes it wrote: "The funder asks for the number of children measured. You report 301 but never explain why 87 of 388 children are missing. A reviewer will read 22 percent unmeasured as a gap."

Ignore the points. A model has no idea what a Harlan reviewer scored last year, so any score is a guess wearing a number. Use the ranking of weak spots.

The outcomes note is the one to act on, because it's the Missing item from the ledger coming home. Only you know why 87 children have no spring score. Maybe they joined in January. Maybe they moved. Write the true reason in one sentence and add it to the ledger. The funder asked for the number measured. Telling them why it's smaller than the number enrolled is what makes the 71 percent believable.

Check what the funder says about AI before you sign

Funders have opinions about AI, and the loudest ones are in writing. Read them before you submit, because the signature is yours. Here is what the public sources say:

Where What it says What you do
Any federal application The SF-424 form has the signer certify that the statements are "true, complete and accurate to the best of my knowledge" and acknowledge that "any false, fictitious, or fraudulent statements or claims may subject me to criminal, civil, or administrative penalties." Run the audit on every figure before the authorized representative signs
NIH "NIH will not consider applications that are either substantially developed by AI, or contain sections substantially developed by AI, to be original ideas of applicants." Use AI for limited aspects only, and write the ideas yourself
NSF "Proposers are encouraged to indicate in the project description the extent to which, if any, generative AI technology was used and how it was used to develop their proposal." Add a sentence describing your use
A private foundation Whatever its guidelines say, and often nothing Step one already had the model quote any AI rule. If the guidelines are silent, ask the program officer

The NIH notice adds that AI use "may result in plagiarism, fabricated citations, or other kinds of research misconduct." The NSF notice is the gentler one, and it covers proposers as well as reviewers.

You might be thinking those rules don't touch a literacy nonprofit. Mostly they don't. But look at what the strictest funder is asking: where did this idea come from, and is the evidence real? A figures ledger answers both. Every number points at your file, and every idea came from your staff.

When a funder does ask you to disclose, a sentence like this works, adjusted to what's true:

We used an AI model to draft sections from our own program records and the funder's guidelines. Our staff checked every figure against source files and wrote the program's rationale and the story of the child we describe.

That sentence is a template and carries no legal advice. If your organization has counsel, send it past them once.

Save the setup so your next grant proposal starts at step two

Everything you typed above can live in an agent, so next Friday you start from the ledger and not from the instructions. An agent is a set of reusable instructions that runs on any model. Paste these into a new agent and change the organization's name. Leave the files out of it, because every funder's files are different and belong in the thread.

You are the grant drafting desk for [Organization name]. You work only from files attached to the thread.

1. When a funder's guidelines are attached, return a requirements table with one row per section: limit, points, what the funder wants, required attachments. Quote every rule about AI use.
2. Before drafting, build a figures ledger: ID, what the number is, value, source file and location. Show the denominator for every percentage. If two files disagree, list the conflict and stop until I decide. If a number is not in a file, list it under Missing. Never estimate.
3. Draft only from the ledger. Put the ledger ID in square brackets after every figure. Write [NEED: what is missing] where a figure is absent.
4. No sentence without a tag unless it is a transition. No claims about need, impact or unique position without a figure.
5. Write in plain first person plural with short sentences. Never use a child's name.
6. Stay ten percent under every word limit, and show me what you cut.

A small team of three nonprofit staff around a round table with one laptop open in a bright office

Agents are unlimited on every plan, and the walkthrough on how to build an AI agent covers the skills and connections if you want the desk to reach into your Drive or your email. Plans start at $20 a month on Standard, and every plan carries a 30 day, 100% money back guarantee. A grant due Friday is a fair week to test it.

Next Friday, open a new thread, attach the funder's guidelines and your current records, and type:

New application. Guidelines attached. Run the requirements table, then the figures ledger. Stop at conflicts.

The agent does steps one and two in a minute and waits for your decision on anything that disagrees. The rest is the same loop: draft from the ledger, switch models for the sums, audit the tags, read it like a reviewer.

Attach the files. Keep the receipts. Start in Magai.

More in AI for Business