π©πͺ Suchen Sie die deutsche Dokumentation? Hier geht es zur deutschen Version (README.de.md)
(Video show the old SaaS version - free version has improved functions)
Louis.AI.-.Einfuhrung.in.die.App.KI-.Business-.Finanzplanung.1.1.mp4
Build bank-grade, institution-ready financial plans (optimized for investors and strict European funding bodies like KfW, BAFA, AVGS) 100% locally on your own infrastructure. Formerly a premium B2B SaaSβnow fully open-source under GPLv3.
- Battle-Tested: In active production use by enterprises and startup consultants for over 12 months.
- Data Sovereign: Sensitive financial data, balances, and corporate strategies never leave your network.
Get LOUIS-AI up and running in less than 2 minutes, including a sandboxed, private local web search engine (SearXNG) out of the box:
# 1. Clone the repository and navigate into the folder
git clone <https://github.com/ren-AI-ssanceDE/LOUIS-AI> && cd louis-ai
# 2. Build and spin up the containers in the background
docker-compose up -d --build
Once deployed, open http://localhost:3000 instantly in your browser.
- Structured Workspace: Guided entry flows for corporate metadata, granular pricing matrixes, sales volumes, OpEx, CapEx (asset schedules), and dynamic financing (equity & debt schedules).
- P&L Statements (Ertragsplan): Automatic real-time formulation and aggregation of monthly and yearly revenues, materials, personnel cost, operating expenses, interest, and depreciation.
- Cash Flow Statements (LiquiditΓ€tsplan): Live cash inflow/outflow calculations computing monthly liquidity surpluses, dynamic minimum reserves, and funding bottlenecks.
- Depreciation Tables (Abschreibungsplan): Integrated with standardized asset schedules (e.g., German AfA-Tables) to automate linear depreciation values and net book values over multiple planning years.
- Scenario Comparison: Establish independent business plans (Best Case vs. Worst Case) and evaluate key performance metrics, ROI, ROS, and cash runways side-by-side via interactive D3 charts.
- The Orchestrator (Louis Visionary): The command center. Parses complex user input, classifies intent (
DATA_CHANGE,ANALYSIS,GENERAL), maps execution paths, and triggers agent tools. - The Architect (Execution Assistant): Runs specialized iterative loops using the ReAct model (up to 4 iterations). Consults local RAG data, fetches anonymized web data, and solves financial mathematical equations.
- The Critic (Louis QA): Automatically intercepts data proposals, audits generated arrays for physical and mathematical consistency, filters hallucinations, and enforces core business logic.
- Visible Chain-of-Thought (CoT): Strategic thinking, SWOT indicators, and financial reasoning are displayed transparently inside a collapsible UI
<thought>toggle block.
Absolute data integrity by design: The AI cannot write directly into your workspace database. Instead, it submits structured proposals analyzed and rendered in a Visual JSON Diff Review Panel. You inspect proposed financial changes line-by-line and accept or reject them with a single click (Human-in-the-Loop).
Upload internal enterprise data (PDF, DocX, Excel sheets) straight into your project context. Louis AI processes files completely offline via a secure local transformer pipeline (@xenova/transformers, MiniLM) and handles lightning-fast semantic searches using a local lancedb vector store.
[User Query] ββ> [Orchestrator] ββ> Identifies Intent (DATA_CHANGE, ANALYSIS, etc.)
β
βΌ
[ReAct Loop] (Up to 4 iterations)
βββ Chat Memory & Context Summary
βββ Web Search (SearXNG with automated fallback checks)
βββ Knowledge Base RAG Search (LanceDB + Local Transformers)
βββ Financial Math KPI Calculator
β
βΌ
[Louis Architect] ββ> Builds Thinking & Structured Data Draft
β
βΌ
[Louis QA Critic] ββ> Validates Schema & Financial Soundness
β
βΌ
[Diff Review UI] ββ> Human Manual Approval ββ> Persisted to SQLite DB!
- Vite + React (TypeScript): Ultrafast, strictly typed Single-Page Application interface.
- State Management:
Zustandfor unified, high-performance global states and action histories. - Data Visualization:
RechartsandD3for professional reactive financial analytics. - Localization: Fully localized with
react-i18next(English & German pre-configured). - Styling: Modern, modular design engineered with Tailwind CSS.
-
Express (Node.js): Directs API requests, secures environmental secrets, manages SMTP configurations, and handles file-system SQLite routing.
-
Databases:
-
SQLite (
better-sqlite3) for robust, file-based persistence per project. -
LanceDB for embedded, serverless vector search.
-
LLM Engine Compatibility: Out-of-the-box native integrations for:
-
Ollama: Secure, locally-run open models (recommended:
qwen2.5:14bormistral). -
Google Gemini API: Utilizing the high-speed
@google/genaiTypeScript SDK. -
OpenAI / Claude: Global API endpoints supported.
For detailed operating system requirements, please see INSTALL.md.
- Node.js: Version 20+ (LTS recommended)
- Build Tools: Python and C++ Compilers (GCC/Clang or MS Build Tools) to compile native addons (
better-sqlite3,lancedb).
# 1. Install all dependencies
npm install
# 2. Build production assets
npm run build
# 3. Fire up development mode
npm run dev
Create a .env file in the root folder based on .env.example:
APP_URL="http://localhost:3000"
PROJECT_TOKEN="your_secure_project_token"
# GEMINI_API_KEY="AIzaSy..." # Optional, can also be supplied inside the UI admin panel
This software is licensed under the GNU General Public License v3 (GPLv3).
- Free as in Freedom: Anyone is permitted to run, audit, modify, and redistribute LOUIS-AI.
- Copyleft Obligations: If you distribute modified versions of this software, or host modified versions of it as a paid online service (SaaS), you MUST publish your complete modified source code under the same GPLv3 license. Closed-source commercial forks are strictly prohibited.
LOUIS-AI is and will always remain 100% free. However, if you require professional deployment assistance, integration into legacy ERP/banking software, or custom feature branches tailored to your corporate workflow, the official core maintainer is available for hire:
ren-AI-ssance (Owner: Stefan Tusk) Pragmatic AI Solutions & Strategic Management Consulting.
- Website: https://ren-ai-ssance.de
- Email: service@ren-ai-ssance.de
- Contact: Stefan Tusk
Built with passion for data-sovereign corporate financial intelligence β www.ren-ai-ssance.de