Our NPM package for creating and executing Spark Engine multi-agent systems.
First, install our CLI:
npm install -g sparkengine
During the installation, you will be prompted to configure all .spk
files on your computer to use our favicon.
To create a project in your directory:
npx sparkengine my-new-project
If you choose not to configure the favicon during installation, you can do it later using the following commands:
To configure .spk
files in a specific directory to use our favicon:
npx sparkengine configure-favicon <directory>
Replace <directory>
with the path to the directory containing your .spk
files.
To configure all .spk
files on your computer to use our favicon:
npx sparkengine configure-all-spk
This command will search for all .spk
files on your computer and configure them to use the favicon.
To add your Spark Engine API key:
npx sparkengine key add "<your-api-key>"
Replace <your-api-key>
with your actual API key.
To replace your Spark Engine API key:
npx sparkengine key replace "<your-new-api-key>"
Replace <your-new-api-key>
with your new API key.
To remove your Spark Engine API key:
npx sparkengine key remove
To send a prompt to a Spark Engine project:
npx sparkengine run <projectId>
Replace <projectId>
with the ID of your project. You will then be prompted to enter your text prompt.
This project is licensed under the ISC License.