Attachments forums

Re: 🖥️ Creating your own HomeLAB for trading

mazibee, Tue Apr 21, 2026 1:39 am

🧙‍♂️ CodeSage v1.2.0 "Elite IDE Edition" - The Modular Revolution

I want to start by giving a huge thanks to @Xard as usual for the inspiration and for laying the foundation that brought us here.
v1.1.0 was a masterpiece of lean logic, but v1.2.0 is a complete evolution into a professional grade development platform.

We’ve moved beyond a single script. CodeSage is now a fully modular, hardened AI IDE designed for those who need more than just a chat window.

🏗️ 1. The Modular Soul
The project has been completely decoupled into a clean architecture:

src/core/: Handles the "Brain" (API, Storage, and Config).
src/ui/: Handles the "Elite Graphics" and Layout. Stable, readable, and ready for you to build your own custom plugins or logic.

📑 2. Multi-Session Power (Tabs & Models)
Why limit yourself to one conversation?

The Notebook Interface: We’ve implemented a ttk.Notebook system. Open multiple tabs, switch between them instantly, and run different research paths in parallel.
Model Switcher: Dynamic live-switching between deepseek-chat (V3 speed) and deepseek-reasoner (R1 logic) directly from the toolbar.

🎨 3. Elite Theme Engine
We've replaced the generic look with a high contrast Professional Series:

Obsidian (Pure Black): 100% black for OLED focus.
Midnight Ocean: Deep navy aesthetics for long form coding.
Monokai Steel: A warm, classic developer vibe. And yes, your theme and model choices now persist between launches via .env write-back.

🛡️ 4. Production Hardening
We went deep into the engine room to make this the most stable version yet:

Cross Tab Session Binding: AI responses are now "locked" to their specific tab. You can switch tabs mid-generation with zero data leaks.
Hardened Thread Safety: Comprehensive RLock implementation ensures that background token estimation and sidebar updates never collide with your active stream.
Security Shield: Added file size and extension validation for the Drag-and-Drop feature—drop code safely!

🧠 5. The Blackboard & Memory Visualization
Mental Clarity: The Blackboard remains your project's "Shared Brain."
Context Pulse: A visual progress bar in the sidebar now tracks your token limits in real-time.

🚀 Agent-Ready Setup
I have zipped up the full CodeSage folder. It is now "AI-Agent Ready." If you are using an AI assistant (like Antigravity or CodeSage itself), simply give it the prompt:

"Set Up CodeSage"

The project includes a README.md and .env.example that tells any AI agent exactly how to create the venv, install requirements, and get you running in seconds.

Getting Started:
bash
# 1. Create & Activate Virtual Environment
python -m venv venv
.\venv\Scripts\activate # Windows
source venv/bin/activate # Linux/Mac
# 2. Install Dependencies
pip install -r requirements.txt
# 3. Launch the Master IDE
runCodeSage.bat or python src/codesage_v1.2.0.py

Check the USER_GUIDE.md inside the src/ folder for the full breakdown of pro tips and shortcuts.

This foundation is built for the community. Stable enough for daily use, yet modular enough for your own innovations.

I am running CodeSage on my Windows Dell AIO.

All enhancement were done using different AI models and further refinements through Antigravity.

I hope it will be helpful for others and request to all to enhance it further and share their enhanced versions.

Best
Mazi
All files in topic