Agent permissions and safety
Three permission modes, strict double-entry checks, 90-day tokens, and a full activity log.
Rastrata runs no hosted AI model and sells no usage credits. Connect Claude Code, Codex, opencode, or any coding agent through the rastrata CLI. Your agent can import statements, sort transactions, write bank rules, and reconcile accounts.
Permission modes
Pick one of three permission modes when you connect an agent. You can switch modes anytime under Settings → Agents.
- Auto (full access): The default for workspace owners. Your agent imports transactions, posts entries, writes rules, reconciles accounts, and closes months. Rastrata logs every action for your review.
- Prepare, for my approval: Your agent drafts entries and suggests changes. Nothing posts to the ledger until you approve it.
- Read only: Your agent reads balances, transactions, and reports, but it cannot add or change any data.
Only workspace owners and admins can invite people, manage agent tokens, change billing, or delete a workspace. No agent can raise its own permissions.
Enforced ledger rules
The accounting engine checks four hard rules on every write, in every mode:
- Debits must equal credits on every journal entry.
- Rastrata rejects duplicate bank transactions and duplicate Stripe payouts.
- Rastrata blocks any entry dated inside a closed month.
- Every bank reconciliation must reach a $0.00 difference before it finishes.
Rastrata never edits or deletes a posted entry. To fix a mistake, you or your agent post a linked reversing entry. Your audit trail stays complete.
Tokens and expiration
When you run rastrata connect, Rastrata swaps a one-time code for a scoped token outside your project folder. Your secrets stay out of git and chat logs. Tokens expire after 90 days by default, and you can revoke one anytime in Settings → Agents. Rastrata warns you before a token expires so your scripts keep running.
Activity log and review
Rastrata records every posted entry, bank rule, and token change in Settings → Activity with the user or agent who made it. Owners and admins can mark the log as reviewed so the next check shows only new changes.
Bank rules for repeat vendors
Instead of sorting the same bills every month, your agent writes plain-text rules for repeat vendors. Matching charges land in the same account every time. Your agent saves its time for new or unusual items. See Deterministic bank rules.
Prompt injection defense
Bank memos, vendor names, and statement filenames come from outside your business. Rastrata marks every transaction field as untrusted text, never as a command. Even if a bad memo tricks an agent, server-side permission checks keep it inside its assigned mode.
For setup steps, read Connect your agent and the CLI reference.
Still stuck?
Contact support