About

4 minutes reading time

Hello!
I’m glad you made it here 🙂

freestate.ro is a long-standing project, which has transformed over time from a photo blog in 2009 into a portal of tools and applications for research, learning, and creativity. This includes virtual assistants, such as the freestate AI companion, and other types of AI-based applications (‘Delivery Assistant‘, ‘Direct Booking Assistant‘, etc.).
Think of freestate.ro as a free digital campus designed as a coworking space where your colleague, equipped with artificial intelligence, helps you conduct deep research, learn, and experiment, while the walls are projected with examples of what AI can create, motivating the concept of ‘prompt-to-action’.
The platform combines an AI Companion, a Prompt Engineering course, podcasts, and AI-generated media galleries into a unified ecosystem that emphasizes learning (education) and action (practical AI assistance).

freestate AI: Under the Hood

The application is designed and deployed on a lean, scalable way to build software, using AI prompt engineering techniques.
Platform used to build the application: aistudio.google.com (Premium account recommended for efficient workflow).
Implements strict protections to prevent prompt injection exploits.
Powered by Google’s advanced API model integrations, this software skips traditional coding. It leverages AI to translate human language into working systems—cutting dev time and lowering the barrier to innovation.
Initial build time: 1200 hours. (Continuously updating).

1. How it was built

Architecture: Freestate AI is built on a Client-Side First architecture, prioritizing privacy, speed, and direct interaction. Unlike traditional apps that route data through opaque intermediate servers, this application lives entirely in your browser.
The Core: The application is written in TypeScript, ensuring strict code safety and reliability.
The Brain: It connects directly to the Google GenAI SDK API, specifically utilizing the gemini-2.5-flash model for high-speed reasoning and low latency.
The Memory: I utilized IndexedDB, a powerful browser-based database system. This means conversation history, uploaded files, and settings are stored locally on your device. No one ever sees your data; it remains yours.
The Interface: The user interface is a reactive environment that updates at 60 frames per second using requestAnimationFrame, ensuring that text streaming, thought processes, and visual updates feel instant and fluid.

2. How it works: Workflow when you send a message

Context Assembly: Collects your current prompt, relevant history, and any active file attachments.
System Prompt Injection: Injects a “System Prompt” – a strict set of internal behavioral rules written to ensure the system acts as a proactive and structured assistant.
Stream Processing: Generates the response in real-time. The app uses a “Smart Diff” engine to parse the output into two streams: the Internal Thought Process (visible to you) and the Final Response.
Action Execution: If the task requires it, it automatically triggers tools like Google Search for real-time data or the Deep Research agent for complex planning.

3. Capabilities

Thought Process: Unlike standard chatbots, freestate AI displays its step-by-step reasoning logic before answering, ensuring transparency in how final answers are reached.
Deep Research Mode: For complex queries, it generates a multi-step research plan, executing web searches for each step and synthesizing a complete report.

4. Multimodal Analysis:

Files: Can read and analyze PDF, DOCX, Excel, and code files.
Vision: Can see and interpret images.
Visual Generation: Can write code to render flowcharts, mind maps, and Gantt charts (via Mermaid.js) directly in the chat.
Voice Interaction: The app supports Push-to-Talk input and can read responses aloud using synthesized speech.
Coding Assistant: Offers syntax-highlighted code solutions with refactoring capabilities. Uses the Google gemini-2.5-flash model.

5. Limitations:

Context Window: Although large, the “memory” regarding the current conversation is finite. Extremely long discussions may eventually lose the oldest details, so it is recommended to reintroduce context into the discussion.
Browser Dependency: Since data is stored locally, clearing your browser cache/data will wipe the conversation history (unless you export it).
Real-time Audio: While it can process voice input and output (transcribed to text), it does not support native, real-time voice conversations (like a phone call); it relies on ‘free’ text-to-speech engines.

Analogy:

The “Smart Lab”
Think of freestate AI as a private, high-tech laboratory, where you are the scientist behind it all.
The Lab (The App): This is the workspace. It has infinite whiteboards (Chat), filing cabinets (Storage), and specialized equipment (Deep Research Mode). It is secure; only you have the key.
– The Assistant (freestate AI): This is your tireless lab partner.
Give it a stack of papers (PDFs, Excel sheets), it reads them instantly and provides summaries or other requested response formats.
Ask a complex question about the universe, it doesn’t just guess; it goes to the library (Google Online Search), verifies the information, and returns with a report citing the sources where it obtained the information.
If you need to visualize a concept, it can immediately draw a plan in Diagrams, which can be downloaded later.

You can also find freestate.ro and freestate AI on: ‘YouTube‘, ‘Facebook‘, and ‘Instagram‘.

freestate.ro: The Prompter

Passionate about the “beautiful” and the “good” in general, a lover of animals and nature, and very curious about how nature and the brain works. How does nature work on a quantum scale, and how this affect the human level? What consciousness is?
Direct contact: ai@freestate.ro

Thank you for stopping by. I hope this space fuels your curiosity and helps you turn ideas into action.
Keep Exploring!