make-agent

The swiss army knife for multi-chain AI agents

Make Agent CLI is a powerful command-line tool designed to streamline the management and deployment of AI agents across multiple chains. This tool simplifies the process of making your AI agents discoverable and registering them as plugins.

Running the CLI

To run the Make Agent CLI:

npx make-agent dev -p 3000

Available Commands

Currently, the CLI supports the following commands:

  1. dev: Make your AI agent discoverable and register the plugin

    npx make-agent dev -p <port_number>

    Options:

    • -p, --port <number>: Specify the local port to expose (required)

  2. register: Register a new plugin with a URL

    npx make-agent register -u https://DEPLOYMENT_URL

    Options:

    • -u, --url <url>: Specify the plugin URL (required)

  3. deploy: Deploy your AI agent, making it discoverable and registering it as a plugin

    npx make-agent deploy [options]

    Options:

    • -u, --url <url>: Specify the deployment URL (optional)

    If no URL is provided, the command will attempt to determine the deployed URL automatically.

  4. update: Update an existing AI agent plugin

    npx make-agent update -u https://DEPLOYMENT_URL

    Options:

    • -u, --url <url>: Specify the updated plugin URL (required)

    • -i, --id <id>: Specify the plugin ID to update (required)

  5. contract: Scaffold a basic agent from a NEAR contract that has an ABI

    npx make-agent contract

    You will be prompted to select a contractId, add a description with instructions on how the agent should use the contract and an output directory

  6. delete: Delete your AI agent plugin

    npx make-agent delete -u https://DEPLOYMENT_URL

    Options:

    • -i, --id <id>: Specify the plugin ID to delete (required)

For more information about any command, you can use:

make-agent [command] --help

Example Usage

Development

This project was created using bun init in Bun v1.1.20. To start developing:

  1. Clone the repository

  2. Run bun install to install dependencies

  3. Modify the code in the commands and services directories as needed

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Last updated

Logo