How nikhiltiwari1234/e.d.i.t.h works
This is a command-line desktop AI assistant: users enter prompts, the assistant sends them to a Gemini model, and model-requested tools can launch apps or search in the current app. On quit, it asks the model to extract durable memories and stores them through the memory engine. The AI engine also offers screen analysis, though the shown workflow does not call it. Memory retrieval and history support are present but commented out of the active prompt loop; source excerpts do not establish a working retrieval store setup.
Main entry points: ai_engine.py AI engine · assistant.py Assistant loop · executer.py Tool executor · memory_engine.py Memory engine
Components 13
User workflow
- CLI entry
main.py - Assistant loop
assistant.py
AI services
- AI engine
brain/ai_engine.py - Tool executor
brain/executer.py - Runtime config
config.py - Screen analysis
brain/ai_engine.py
Desktop actions
- App launcher
actions/app_launcher.py - App search
actions/search.py
Memory
- Memory engine
brain/memory_engine.py
Other components
- User
- Gemini API
- Windows desktop
- Chroma collection
Connections 16
- User → CLI entry: starts
main.py - CLI entry → Assistant loop: runs
main.py - Assistant loop → User: prompts
assistant.py - Assistant loop → AI engine: sends prompts
assistant.py - AI engine → Gemini API: requests responses
brain/ai_engine.py - AI engine → Tool executor: dispatches tools
brain/ai_engine.py - Tool executor → App launcher: loads by name
brain/executer.py - Tool executor → App search: loads by name
brain/executer.py - App launcher → Windows desktop: launches apps
actions/app_launcher.py - App search → Windows desktop: types search
actions/search.py - Assistant loop → Memory engine: stores extracted memories
assistant.py - Memory engine → Runtime config: reads settings
brain/memory_engine.py - AI engine → Runtime config: reads settings
brain/ai_engine.py - Memory engine → Chroma collection: queries and updates
brain/memory_engine.py - AI engine → Screen analysis: captures and analyzes
brain/ai_engine.py - Screen analysis → Gemini API: sends screenshot
brain/ai_engine.py