Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Evincere/klisk/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Description
Launches the Klisk Studio (web UI) and development server with hot reload. Supports both single-project mode and workspace mode for managing multiple projects.Arguments
Project name or path. Omit to run in workspace mode (load all projects).
Modes
Single-Project Mode
Run a specific project:- Loads environment variables from
<project>/.env - Uses the port specified in
klisk.config.yaml(default: 8000) - Watches the project directory for file changes
- Hot-reloads agents and tools on modification
Workspace Mode
Run without arguments to load all projects:- Discovers and loads all projects in
~/klisk/ - Loads environment variables from each project’s
.env - Runs on port 8000 (fixed)
- Watches all project directories simultaneously
Server Details
The dev server provides:- Studio UI at
http://localhost:<port>- Interactive testing environment - Chat API at
http://localhost:<port>/api/chat- REST endpoint for agent interactions - Health Check at
http://localhost:<port>/health- Server status
Hot Reload
The server automatically reloads when you modify:- Agent definitions in Python files
- Tool implementations
- Configuration in
klisk.config.yaml
Configuration
The port is read fromklisk.config.yaml:
Examples
Start a Specific Project
Start Using a Path
Start Workspace Mode
Environment Variables
Make sure your.env file includes required API keys:
Error Handling
Common issues:- Port already in use: Change the port in
klisk.config.yamlor stop the conflicting process - Project not found: Verify the project name or path exists
- Missing .env: Create
.envfrom.env.exampleand add your API keys
Development Workflow
- Start the dev server:
klisk dev my-agent - Open Studio in browser:
http://localhost:8000 - Test your agent interactively
- Edit agent code - changes reload automatically
- Refresh browser to see updates
Related Commands
klisk create- Create a new projectklisk run- Run agent from CLIklisk serve- Production serverklisk check- Validate project