mirror of https://github.com/carlrobertoh/ProxyAI About The leading open-source AI copilot for JetBrains. Connect to any model in any environment, and customize your coding experience in any way you like. tryproxy.io
Find a file
Ju8z 38ed8c9bb5
Some checks failed
Build / Build (push) Has been cancelled
Build / Verify Plugin (push) Has been cancelled
fix: IntelliJ UI freeze when switching between external ACP agents such as OpenCode and Codex in the ProxyAI agent runtime selector. (#1213)
Problem:
  `closeSession()` was called synchronously from the runtime selector action path. Closing an active ACP session can block while closing stdio transport streams. In practice this can park the Swing UI thread in `AcpProtocolCore.close()` / `StdioTransport.close()`, leaving IntelliJ black-screened until the child ACP
  process is killed externally.

  A freeze report captured the EDT stuck under:
  - `AgentModelComboBoxAction.actionPerformed`
  - `ExternalAcpAgentService.closeSession`
  - `AcpProcessState.close`
  - `AcpProtocolCore.close`
  - `StdioTransport.close`
  - `FileDescriptor.close0`

 Changes:
  - Close removed ACP process states asynchronously on the service IO scope.
  - Remove the session setup mutex immediately after removing the state.
  - Stop the child ACP process before closing the protocol.
  - Force-kill the child process if it does not exit shortly after `destroy()`.
  - Log cleanup failures instead of propagating them back through the UI action path.

  Test-Locally
  - Reproduced locally with OpenCode -> Codex switching causing IntelliJ to freeze.
  - Verified the same close-order patch locally stopped the freeze by letting the ACP process terminate before protocol cleanup.
2026-04-20 12:54:10 +01:00
.github chore(deps): bump actions/setup-java from 4 to 5 (#1104) 2025-09-03 10:57:52 +01:00
buildSrc refactor: remove llm-client dependency in favor of Koog and refresh models 2026-03-09 16:56:43 +00:00
config/checkstyle feat: improved multi-line edits (#923) 2025-03-17 15:32:08 +00:00
docs docs: update docs 2026-03-31 17:23:25 +01:00
gradle refactor: replace custom JSON-RPC layer with official ACP SDK runtime 2026-03-27 10:45:58 +00:00
proxyai-telemetry refactor: rename modules 2026-01-26 13:49:47 +00:00
proxyai-treesitter refactor: rename modules 2026-01-26 13:49:47 +00:00
src fix: IntelliJ UI freeze when switching between external ACP agents such as OpenCode and Codex in the ProxyAI agent runtime selector. (#1213) 2026-04-20 12:54:10 +01:00
.gitattributes 👾 2023-04-29 19:46:05 +01:00
.gitignore chore: migrate to new gradle intellij plugin 2025-06-06 00:36:11 +01:00
.gitmodules #178 - Add support for running local LLMs via LLaMA C/C++ port (#249) 2023-11-03 12:00:24 +02:00
build.gradle.kts refactor: replace custom JSON-RPC layer with official ACP SDK runtime 2026-03-27 10:45:58 +00:00
CHANGELOG.md 3.8.0 2026-04-03 12:13:39 +01:00
codestyle.xml 1.10.3 - Add gpt-4-32k model, codestyle rules and cursor pointer for conversation panel, remove custom prompt textarea 2023-04-19 23:39:54 +01:00
DESCRIPTION.md docs: update description 2025-06-02 12:59:38 +01:00
GETTING_STARTED.md docs: extract getting started guide into its own doc 2024-04-07 17:38:00 +03:00
gradle-win-arm64.properties #178 - Add support for running local LLMs via LLaMA C/C++ port (#249) 2023-11-03 12:00:24 +02:00
gradle.properties 3.8.0 2026-04-03 12:13:39 +01:00
gradlew chore: bump gradle wrapper 8.11 (#771) 2024-11-21 09:54:19 +00:00
gradlew.bat chore: bump gradle wrapper 8.11 (#771) 2024-11-21 09:54:19 +00:00
LICENSE Update license 2023-11-17 00:54:49 +02:00
README.md feat: support debug logs 2025-11-17 10:07:12 +00:00
settings.gradle.kts refactor: rename modules 2026-01-26 13:49:47 +00:00


ProxyAI Logo

ProxyAI

The leading open-source AI copilot for JetBrains. Connect to any model in any environment, and customize your coding experience in any way you like.

Downloads Rating Discord Version

Table of Contents
  1. About The Project
  2. Core Features
  3. Running Locally
  4. Privacy
  5. Feedback
  6. License

Plugin screenshot

About The Project

ProxyAI is an AI-powered code assistant designed to help you with various programming activities. It is a great alternative to GitHub Copilot, AI Assistant, Codiumate, or any other extension on the JetBrains marketplace.

We equip you with the latest models, advanced tools, and on-premise solutions that are designed to significantly enhance your developer experience.

Access top-tier language models from OpenAI, Anthropic, Azure, Mistral, and others, or opt for a self-hosted model for a full offline experience.

Core Features

ProxyAI offers a wide range of features to enhance your development experience:

Chat

  • Auto Apply: Stream AI-suggested code changes directly into your editor. Preview modifications in diff view and approve or reject them with a single click.

  • Use images: Chat with your images. Upload manually or let ProxyAI auto-detect your screenshots.

  • Reference your files and folders: Quickly access and reference your project files and folders for context-aware coding assistance.

  • Reference web docs: Quickly reference web docs in your chat session, such as API guides, library manuals, and more.

  • Reference git history: Quickly reference commit logs and changes in your chat session

  • Search the web: Connect your favourite LLM to the web. ProxyAI will search for the most relevant information to answer your questions.

  • Customize your assistant: Choose between multiple different personas for your specific needs, whether you're looking to learn, write or proofread.

Code

  • Next edits: Get multi-line edits based on your recent activity as you type.

  • Autocomplete your code: Receive single-line or whole-function autocomplete suggestions as you type.

  • Edit code in natural language: Highlight the code you want to modify, describe the desired changes, and watch ProxyAI work its magic.

  • Get name suggestions: Get context-aware naming suggestions for methods, variables, and more.

  • Generate commit messages: Generate concise and descriptive commit messages based on the changes made in your codebase.

For a full list of features and detailed descriptions, visit our official documentation.

Running locally

Linux or macOS

git clone https://github.com/carlrobertoh/ProxyAI.git
cd ProxyAI
git submodule update
./gradlew runIde

Windows ARM64

./gradlew runIde -Penv=win-arm64

Tailing logs

tail -f build/idea-sandbox/IC-2025.1.1/log/idea.log

Privacy

Your data stays yours. ProxyAI does not collect or store any kind of sensitive information.

However, with users' consent, we do collect anonymous usage data, which we use to understand how users interact with the extension, including the most-used features and preferred providers.

Feedback

Your input helps us grow. Reach out through:

License

Apache 2.0 © Carl-Robert Linnupuu

If you found this project interesting, kindly rate it on the marketplace and don't forget to give it a star. Thanks again!

(back to top)