Cover image
Try Now
2025-04-14

✨ Un agente de código de alto rendimiento escrito en óxido, que combina las mejores características de WCGW y Serena para obtener la máxima eficiencia y capacidades semánticas. 🦀

3 years

Works with Finder

1

Github Watches

0

Github Forks

1

Github Stars

Winx

✨ Winx Code Agent ✨

✨ A high-performance code agent written in Rust, combining the best features of WCGW with reinforcement learning capabilities. 🦀

Language License GitHub language count Repository size Last Commit Made by Maia


🌟 Features

  • High Performance: Implemented in Rust for maximum efficiency
  • 🔄 Reinforcement Learning: Adaptive tool selection based on context and success patterns
  • 📁 Advanced File Operations:
    • 📖 Read files with line range support and chunking for large files
    • ✏️ Write new files with syntax validation
    • 🔍 Edit existing files with intelligent search/replace
    • ✅ Syntax checking to prevent code errors
  • 🖥️ Command Execution:
    • 🚀 Run shell commands with status tracking
    • 📺 Full GNU Screen integration for interactive sessions
    • 🔄 Automatic screen session management and orphan cleanup
    • 🖥️ Attach/detach from active sessions like wcgw
    • ⌨️ Interactive terminal commands with real-time feedback
    • 🏃‍♂️ Background process execution in detached screens
  • 🔀 Operational Modes:
    • 🔓 wcgw: Complete access to all features
    • 🔎 architect: Read-only mode for planning and analysis
    • 🔒 code_writer: Restricted access for controlled modifications
  • 📊 Project Management:
    • 📝 Repository structure analysis
    • 💾 Context saving and task resumption
    • 🧠 Task memory system
  • 🖼️ Media Support: Read images and encode as base64
  • 🧩 RMCP Protocol: Seamless integration with Claude and other LLMs

🖇️ Installation & Setup

Prerequisites

  • Rust 1.70 or higher
  • Tokio runtime
  • RMCP SDK

1. Clone the Repository

git clone https://github.com/gabrielmaialva33/winx-code-agent.git && cd winx-code-agent

2. Build the Project

# For development
cargo build

# For production
cargo build --release

3. Run the Agent

# Using cargo
cargo run

# Or directly
./target/release/winx-code-agent

🔧 Integration with Claude

Winx Code Agent is designed to work seamlessly with Claude via the MCP interface:

  1. Edit Claude's Configuration

    // In claude_desktop_config.json (Mac: ~/Library/Application Support/Claude/claude_desktop_config.json)
    {
      "mcpServers": {
        "winx": {
          "command": "/path/to/winx-code-agent",
          "args": [],
          "env": {
            "RUST_LOG": "info"
          }
        }
      }
    }
    
  2. Restart Claude after configuration to see the Winx MCP integration icon.

  3. Start using the tools through Claude's interface.


🛠️ Available Tools

🚀 Initialize

Always call this first to set up your workspace environment.

🖥️ BashCommand

Execute shell commands with intelligent error handling and status tracking.

📁 File Operations

  • ReadFiles: Read file content with line range support
  • WriteIfEmpty: Create new files safely
  • FileEdit: Edit existing files using intelligent search/replace
  • ReadImage: Process image files as base64

💾 ContextSave

Save task context for later resumption.


👨‍💻 Usage Workflow

  1. Initialize the workspace

    initialize(path="/path/to/your/project")
    
  2. Explore the codebase

    bash_command(command="find . -type f -name '*.rs' | sort")
    
  3. Read key files

    read_files(files=["/path/to/important_file.rs"])
    
  4. Make changes

    file_edit(file="/path/to/file.rs", edit_blocks="...")
    
  5. Run tests

    bash_command(command="cargo test")
    
  6. Save context for later

    context_save(id="my_task", description="Implementation of feature X")
    

📺 Screen Integration

