cApps Quickstart

Prerequisites

Note for Windows Users: WSL 2arrow-up-right is required.

Using the Quickstart Repository

  1. Clone the github repository

git clone [coming soon]
cd nasdaiq
  1. Install requirements and build the required packages

pnpm i && pnpm build
  1. Copy the sample .env file and add your API keys:

cp .env.example .env
~/.env

# API Keys
GEMINI_API_KEY=your_key_here
OPENAI_API_KEY=your_key_here
ANTHROPIC_API_KEY=your_key_here
BROWSER_AGENT_KEY=your_key_here

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.

  1. Add configuration file in the project root with the name capp.config.json

  1. Run the script to scaffold the project with your configuration:

Running the Application

  1. Start the application:

  1. The agent will be live in your terminal and you can begin interacting with it.

Troubleshooting

Common issues and solutions:

  1. Missing .env file:

    • Make sure all required API keys are included in your .env file and verify that they are valid and not expired.

  2. Incorrect NodeJS Version:

    • Verify your NodeJS version: node -v

    • Must be 23.3.0 or higher

    • Consider using nvmarrow-up-right to manage Node versions

  3. "Module not found" Error

  • Ensure the module is listed in your dependencies or devDependencies in package.json.

  • Run npm install or yarn install to install missing modules.

  • If the issue persists, delete the node_modules folder and reinstall:

  1. "npm WARN" Messages During Installation

  • Review the warnings and update any outdated packages:

Last updated