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

How to have an agent draft a Triton-Ascend kernel with Triton Ascend Agent Dev Kit

Point the agent at the kit's guides and project rules before it writes kernel code for Ascend NPU.

Short answer: Unpack the kit into the agent's working folder, as described in the workspace setup; then tell the agent to read AGENTS.md first, then triton-ascend-dev-doc.md; ask the agent to load the guide in triton-ascend-dev-doc/ that matches your operation. All steps.

Who it is forA kernel developer who needs a first draft of a Triton-Ascend kernel for an Ascend NPU and wants the agent to follow project conventions.

The problemWriting a Triton-Ascend kernel from memory is slow, and the agent may miss Ascend-specific details without reference material.

The outcomeA draft kernel file that the agent wrote using the kit's project rules and development guides, ready for you to run and review on your NPU.

What you need first

  • A shell to run the build script, or access to the repo's Releases page to download an archive
  • An AI agent that can read files in a working folder
  • Access to an Ascend NPU environment for running the kernels the agent produces
  • Familiarity with Triton-Ascend, since the README points to its official docs for reference

Steps

  1. Unpack the kit into the agent's working folder, as described in the workspace setup.
  2. Tell the agent to read AGENTS.md first, then triton-ascend-dev-doc.md.
  3. Ask the agent to load the guide in triton-ascend-dev-doc/ that matches your operation.
  4. Have the agent write the kernel, then check its Triton-Ascend calls against the documentation links in the README.
  5. Run the kernel on your Ascend NPU and review the results before using it.

Prompt for your agent

In the triton-ascend-agent-dev-kit workspace, read AGENTS.md and triton-ascend-dev-doc.md, then draft a Triton-Ascend kernel for <target-operation> and save it as <output-file>. Expected output: the kernel file plus a short list of the guide sections you used. Verify the kernel's Triton-Ascend calls against the official Triton-Ascend documentation before calling it done.

Caveat. The kit gives guidance only, so the kernel must still be run and checked on your own Ascend NPU before you rely on it.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Krusty84/triton-ascend-agent-dev-kit and "Have an agent draft a Triton-Ascend kernel"

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