Winx Code Agent now includes comprehensive GNU Screen integration, similar to wcgw:

  • Automatic session management: Commands run in screen sessions when available
  • Interactive terminal access: Use screen -x to attach to running sessions
  • Background process support: Run long processes with & in detached screens
  • Orphan cleanup: Automatically detects and cleans abandoned sessions
  • Screen commands: List, attach, detach, and get content via tool actions

See SCREEN_INTEGRATION.md for detailed documentation.


🏷 Need Support or Assistance?

If you need help or have any questions about Winx Code Agent, feel free to reach out via the following channels:


❣️ Support the Project

If you enjoy Winx Code Agent and want to support its development, consider:

Together, we can make Winx Code Agent even better!


🙏 Special Thanks

A huge thank you to rusiaaman for the inspiring work on WCGW, which served as a primary inspiration for this project. Winx Code Agent reimplements many of WCGW's best features in Rust for enhanced performance while adding reinforcement learning capabilities.


📜 License

MIT

相关推荐

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • 1Panel-dev
  • 🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.

  • rulego
  • ⛓️Rulego es un marco de motor de regla de orquestación de componentes de alta generación de alto rendimiento, de alto rendimiento y de alto rendimiento para GO.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

  • hkr04
  • SDK liviano C ++ MCP (Protocolo de contexto del modelo)

  • sigoden
  • Cree fácilmente herramientas y agentes de LLM utilizando funciones Plain Bash/JavaScript/Python.

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 Qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 DiFy 、 Claude 、 Gemini 、 Xai 、 PPIO 、 Ollama 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 Chatglm 、 SillyTraven 、 MCP 等 LLM 的机器人 / Agente | Plataforma de bots de mensajería instantánea basada en LLM, admite Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack

  • dmayboroda
  • Trapo conversacional local con contenedores configurables

  • modelscope
  • Iniciar aplicaciones de múltiples agentes empoderadas con Building LLM de manera más fácil.

  • paulwing
  • Un repositorio de pruebas creado con el servicio MCP

    Reviews

    3.8 (17)
    Avatar
    user_2I3DDMeq
    2025-04-26

    I've been using the winx-code-agent and it's fantastic! Developed by gabrielmaialva33, this tool has significantly improved my workflow efficiency. Its intuitive interface and reliable performance make coding a breeze. Highly recommended for anyone looking to enhance their coding experience!

    Avatar
    user_uf8DHxtS
    2025-04-26

    I've been using the winx-code-agent by gabrielmaialva33 for a while now, and I'm thoroughly impressed. The ease of use and seamless integration with my existing workflow have significantly boosted my productivity. The welcome information is clear and helpful, making the initial setup a breeze. Highly recommend this tool for anyone looking to enhance their coding experience!

    Avatar
    user_gJ1ttj5Q
    2025-04-26

    As a loyal MCP user, I highly recommend the winx-code-agent created by gabrielmaialva33. The tool seamlessly integrates into my workflow, enhancing productivity and efficiency. It provides a user-friendly interface and robust performance, making coding tasks much easier. The detailed documentation is a bonus, ensuring smooth setup and usage. An excellent choice for any developer!

    Avatar
    user_2fTFDJVl
    2025-04-26

    I've been using the Winx-Code-Agent by gabrielmaialva33 for a while now, and it has significantly improved my productivity. The interface is user-friendly, and the features are robust enough for both beginners and advanced users. I highly recommend it to anyone looking for a reliable code-management tool.

    Avatar
    user_Bmb8lgRL
    2025-04-26

    I've been using Winx-code-agent by gabrielmaialva33 and it's a fantastic tool! The interface is user-friendly, and the functionality is top-notch. It has significantly improved my workflow efficiency. Highly recommended for anyone looking to streamline their coding processes!

    Avatar
    user_78mMXahH
    2025-04-26

    As a dedicated user of the MCP application, I have to say that the Winx-Code-Agent by gabrielmaialva33 is an absolute game-changer. Its user-friendly interface and seamless integration ensure a smooth experience that boosts productivity. The helpful welcome message guides you through getting started effectively. Highly recommended for anyone looking to enhance their coding experience!

    Avatar
    user_ySB07rkd
    2025-04-26

    I recently started using Winx-Code-Agent by gabrielmaialva33 and it has been a game-changer for my workflow. It offers robust functionalities and easy integration into my existing setup. The user interface is intuitive and the performance is top-notch. Highly recommend this product to anyone looking to streamline their code management!

    Avatar
    user_lgO6JLYY
    2025-04-26

    Winx-code-agent is an exceptional tool for anyone in need of efficient code management. As an MCP applications enthusiast, I find its functionalities perfectly aligned with professional requirements. Gabrielmaialva33 has done a remarkable job creating this product. Its user-friendly interface and robust performance make it an indispensable asset in my daily coding tasks. Highly recommended!

    Avatar
    user_asPPXxz7
    2025-04-26

    I've been using the winx-code-agent for a few weeks now, and I'm thoroughly impressed. Developed by gabrielmaialva33, this tool efficiently handles all my coding needs with ease. The interface is user-friendly, and it integrates seamlessly with my workflow. Highly recommended for any developer looking to boost productivity!

    Avatar
    user_hJbpXyyI
    2025-04-26

    I have been using winx-code-agent for a while now, and it has significantly improved my productivity. Gabrielmaialva33 has created an exceptional tool that's user-friendly and efficient. The start URL is easy to access, and the welcome information makes it simple to get started. Highly recommended for anyone looking to streamline their coding tasks!

    Avatar
    user_Hgbpk8hH
    2025-04-26

    As a dedicated MCP user, I recently tried out the Winx-Code-Agent and I'm thoroughly impressed. Developed by gabrielmaialva33, this tool has significantly streamlined my coding workflow. The user-friendly interface and powerful features make it a must-have for any developer looking to enhance their productivity. Highly recommend giving it a try!

    Avatar
    user_djrV5Vlb
    2025-04-26

    I've been using the Winx-Code-Agent by gabrielmaialva33, and it has completely transformed my workflow. The seamless integration and user-friendly interface make handling tasks a breeze. The responsiveness and efficiency are unmatched. Highly recommend it to anyone looking to boost their productivity!

    Avatar
    user_OP7iriLT
    2025-04-26

    As a dedicated MCP application user, I found the winx-code-agent to be an exceptional tool. Created by gabrielmaialva33, it greatly enhances productivity with its intuitive interface and smooth performance. Highly recommended!

    Avatar
    user_mEEbuFKg
    2025-04-26

    As a devoted MCP application user, I find winx-code-agent incredibly efficient and user-friendly. Gabrielmaialva33 has done an excellent job with this agent. The interface is intuitive, and it significantly streamlines my coding workflow. Highly recommended to any developer seeking a reliable tool.

    Avatar
    user_znZJJsLn
    2025-04-26

    I recently tried the winx-code-agent by gabrielmaialva33 and it's exceptional. It has streamlined my workflow significantly. The interface is user-friendly and efficient. Highly recommend for anyone looking to enhance their coding experience!

    Avatar
    user_3o085m3Y
    2025-04-26

    As a dedicated user of MCP applications, I highly recommend the Winx-Code-Agent by gabrielmaialva33. This product has significantly streamlined my workflow, making code management and execution more efficient. The user-friendly interface and robust features make it a must-have tool for developers. Don't miss out on trying it!

    Avatar
    user_6CeYV6FC
    2025-04-26

    I've been using winx-code-agent for a while now, and it's fantastic! It's incredibly user-friendly and efficient, making coding a breeze. Gabrielmaialva33 did an excellent job developing this tool, and it's now an essential part of my workflow. Highly recommended for anyone looking to streamline their coding process!