LensOS Documentation
The operating system for building, deploying, and managing AI agents.
LensOS is an open platform for building AI-powered applications with full control over your agents' behavior, knowledge, and tools. This documentation will guide you through the core concepts and help you get started quickly.
Get Started
Start building with LensOS. Follow the quick start guide or dive into the core concepts.
Quick Start
Set up your first LensOS project and deploy an AI agent in minutes.
SDK Integration
Deep dive into server and client setup with complete examples.
Tool Executors
Define custom functions the AI agent can call on the server.
SSE & Events
Real-time streaming events and DOM interaction protocols.
Core Concepts
Widget
Embeddable AI-powered components you can add to any application.
Control Panel
Manage and monitor your AI agents from a centralized dashboard.
Rules
Define behavioral constraints and guidelines for your agents.
Tools
Extend your agents with custom tools and integrations.
Knowledge Base
Give your agents access to custom knowledge and data sources.
Resources
Session & API
Session management and SDK API reference.
Best Practices
Guidelines, troubleshooting, and environment setup.