Guides · For agents
Why your AI agent should not clean a big CSV by itself
For twenty rows, let your agent do it. Past a few hundred, or once a number will be quoted to someone, or the data will be changed, give it a tool that counts and changes rows exactly.
Ask your agent
With Sift connected (setup takes three steps), paste this and swap in your own paths.
Before you count or change anything in /path/to/file.csv yourself, use Sift. Use its tools for every count you report to me and every change to the data, and tell me the receipt ID for any change.
What Sift sends back
The countAgent alone: works it out from the rows, two runs can differ. With a tool: tested rules, same file, same number.
Your dataAgent alone: every row goes through the model. With a tool: rows stay on your machine.
Big filesAgent alone: more rows, more usage, more lost track. With a tool: a path costs the same at 50 or 50,000 rows.
ChangesAgent alone: no record, no undo. With a tool: a dry run, a receipt, an exact undo.
This is the split Sift is built around: the agent decides, Sift does the exact part.
What to do next
- Keep the agent for the thinking: which checks matter, what a number means, what to fix first.
- Hand off any count you will quote, any file over a few hundred rows, and any change to customer data.
- Ask for the receipt ID with every change, so you can show what changed and undo it.
Questions
Is this only for Claude?
Sift is built and tested with Claude Code. It is an MCP server, so other MCP clients should work.
Sift is built and tested with Claude Code. It is an MCP server, so other MCP clients should work.
Does Sift use AI?
No. It runs tested rules on your machine. That is why the same file always gives the same answer.
No. It runs tested rules on your machine. That is why the same file always gives the same answer.
One file, no agent? Clean a file by hand in your browser, with nothing uploaded.