Kaggle · emploidai Marketplace
emploidai Marketplace
Add-onsAppletsPlugins
Search tools, teams, and capabilitiesPublish
MarketplacePluginsKaggle
Plugin
Limited listing

Kaggle

by ki3nd · v0.0.2

A plugin that allows you to run code on Kaggle kernels with flexible CPU or GPU compute.

79 installsUpdated Apr 20, 2026
Publisher information is incomplete

This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.

Capabilities

Tools

Available inside your emploidai workspace after installation.

Data sources

Available inside your emploidai workspace after installation.

Category

tool

Version

0.0.2ki3nd

Requirements

Maximum memory 256MB

Pricing

Not disclosed by publisher

Security & access

Review before installing

CompatibleRequires emploidai 1.0.1+

Permissions

  • Uses tool capability
  • Requires encrypted tool credentials

Dependencies

No additional dependencies

Resources

Privacy policy
emploidai Marketplace

Discover capabilities. Review access. Install inside your workspace.

DocumentationSecuritySupportPrivacyTerms

Kaggle Plugin for Dify

Author: ki3dn
Type: tool
Github Repo: https://github.com/ki3nd/kaggle-dify-plugin
Github Issues: issues

Run and manage Kaggle kernels directly from your Dify workflows. Write Python code, choose your accelerator, poll for completion, and retrieve output files — all without leaving your AI pipeline.

Setup

  1. Go to kaggle.com → Settings → API → Create New API Token.
  2. Copy the token value (a long alphanumeric string).
  3. In Dify, open the plugin settings and paste the token into the KAGGLE_API_TOKEN credential field.

Tools

List User Kernels

List kernels owned by any Kaggle user, or by the authenticated account when no username is supplied.

ParameterRequiredDescription
usernameNoKaggle username. Leave empty to list your own kernels.

Returns: a list of { kernel_id, kernel_name } entries.


Create Kernel

Create a new Kaggle kernel with a minimal Python starter script. The kernel slug is derived automatically from the title.

ParameterRequiredDefaultDescription
titleYes—Kernel title (minimum 5 characters). Must be unique among your kernels.
is_privateNotrueWhether the kernel is private.
enable_internetNotrueWhether the kernel has internet access during execution.

Returns: kernel metadata including id, url, and settings.


Run Kernel Code

Push Python code to an existing kernel and trigger a new run. The kernel is converted to a Python script type before pushing, so the provided code replaces the current script entirely.

ParameterRequiredDefaultDescription
kernel_idYes—owner/kernel-slug or just kernel-slug (auto-prefixed with your username).
codeYes—Python source code to run.
acceleratorNoNoneNone, NvidiaTeslaP100, NvidiaTeslaT4, or TpuV5E8.

Returns: push result including url, version_number, and any errors.


Get Kernel Status

Fetch the latest run status and full metadata for a kernel.

ParameterRequiredDescription
kernel_idYesowner/kernel-slug or just kernel-slug (auto-prefixed with your username).

Returns: { status, kernel_id, status_details, metadata }.

Possible status values: queued, running, complete, error, cancelled.


Get Kernel Metadata

Fetch the configuration metadata for a kernel (language, kernel type, datasets, accelerator, etc.) without checking its run status.

ParameterRequiredDescription
kernel_idYesowner/kernel-slug or just kernel-slug (auto-prefixed with your username).

Returns: full kernel metadata object.

If the kernel does not exist or is private/inaccessible, a descriptive message is returned instead of raising an error.


Get Kernel Output

Download a specific output file from a completed kernel, or retrieve only the execution logs when no file path is given.

ParameterRequiredDescription
kernel_idYesowner/kernel-slug or just kernel-slug (auto-prefixed with your username).
file_pathNoPath to the output file. Accepts absolute Kaggle paths (/kaggle/working/output.csv) or relative paths (images/result.png). Leave empty to return logs only.

Returns:

  • With file_path: file content (text, JSON, image, or binary blob) followed by { kernel_id, file_path, logs }.
  • Without file_path: { kernel_id, logs } — no file is downloaded.

If the kernel is still running or queued, an informative message is returned and the download is skipped. If the kernel failed, the failure message and status are returned.


Download Kernel Output

Download all output files from a completed kernel and return them as a single zip archive. Use this tool when you need all output files at once rather than a specific one.

ParameterRequiredDescription
kernel_idYesowner/kernel-slug or just kernel-slug (auto-prefixed with your username).

Returns: a zip blob named {kernel-slug}-output.zip followed by { kernel_id, zip_file, files[], logs }.

If the kernel produced no output files, an informative message is returned along with the logs. Status checks (running, queued, failed) behave the same as Get Kernel Output.


Kernel ID shorthand

Every tool that accepts a kernel_id supports a short form. If you omit the owner/ prefix, the plugin automatically prepends the authenticated user's username:

my-analysis          →  your-username/my-analysis
alice/her-analysis   →  alice/her-analysis  (unchanged)

Typical workflow

Create Kernel  →  Run Kernel Code  →  Get Kernel Status (poll)  →  Get Kernel Output
                                                                 →  Download Kernel Output (all files as zip)
  1. Create Kernel once to get a persistent kernel_id.
  2. Run Kernel Code to push new code and trigger execution.
  3. Get Kernel Status in a loop until status == "complete".
  4. Get Kernel Output to retrieve a specific result file or logs.
  5. Download Kernel Output to retrieve all output files packaged as a zip.