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

How to check backend and frontend health before editing code with Agent Py

Run the full verification suite so changes to agents, APIs, or the UI can be checked.

Short answer: Run cd apps/backend and then uv sync --frozen; then run uv run ruff check ., uv run pyright, and uv run pytest inside apps/backend; Return to the repository root and run npm run contracts:typecheck and npm --workspace packages/api-contracts test. All steps.

Who it is forA contributor about to change the FastAPI backend, the shared API contracts, or the Vue frontend.

The problemWithout a baseline, it is hard to tell whether a failure came from your edit or from the existing code.

The outcomeA recorded pass or fail result for each check, giving you a clean baseline before any change.

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. Run cd apps/backend and then uv sync --frozen.
  2. Run uv run ruff check ., uv run pyright, and uv run pytest inside apps/backend.
  3. Return to the repository root and run npm run contracts:typecheck and npm --workspace packages/api-contracts test.
  4. Run npm run frontend:typecheck, npm run frontend:test, and npm run frontend:build.
  5. Run python3 scripts/check_frontend_bundle.py and npm audit --audit-level=moderate.

Prompt for your agent

In the kkjiangk/agent-py repository, run the backend and frontend verification commands listed in the README Verification section. Report the pass or fail result of each command. Verify that the backend pytest run has no failures before you propose any edit.

Caveat. The README's local results are dated 2026-10-04 and do not show that a GitHub-hosted CI run or an AWS deployment has completed.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for kkjiangk/agent-py and "Check backend and frontend health before editing code"

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