AGENTS & HUMAN AUTHORITY

Let agents do the work.
Keep authority with your team.

Payvy is being built so agents can prepare accounts payable work, people authorize consequential decisions, and the record shows how a bill moved forward.

Preparation and authorization are separate.

The current command layer distinguishes people from agents. Restrictions are enforced on the server, across both REST and MCP; hiding an action in the interface is only part of the experience.

Implemented command boundaries in the reviewed source. People approve and release in the web app, subject to their company roles.
WorkAgent’s rolePerson / system control
Read and prepare billsRead records, file documents, extract invoice data and create draft work.Review the bill and its evidence.
Change a workflowPropose a new vendor workflow.Accept the workflow; existing bills keep their original version.
Change a payment destinationPropose a vendor’s existing bank recipient, or check on a vendor’s Mercury invitation.Invite the vendor or enter their bank details, and accept every new destination before it can be used.
Approve or release a billPrepare the information needed for a decision.Approve the bill and preview and confirm release. Agent credentials cannot run these commands.
Pay automaticallyPropose a workflow whose pay step is automatic.Accept a workflow whose pay step is automatic. Payvy then pays only to an accepted destination, and a payment that fails comes back to a person rather than being retried.
Handle an uncertain paymentRead status and surface the exception.Review the bank result and decide on the next action. The Mercury worker reuses the attempt’s key when retrying an uncertain submission.

Inspect the command definitions, server enforcement and Mercury payment flow.

In the source

Preview before committing.

Confirmed commands require a preview and a single-use confirmation token tied to the command and its input. Changing the input requires a new preview.

Payment release also requires a person credential. The intended web experience puts the amount, destination and supporting evidence together for review.

In the source

A record of changes.

State changes write audit events in the same database transaction. Bills keep their workflow version, so a later workflow edit does not silently rewrite work already in progress.

The broader task history, evidence packets and an interface for investigating decisions are part of the product direction.

Know where the data goes.

In the source

Original documents

Invoice files live in the configured S3-compatible object store. Self-hosters choose that store and manage its access, backups and retention.

Extraction sends document content to the configured model provider. A compatible model you operate can keep that processing on your infrastructure; using an external provider sends the content there.

Current build + planned hosting

AI provider keys

The current extraction provider key is configured by the server operator. The hosted $39 plan’s per-company key setup, storage and rotation experience is planned.

Before hosted launch, we’ll document who can access keys, how they’re protected and how to revoke or replace them.

In the source

Bank credentials

The Mercury token is encrypted in the database with a server-held key. Vendor payment records use the bank’s recipient identifier, rather than storing the full bank account number. Bank details your team enters go straight to Mercury and aren’t stored; Mercury’s webhook secret is sealed like the token.

Request mode requires an additional approval in Mercury. Direct mode relies on the person-authorized release in Payvy and the bank’s token permissions.

In the source

Organization boundaries

Commands run within an organization-scoped database transaction, with Postgres row-level security. The agent boundary is based on actor type. People hold company roles (admin, AP clerk, approver, payment releaser) that the server checks on every command.

More granular permissions for individual agents, task-specific access and spending policies are planned.

Read the source for model processing, bank-token storage and document storage and organization isolation.

The controls we’re building toward.

Planned

Assigned, recoverable work

Give each task an owner, a visible state and the evidence needed for the next decision. Pause for an exception and resume from recorded progress after a disconnect.

Planned

Access sized to the assignment

Limit each agent to the work it needs, make access easy to revoke, and evaluate proposed actions against explicit policies. Preserve human authorization for payment release.

Questions about trust.

Is this a security certification?

No. This page describes source behavior and intended controls. We are not claiming SOC 2 certification, HIPAA compliance or an independent security audit. Hosted operating controls, retention terms and deployment details will be documented before launch.

Can I inspect the implementation?

Yes. Payvy’s Rust source is available under AGPL-3.0-only. The links above point to the reviewed revision, so implemented behavior can be distinguished from the roadmap.

How do I raise a security concern?

Email support@payvy.com to arrange a private report. Avoid including credentials, invoices or exploit details in a public issue.

Explore Payvy.