AI agents forpayments andincidents

MoneyGuard investigates failed and disputed Bachs payments. OpsGuard works out why a deploy or a service broke. Both run on one runtime, and every refund, flag, and retry waits for your approval.

Runs onAnthropic ClaudeClaude orGroqwith Bachs, GitHub, and Slack.

One runtime runs both agents. Each app is a file of tools and a prompt.

Webhooks, schedules, and your own reports start a run. The runtime checks every tool call against the agent’s permissions, pauses the risky ones for a person, and records each step.

BBachscollection.failed, dispute.created
GitHubworkflow_run failed
Health checksevery 15 minutes
Shared runtimerunning
Athena
  • Tool registry
  • Permissions
  • Approvals
  • Memory
  • Workflows
  • Live monitor
ModelsAnthropicGroq
MoneyGuard9 tools · payments, risk, refunds
OpsGuard11 tools · services, deploys, incidents
One notification tool, used by both

MoneyGuard reads every Bachs payment.

When a payment fails, comes up short, or gets disputed, MoneyGuard pulls the payment, the customer, and their history, then scores it against twelve risk rules.

Amounts stay exactBachs money stays a decimal string in its own currency, with a threshold per currency from NGN to USD.
Cases with the evidenceMedium and high risk open a case that names the rules that fired.
Refunds wait for youA refund is checked against Bachs’ one-per-charge rule and sent once.

OpsGuard finds why it broke.

OpsGuard checks your services over HTTP, reads the logs you allow, and lines failed GitHub Actions runs up against the moment errors started.

An incident, written upImpact, evidence, and likely cause in a GitHub issue, updated as it learns more.
Only the URLs you listIt can reach the services in your config and nothing else.
Retries on your wordRe-running a failed deploy goes through the same approval queue as a refund.

Nothing moves without you

Agents read on their own. Refunds, customer flags, and deploy retries stop at the approval queue with the agent’s reasons, and a rejection goes back to the agent with your note.

A new agent is one file. The runtime is already there.

An application lists its tools, its prompt, its permissions, and the events that start it. Register it and it shows up in the console with approvals, memory, and the live timeline.

Typed toolsEach tool has a Zod schema the model sees as JSON Schema, a risk level, and the permissions it needs.
Signed triggersBachs, GitHub, and per-workflow webhooks are verified and de-duplicated.
apps/moneyguard/src/index.ts
export const moneyGuardApp: AthenaApplication = {
  id: 'moneyguard',
  name: 'MoneyGuard',
  tools: moneyGuardTools,      // Zod schema, risk level, permissions
  agent: moneyGuardAgent,      // prompt, model, grants
  workflows: moneyGuardWorkflows, // bachs.collection.failed …
  env: [{ name: 'BACHS_API_KEY' }],
};

registerApplication(moneyGuardApp);
registerApplication(opsGuardApp);  // same runtime, no new loop