Skip to content

alexleekt/kagi-assistant-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kagi-assistant-proxy

A proxy that exposes Kagi's LLM platform.

Setup

Environment Variables

Create a .env file in the project root:

cp .env.example .env
# Edit .env with your actual values

Or use mise.local.toml:

cp .env.example mise.local.toml
# Edit mise.local.toml with your actual values

Or set environment variables directly:

export KAGI_SESSION_KEY="your_session_key_here"
export PORT=5000  # optional, defaults to 5000

Required Variables

Variable Description How to Get
KAGI_SESSION_KEY Your Kagi session cookie Log into kagi.com, open DevTools → Application → Cookies → kagi_session value

Optional Variables

Variable Default Description
PORT 5000 Port to run the proxy server on

Running

python server.py

The proxy will be available at http://localhost:$PORT.

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).

Copyright (C) 2024-2025 Cyberes, Alex Lee

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

See LICENSE for the full license text.

About

A proxy that exposes Kagi's LLM platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors