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
- Read the remediation approval and dispatch sections of the README and docs/architecture.md to confirm the command shape.
- Check config/project.template.json for the name of the Kafka topic that carries remediation commands. (inferred, check the README)
- Subscribe your executor to that topic and read the stable commandId from each message.
- Store each commandId in durable storage before you apply any side effect, and skip commands already recorded.
- 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
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer