Skip to main content

Prerequisites

Before you begin, ensure you have the following installed:
  • Node.js (v18 or higher)
  • pnpm (v9.15.4 or higher)
  • Python (v3.9 or higher)
  • Rust (latest stable) - for native modules
  • Git - for version control

Installation

1

Clone the Repository

2

Install Dependencies

3

Set Up Environment Variables

Create a .env file in the root directory:
Key environment variables:
  • OLIS_INTENT_MODEL - Model name for intent detection
  • OLIS_INTENT_REMOTE_URL - URL for hosted intent service
  • OLIS_DOCS_FOLDER - Path to document folder for context
4

Build Native Modules

Running the Applications

Electron Desktop Client

The desktop application will start on http://localhost:3000 in development mode.

API Server

Chrome Extension

Verify Installation

Run the following commands to verify everything is set up correctly:
This will open a browser showing your project’s dependency graph.

Next Steps

Explore Architecture

Learn about the system architecture and design patterns

Development Guide

Deep dive into development workflows and best practices

API Reference

Explore the API endpoints and integration options

Contributing

Learn how to contribute to the Olis project

Troubleshooting

If you encounter errors building native modules:
Windows Note: If Electron is running, it may lock keytar.node. Stop all Electron instances before rebuilding.
If port 3000 is already in use:
If you encounter Python dependency issues: