LetspingLETSPING

Node.js×AWS

Add Human-in-the-Loop to Node.js for AWS security.

Stop your autonomous agents from making highly destructive, hallucinated API calls to AWS. Wrap your execution logic in LetsPing to enforce a hard pause until a human reviews the payload.

How it works

1. Intercept AWS Logic

Instead of hitting the AWS API directly from your Node.js agent, you yield the payload to LetsPing. The agent's execution thread halts completely.

2. Human Review & Patching

You get a push notification on your phone. You review the exact AWS JSON payload the agent wanted to send. You can approve it, reject it, or patch the values directly.

3. Resume Execution

Once approved, the Node.js execution thread resumes, and the actual AWS mutation is allowed to proceed using the (potentially patched) payload.

Node.js Example Implementation
import { LetsPing } from "@letsping/sdk";

const lp = new LetsPing();

const decision = await lp.ask({
  service: "node.js-agent",
  action: "aws_execute",
  priority: "high",
  payload: {
    id: "123",
    action: "delete"
  }
});

if (decision.status === "APPROVED") {
  // Actually hit the AWS API now
  await client.execute(decision.payload);
}