JetBrains IDE Integration
Contox integrates with JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, GoLand, Rider, etc.) via the Contox IntelliJ plugin. The plugin provides the same project memory capabilities as the VS Code extension: automatic git event capture, session management, and brain sync.
How it works
- The plugin monitors your git activity and captures commits, file changes, and session context
- At session end, you save your work directly from the IDE or via the CLI
- The brain document is kept in sync so your AI assistant always has current context
Prerequisites
- Contox CLI installed:
npm install -g contox-cli - CLI authenticated:
contox login -k <your-api-key> - Project initialized:
contox init -t <team-id> -p <project-id>
Install the plugin
Via JetBrains Marketplace
- Open Settings → Plugins → Marketplace
- Search for Contox
- Click Install and restart the IDE
Via local installation (early access)
If the plugin is not yet published on the Marketplace:
- Download the
.zipplugin file from your Contox dashboard - Open Settings → Plugins → gear icon → Install Plugin from Disk...
- Select the downloaded
.zipand restart the IDE
Configure the plugin
After installation, configure your credentials:
- Open Settings → Tools → Contox
- Enter your API Key, Team ID, and Project ID
- Click Verify Connection to confirm the setup
Your credentials are stored in the IDE's secure credential store and never written to project files.
Using Contox with AI Assistant
JetBrains AI Assistant (and tools like Continue.dev) can read context from files in your project. The fastest path is the CLI export:
# Export brain to a file your AI tools can read
contox export -f markdown > .contox/memory.md
If your JetBrains plugin supports a rules or context file (e.g., .junie/guidelines.md for JetBrains Junie), export to that path:
contox export -f markdown > .junie/guidelines.md
Saving sessions from the IDE
Use the Contox tool window (View → Tool Windows → Contox) to save your session directly from the IDE:
- Click Save Session
- Enter a brief summary of what you worked on
- Optionally add structured changes by category
Or use the CLI from the built-in terminal:
contox save "Brief summary of what you accomplished"
Auto-capture via git
The plugin watches your local git repository and automatically captures:
- Commit messages and changed files
- Branch switches
- Session start/end events
No manual action is needed — events are batched and sent in the background.
Fallback: CLI-only setup
If you prefer not to install the plugin, the CLI works standalone in any JetBrains terminal:
# Load project memory at session start
contox memory
# Save at session end
contox save "What you did"
Next steps
- VS Code Extension -- Full-featured extension with setup wizard
- CLI Reference -- Complete CLI command documentation
- Cursor Integration -- Similar file-based pattern for Cursor