cApps Quickstart
Prerequisites
Note for Windows Users: WSL 2 is required.
Using the Quickstart Repository
Clone the github repository
Install requirements and build the required packages
Copy the sample .env file and add your API keys:
Configuring your cApp
You can pre-define the actions and goals for the cApp which provides a configuration for the framework to scaffold for you.
Add configuration file in the project root with the name
capp.config.json
Run the script to scaffold the project with your configuration:
Running the Application
Start the application:
The agent will be live in your terminal and you can begin interacting with it.
Troubleshooting
Common issues and solutions:
Missing
.env
file:Make sure all required API keys are included in your
.env
file and verify that they are valid and not expired.
Incorrect NodeJS Version:
Verify your NodeJS version:
node -v
Must be 23.3.0 or higher
Consider using nvm to manage Node versions
"Module not found" Error
Ensure the module is listed in your
dependencies
ordevDependencies
inpackage.json
.Run
npm install
oryarn install
to install missing modules.If the issue persists, delete the
node_modules
folder and reinstall:
"npm WARN" Messages During Installation
Review the warnings and update any outdated packages:
Last updated