- Node.js >= 18.0.0
- npm >= 8.0.0 or pnpm >= 8.0.0
- (Optional) Python >= 3.10 for Python server adapter
npm install -g @hari7261/ainative-cliainative init my-app
cd my-appnpm install
# or
pnpm installCreate a .env file in your project root:
# OpenAI
OPENAI_API_KEY=sk-...
# Anthropic (optional)
ANTHROPIC_API_KEY=sk-ant-...
# Server port
PORT=3001# Terminal 1: Start AI server
npm run server
# Terminal 2: Start dev server
npm run devIf you prefer to set up manually:
npm install @hari7261/ainative-client react react-domnpm install @hari7261/ainative-server-node express corspip install ainative-serverainative doctorThis will check that all required dependencies are installed.