533 B
533 B
Installation
Currently, openmcp-sdk only supports esm builds. Therefore, before installation, please set up an esm development environment first:
mkdir clever-agent && cd clever-agent
npm init -y
npm install typescript tsx @types/node --save-dev
tsc --init
Remember to set "type": "module"
in package.json.
Then you can install openmcp-sdk with the following command:
npm install openmcp-sdk
We highly recommend using the tsx tool to run and deploy your agent:
npx tsx /path/to/agent.ts