Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
65 lines (55 loc) · 3.63 KB
/
Copy path.env.example
File metadata and controls
65 lines (55 loc) · 3.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# ─── Polaris CLI · BYOK configuration ───────────────────────────────────────────
# Copy to .env in your working directory (loaded automatically by Bun), or to
# ~/.polaris/.env to configure a globally-installed polaris from anywhere
# (values in ./.env and your real environment always win).
# The CLI runs fully standalone on your filesystem — no sandbox, no cloud infra.
# LLM provider (any OpenAI-compatible endpoint). Bring your own key.
POLARIS_API_KEY=
POLARIS_BASE_URL=https://api.openai.com/v1
POLARIS_DEFAULT_MODEL=gpt-4o-mini
# Per-agent model overrides (optional). Fall back to POLARIS_DEFAULT_MODEL.
POLARIS_READ_MODEL=gpt-4o-mini
POLARIS_RESEARCH_MODEL=gpt-4o-mini
POLARIS_PLAN_MODEL=gpt-4o-mini
POLARIS_CODE_MODEL=gpt-4o-mini
POLARIS_ORCHESTRATOR_MODEL=gpt-4o-mini
# Keep a stuck model bounded (internal ReAct iterations per agent call).
POLARIS_AGENT_MAX_STEPS=4
POLARIS_ARXIV_MAX_CITATIONS=8
# ─── Upload limits (agent-server + file intake) ─────────────────────────────────
# Oversized uploads are rejected with 413 before being buffered; extracted
# paper text is capped so it can't blow up the LLM input.
POLARIS_MAX_UPLOAD_MB=25
POLARIS_MAX_PAPER_CHARS=600000
# ─── Ports ──────────────────────────────────────────────────────────────────────
# Agent-server (web UI + REST + /mcp route).
POLARIS_PORT=8788
# Standalone MCP endpoint used by `polaris run --engine trueforge`.
POLARIS_MCP_PORT=8791
# ─── CODE agent output ──────────────────────────────────────────────────────────
# Where project directories are created. Defaults to the current working
# directory, so `polaris run 2106.09685` creates ./paper-2106-09685/.
POLARIS_OUTPUT_DIR=./
# ─── trueForge harness (used by `polaris serve` / `polaris setup`) ───────────────
# Local trueForge server is managed automatically; override port/data dir here.
POLARIS_TRUEFORGE_PORT=8790
POLARIS_TRUEFORGE_SQLITE_PATH=./
# If you already run a trueForge server elsewhere, point the SDK at it:
POLARIS_TRUEFORGE_BASE_URL=
# Externally reachable polaris MCP URL (https://host/mcp) for REMOTE trueForge
# harnesses — a localhost URL would resolve on the remote host. Required only
# if you want `polaris run --engine trueforge` to (re)provision a remote harness.
# The local MCP listener binds loopback only; expose it via your own reverse
# proxy / tunnel in front of this URL.
# Hosted MCP (Cloudflare Worker): https://polaris-mcp.dilipkumar2000-r.workers.dev/mcp
POLARIS_MCP_PUBLIC_URL=https://polaris-mcp.dilipkumar2000-r.workers.dev/mcp
# ─── Polaris coded-implementation library (read-only retrieval) ────────────────
# The GitHub org holding our coded paper reproductions (paper-YYMM-NNNNN).
# The MCP search_polaris_papers / get_polaris_implementation tools read from here
# so coding agents can reuse existing implementations instead of starting fresh.
# Reuses GITHUB_ACCESS_TOKEN for a higher rate limit when set.
POLARIS_PAPERS_ORG=PolarisAI-Implementations
# Where newly generated implementations are pushed. Defaults to POLARIS_PAPERS_ORG
# so generated reproductions join the library and become retrievable by future runs.
# Set to a separate org to keep them apart.
POLARIS_PUBLISH_ORG=PolarisAI-Implementations