An AI agent that works in your CRM, calendar and email, only with your approval
An agent that looks up contacts in the CRM, reads tomorrow's calendar and writes an email draft, with a ceiling on how many tools it may call, a list of what it may do at all, and a person who says yes before anything is kept.
What's in the project
1. Set up your computer: a terminal, Claude Code and GitHub
The tools this build runs on, installed once. A terminal is the window where you type commands instead of clicking. Claude Code is Claude working inside a folder on your computer: it writes and runs the code for you. GitHub keeps your project online. About 30 minutes.
2. The accounts, the made-up data and the repository
Everything the agent will read, in place before any code runs. Three contacts in the CRM, three meetings tomorrow, and a repository with a file holding the keys. A repository is a project folder that GitHub keeps online; an API key is a long password that lets code use a service.
3. Three tools, described so a model can use them
The tools themselves. A tool is two things: a description precise enough for the model to pick it, and code that does exactly what the description says and nothing more.
4. The loop that lets the model use them
The agent itself: a loop that sends the task, runs whatever tool the model asks for, sends the result back, and stops. The ceiling on tool calls is in this loop from the first line, not added later.
5. The guardrails
The three rules that make this safe to show a client: a list of what may run at all, a person between the agent and anything kept, and a refusal that names the rule rather than apologising.
6. What every run costs
The number a client asks for second, right after "does it work". Every run writes one line with its tool calls, its tokens and its cost, and a run that would go over the budget stops itself.
7. Ten scripted tasks
The thing that turns a demo into a deliverable. Ten tasks, four of which must be refused, run in one command, so a change to the prompt cannot quietly remove a guardrail.
Tools you'll use
Claude Code
Claude API
HubSpot CRM
Google Calendar
GitHub