DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build a remediation executor that dedupes commandId with Agent Py

Write the external consumer that applies remediation commands safely under at-least-once delivery.

Short answer: Read the remediation approval and dispatch sections of the README and docs/architecture.md to confirm the command shape; then check config/project.template.json for the name of the Kafka topic that carries remediation commands; Subscribe your executor to that topic and read the stable commandId from each message. All steps.

Who it is forA platform engineer who needs to connect approved remediation commands to a real system, since the repo does not include an executor.

The problemCommand delivery is at least once, so the same remediation command can arrive more than once and must not change a system twice.

The outcomeAn executor that records each commandId before applying side effects and skips commands it has already handled.

What you need first

  • Python 3.10+, uv, Node.js 22+, and Docker Compose installed locally
  • Access to a configured Qwen-compatible model service and its API key
  • Tencent CLS credentials if you use the CLS integration
  • Git clone of kkjiangk/agent-py

Steps

  1. Read the remediation approval and dispatch sections of the README and docs/architecture.md to confirm the command shape.
  2. Check config/project.template.json for the name of the Kafka topic that carries remediation commands. (inferred, check the README)
  3. Subscribe your executor to that topic and read the stable commandId from each message.
  4. Store each commandId in durable storage before you apply any side effect, and skip commands already recorded.
  5. Replay one command twice in a staging environment and confirm the side effect happens once.

Prompt for your agent

In the kkjiangk/agent-py repository, read the remediation approval and dispatch documentation and draft an executor that deduplicates messages by commandId before applying side effects. Report the topic name and the storage you chose. Verify with a staging replay that a duplicate commandId causes no second side effect.

Caveat. The repo does not include a production remediation executor, so any executor you write changes real systems and should be tested in staging first.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for kkjiangk/agent-py and "Build a remediation executor that dedupes commandId"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer