You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a file called `.env`inside the `kady_agent` folder with this content:
50
+
Inside the `kady_agent` folder you'll find a file called `env.example`. Make a copy of it and rename the copy to `.env`(note the dot at the start). Then open `.env` in any text editor and paste your **OpenRouter API key** on the first line — that's the only key you need to get started.
51
51
52
-
```env
53
-
# Your OpenRouter API key (required)
54
-
OPENROUTER_API_KEY=paste-your-key-here
55
-
56
-
# Enables web search (optional)
57
-
PARALLEL_API_KEY=paste-your-key-here
58
-
59
-
# Leave these as-is — they connect internal services
60
-
GOOGLE_GEMINI_BASE_URL=http://localhost:4000
61
-
GEMINI_API_KEY=sk-litellm-local
62
-
63
-
# The default AI model Kady uses (you can change this in the app later)
# Remote compute — only fill in if you have a Modal account (optional)
67
-
MODAL_TOKEN_ID=
68
-
MODAL_TOKEN_SECRET=
69
-
```
70
-
71
-
At minimum, you need to fill in `OPENROUTER_API_KEY`. Everything else is optional or should be left as-is.
52
+
The file also has sections for other keys you can optionally fill in: **Parallel** for web search, **Modal** for remote compute, and a long list of scientific database and government data API keys. Just leave blank anything you don't need.
72
53
73
54
### Step 3 — Start the app
74
55
@@ -102,7 +83,8 @@ k-dense-byok/
102
83
├── start.sh ← The one script that starts everything
103
84
├── server.py ← Backend server
104
85
├── kady_agent/ ← Kady's brain: instructions, tools, and config
105
-
│ ├── .env ← Your API keys go here
86
+
│ ├── env.example ← Template for your API keys (copy to .env)
87
+
│ ├── .env ← Your API keys (created from env.example)
106
88
│ ├── agent.py ← Main agent definition
107
89
│ └── tools/ ← Tools Kady can use (web search, delegation, etc.)
108
90
├── web/ ← Frontend (the UI you see in your browser)
0 commit comments