Turn free AI access into one local compute pool.
Free-Forever is an experimental local orchestration layer for combining browser-based AI access, free APIs, and local models through one interface.
The goal is simple:
One interface. Any source. Multiple models.
Free-Forever handles what work should happen. OmniRoute handles where model requests are routed.
Free-Forever is currently early-stage / experimental, but the core path works.
Implemented
- A normalized execution contract: a
Taskgoes in and aResultcomes out, whatever source handled it - A
Sourceinterface with two sources:OmniRouteSource— any OpenAI-compatible endpoint, such as OmniRouteLocalModelSource— a local model served through the Ollama API
- Composite sources, which are themselves sources and can be nested:
FallbackSource— try sources in order until one succeedsParallelSource— start every source at once; the first success winsAggregateSource— run every source and combine the answersSequentialSource— run steps in order, each building its prompt from the previous answersynthesize()— ask several sources, then have a synthesizer source merge their answers
- An attempts trail on composite results: which sources were tried, what failed, and which one answered
- Commands that run through the configured source (OmniRoute, with optional extra models, an optional local model, and a choice of how they are combined):
analyze,check, andaskfor any prompt
Not implemented yet
- Browser-based AI access built into Free-Forever (OmniRoute's web providers can be used as models, but this is untested here)
The implementation is still under active development.
YOUR TASK
│
▼
FREE-FOREVER
│
▼
ORCHESTRATOR
│
┌─────────┼─────────┐
▼ ▼ ▼
Browser API Local
access sources models
│ │ │
└─────────┼─────────┘
▼
OMNIROUTE
│
▼
MODELS / PROVIDERS
│
▼
RESULT
Free-Forever should make different AI sources behave like one available pool of compute.
Model A → fails → Model B → result
TASK
┌───┼───┐
▼ ▼ ▼
A B C
└───┼───┘
▼
AGGREGATION
ParallelSource returns the first success; AggregateSource waits for every source and combines the answers.
Research → Analysis → Critique → Synthesis
Model A ─┐
Model B ─┼→ Synthesizer → Result
Model C ─┘
All four capabilities are implemented as library building blocks. The CLI exposes fallback, parallel execution and aggregation through LLM_STRATEGY; sequential workflows and cross-model synthesis are not configurable from the CLI yet.
A source may eventually be:
- Browser-based AI
- Free API
- Local model
- Open-source model
- Web source
- GitHub repository
- Document
- URL
- Dataset
- Other compatible adapters
Sources should be isolated and replaceable so that removing one provider does not require redesigning the system.
Local-first — Keep configuration and orchestration under the user's control.
Provider-agnostic — No single AI provider should be a hard dependency.
Composable — Models and sources should be building blocks.
Observable — Show which source/model was used, what failed, and how the result was produced.
Replaceable — Providers can disappear without breaking the core architecture.
Clone the repository and install the package with dependencies:
git clone https://github.com/Thecimal/Free-Forever.git
cd Free-Forever
python3 -m venv .venv
source .venv/bin/activate
pip install -e .For development (includes test and linting tools):
pip install -e ".[dev]"qs-orchestrator analyze reads its settings from the environment or a .env file (see .env.example):
| Variable | Meaning |
|---|---|
LLM_BASE_URL |
Base URL of the OpenAI-compatible endpoint, for example a local OmniRoute such as http://localhost:20128/v1 |
LLM_API_KEY |
API key for that endpoint |
LLM_MODEL |
Model to request (required unless LLM_MODELS is set) |
LLM_MODELS |
Optional. Comma-separated models; each becomes its own source. Overrides LLM_MODEL |
LLM_STRATEGY |
Optional. How several sources are combined: fallback (default), parallel or aggregate |
LOCAL_MODEL |
Optional. A local model name; when set, it is added as one more source (the last resort under the default fallback strategy) |
LOCAL_BASE_URL |
Optional. Local model server (Ollama API); defaults to http://localhost:11434 |
REPO_PATH |
Repository to analyze; defaults to the current directory |
GITHUB_REPOSITORY |
Repository name used in the prompt |
MAX_CONTEXT_CHARS |
Maximum repository context sent to the model; defaults to 50000 |
OmniRoute can also expose browser sessions (such as ChatGPT Web or Claude Web) as models. To use them, connect the provider in OmniRoute and list its model names in LLM_MODELS; qs-orchestrator check shows which source answered. This path has not been tested against a live OmniRoute yet.
Browser-backed models. OmniRoute's web-session providers work by reusing a logged-in browser session instead of an API key. Sessions expire and must be refreshed, providers can change or block this at any time, and using a service this way may be against its terms. Free-Forever does not control any of that, so check OmniRoute's documentation and each provider's terms before relying on it.
What analyze sends. analyze sends the git status, recent commit messages, the list of tracked files, and the contents of tracked source and config files (.py, .toml, .md, .yml, .yaml, .ini, .cfg, .sql) under REPO_PATH, up to MAX_CONTEXT_CHARS, to whichever model answers, which may be a third-party service. Do not point it at a repository that contains secrets or code you are not allowed to share.
qs-orchestrator analyze # run the analysis and save a report under reports/
qs-orchestrator analyze --dry-run # print the prompt without calling a model
qs-orchestrator check # send one small task and report availability, result and attempts
qs-orchestrator ask "your prompt" # send any prompt through the configured source (or pipe it on stdin)
The report is written to reports/analysis-<timestamp>.md. A summary on stderr says which source answered and lists any earlier failed attempts. If every source fails, the command exits with the error and writes no report.
1. [x] Single source execution
2. [x] Normalized source interface
3. [x] OmniRoute integration
4. [x] Fallback routing
5. [x] Parallel execution
6. [x] Result aggregation
7. [x] Sequential workflows
8. [ ] Browser sources
9. [x] Observability (attempts trail; no logging or metrics yet)
10. [x] Unified interface (`ask` runs any prompt through the configured source; workflows and synthesis are library-only)
What if all the free AI access you already have could behave like one local AI system?
That's what Free-Forever is building.
- Contributing Guide: Learn how to set up development, run tests, and propose changes.
- Security Policy: Guidelines for reporting vulnerabilities responsibly.
- Code of Conduct: Standards of conduct for contributors and maintainers.
- Support Guide: Where to get help, ask questions, or open feature requests.
- License: Licensed under the permissive MIT License.