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. deploy: Register or update your AI agent, making it discoverable as a plugin

    npx make-agent deploy [options]

    Options:

    • -u, --url <url>: The URL where your agent is hosted (optional)

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

  3. 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

  4. 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)

  5. verify: Request your plugin's verification

    npx make-agent verify -u <url> -e <email> -r <repoUrl> -v <versionNumber> -c [cat1,cat2] -x [chainNum1,chainNum2]

    Options:

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

    • -e, --email <email>: (required) Provide an email so we can contact you regarding the verification process

    • -r, --repo <repoUrl>: (required) To verify a plugin we need the url for a public repository containing the plugin's code

    • -v, --version <versionNumber>: (optional) Specify the version of the plugin in case of an update

    • -c, --categories <categories>: (optional) List some categories that describe the type of plugin you're verifying.

    • -x, --chains <chainIds>: (optional) If your plugin works on specific evm chains, you can specify them so your plugin is easier to find.

    These options can also be defined in the agent spec in the "x-mb" object.

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