This guide provides instructions for creating AI tools using Cursor.

Prerequisitires:

To start developing new AI tools, follow these steps:

  1. Create new project directory
mkdir ai-tools-authoring
cd ai-tools-authoring
  1. Create .cursorrules file and open Cursor.
touch .cursorrules
cursor .
  1. Copy and paste the tool creation rules into the .cursorrules file.
  1. In Cursor IDE, open Composer by pressing Command + L on macOS.

  2. Prompt the Composer to create new tool

    Example:

    Create new Apify tool to list actors, based on this documentation <https://docs.apify.com/api/v2>
    
  3. Review the created artifacts - provider, profile and map files should be created in ./tools folder

  4. Go to https://pod.superface.ai/hub/settings/tools/add and upload the created files (profile, provider and map).

  5. Go to https://pod.superface.ai/chat/new and test the tool. Example:

    List Apify actors
    

Demo video of Apify tool authoring using Cursor:

Apify API | Apify Documentation - 12 February 2025

<aside>

← Previous

Adding tools

</aside>

<aside>

Next →

Available Tools

</aside>