Skip to content

feat(client): add demo mode via AXONFLOW_DEMO env var#133

Merged
saurabhjain1592 merged 9 commits intomainfrom
feat/demo-mode
Apr 9, 2026
Merged

feat(client): add demo mode via AXONFLOW_DEMO env var#133
saurabhjain1592 merged 9 commits intomainfrom
feat/demo-mode

Conversation

@gzak
Copy link
Copy Markdown
Contributor

@gzak gzak commented Apr 4, 2026

Addresses https://github.com/getaxonflow/axonflow-enterprise/issues/1500.

Changes

Commit 1 — demo mode: When AXONFLOW_DEMO=1 is set, the client overrides endpoint to the public demo instance (https://demo.getaxonflow.com, placeholder URL pending the instance being stood up) and makes client_id mandatory.

Commit 2 — random suffix: In demo mode, a 6-character random hex suffix is appended to the provided client_id (e.g. acmeacme-3f9a1c). This gives each evaluator session a unique namespace on the shared demo instance without requiring them to choose a globally unique ID.

Notes

  • No behavior change when AXONFLOW_DEMO is unset.
  • Demo URL is a placeholder — PRs will be updated with the real URL before merge.

@gzak gzak force-pushed the feat/demo-mode branch from 460cff3 to eea0355 Compare April 4, 2026 22:35
gzak and others added 3 commits April 9, 2026 15:03
- Rename AXONFLOW_DEMO → AXONFLOW_TRY
- URL: demo.getaxonflow.com → try.getaxonflow.com
- Remove client-side random suffix (server generates UUID tenant_id)
- Add register_try() helper in axonflow.community
- Checkpoint telemetry reports endpoint_type: "community-saas" in try mode
@saurabhjain1592 saurabhjain1592 merged commit 056700c into main Apr 9, 2026
12 checks passed
@saurabhjain1592 saurabhjain1592 deleted the feat/demo-mode branch April 10, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants