Command-Line Agentic Refactoring of Java Code
⚠️ Early prototype — subject to rapid change.
Refrax is an AI-powered refactoring agent for Java code, implemented in Go.
We often need our source code to be polished by AI agents (like [Claude Code]), for example typos to be fixed, small refactorings applied, and JavaDoc blocks improved. But we struggle to formulate the prompt correctly. A simple "make my code better" may not work for two reasons: the agent quickly gets lost when it deals with hundreds of files, and the agent requires regular interaction with the user. Refrax solves both of these issues by breaking down a large demand to polish the code into a series of smaller requests to a number of agents with their specific roles: a critic, a reviewer, an editor, and so on. You just start Refrax and in a few minutes (or hours) it makes your code better, running fully autonomously.
Refrax integrates a number of LLMs communicating via the [A2A] protocol.
Download the latest stable version from the [releases] page. Pre-built binaries are available for macOS, Windows, and Linux.
If you have Go 1.24.1 or later installed, you can run:
go install github.com/cqfn/refrax@latest
To install a specific version, use:
go install github.com/cqfn/refrax@v0.0.1
Ensure that Go 1.24.1 or later is installed on your system.
Clone the repository:
git clone https://github.com/cqfn/refrax.git
cd refrax
Build the binary:
go build -o refrax
(Optional) Install the binary to your $GOPATH/bin:
go install
refrax refactor [path]: Refactor Java code in the specified directory (defaults to currentOpen-source AI coding agent for the terminal. Claude Code-grade accuracy with smart model routing — uses the right AI model for each task, cutting costs 10x. Supports Claude, GPT, Gemini, DeepSeek & more.
A general-purpose Python framework for building LLM agents and multi-agent systems. "Four lines of code, an agent with memory."
Ultimate LLM API Integration Cookbook 2026 for Cursor & AI Agents
Ultimate Multi-Agent OS for Autonomous AI NPCs 2026
PrivateAgent is an open-source Android automation agent built with Flutter. It utilizes the DeepSeek API and native Android Accessibility Services to interpret screen layouts and execute multi-step tasks across any installed application via natural language commands.
把一队分工 Agent 织成一条写小说的流水线,做成桌面客户端;写作指纹让它越写越像你(BYO DeepSeek key,纯本地)。
Workflows from the Neura Market marketplace related to this DeepSeek resource