How the-potential-dropout/intern works
Intern is a private, Windows desktop AI workspace: users chat with local models or ask an agent to work inside a chat-specific folder, then use the app to inspect, transform, and export results. Its product surface also includes voice, web research, image generation, explainers, audiobooks, and extensible plugins. The graph combines README-documented capabilities with sampled backend responsibilities; excerpts are partial, so it avoids inferring most internal dispatch and wiring.
Main entry points: app.js Chat and search · Agent.cs OpenCode agent engine · agent.js Agent workspace UI · Router.cs Model routing
Components 22
Workspace
- Desktop workspace
app.js - Chat and search
app.js - Voice chat
voice.js - Web research
web.js
Agent and models
- Agent workspace UI
agent.js - OpenCode agent engine
src/Agent.cs - Model routing
src/Router.cs - Model catalog
models.js - Local model runtimes
Files and media
- File and PDF handling
src/Files.cs - Phone uploads
src/Phone.cs - File exports
src/Files.cs
Creative tools
- Image generation
src/Image.cs - Charts and diagrams
charts.js - Explainer authoring
explainer.js - Video rendering
src/Explainer.cs - Audiobooks
audiobook.js
Local platform
- Plugins and connectors
src/Plugins.cs - Chat persistence
src/Intern.cs - Resource monitoring
src/Usage.cs - Image engine setup
src/Storage.cs
Other components
- User
Connections 22
- User → Desktop workspace: uses
- Desktop workspace → Chat and search: opens
app.js - Chat and search → Local model runtimes: prompts
- Chat and search → Chat persistence: saves chats
- Chat and search → Web research: requests research
- User → Agent workspace UI: starts agent work
- Agent workspace UI → OpenCode agent engine: uses
- OpenCode agent engine → Local model runtimes: uses
- OpenCode agent engine → Plugins and connectors: uses connectors
- Model catalog → Model routing: offers routing
- Model routing → Local model runtimes: selects models
- User → File and PDF handling: attaches files
- Phone uploads → File and PDF handling: uploads files
- Chat and search → File exports: exports answers
- Chat and search → Image generation: requests images
- Chat and search → Charts and diagrams: renders visuals
- User → Explainer authoring: creates video
- Explainer authoring → Video rendering: exports project
- User → Audiobooks: creates audiobook
- Desktop workspace → Voice chat: offers voice
- Desktop workspace → Resource monitoring: shows resources
- Image engine setup → Image generation: installs engine
src/Storage.cs