<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Refact.ai on Medium]]></title>
        <description><![CDATA[Stories by Refact.ai on Medium]]></description>
        <link>https://medium.com/@refact_ai?source=rss-8cb620bde090------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MwIZdZpuF3ChGVMs0kWing.png</url>
            <title>Stories by Refact.ai on Medium</title>
            <link>https://medium.com/@refact_ai?source=rss-8cb620bde090------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 01:32:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@refact_ai/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Long-term memory in AI programming: Why your team needs an Agent that doesn’t forget]]></title>
            <link>https://medium.com/@refact_ai/long-term-memory-in-ai-programming-why-your-team-needs-an-agent-that-doesnt-forget-f118b0655adb?source=rss-8cb620bde090------2</link>
            <guid isPermaLink="false">https://medium.com/p/f118b0655adb</guid>
            <category><![CDATA[agentic-workflow]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[memory-management]]></category>
            <category><![CDATA[ai-memory]]></category>
            <category><![CDATA[enterprise-ai]]></category>
            <dc:creator><![CDATA[Refact.ai]]></dc:creator>
            <pubDate>Thu, 10 Jul 2025 23:25:20 GMT</pubDate>
            <atom:updated>2025-07-10T23:25:20.648Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zMDL-aT40QfliIJrO23MLQ.png" /></figure><p><strong>Ever feel like you’re stuck in a developer’s version of Groundhog Day?</strong> You explain your code and project context to an AI, it helps for a while, but next session it’s like you’re meeting a stranger — all that context is gone.</p><p>You’ve probably seen this outside of coding too. You tell the AI you have two cats. Then later, while asking about pet food, it goes: <em>“So, do you have dogs?”</em> only to randomly mention your cats in a completely unrelated conversation about databases.</p><p>It’s frustrating. You want continuity in programming with AI, but it can’t even handle a task nearly identical to the one it solved yesterday. At some point, you start wondering why you bother at all. <em>Maybe that surfing career is still an option…</em> Sound familiar? Hold that thought.</p><p>How can we make AI remember and learn over time? <strong>The solution exists: continuous, long-term memory in AI Agents</strong>, and thankfully, today’s AI Agents can already use it in real workflows.</p><p>This article isn’t about the textbook definitions of memory types. Instead, we’ll explore the practical application of memory in modern agentic workflows, why knowledge management in AI programming is crucial, and how you can get an AI Agent with memory for you and your team.</p><h3>What is memory in AI programming tools?</h3><p>When we talk about “memory” in AI tools, it’s useful to distinguish between <strong>short-term</strong> and <strong>long-term</strong> memory:</p><ul><li><strong>Short-term memory</strong> refers to the information an AI model can hold within a single session. In practice, this is bounded by the model’s context window (the buffer of recent messages or code it can see at once). Everything within that window is the AI’s working memory. But once you exceed it or start a new session, the older context falls out of scope.</li><li><strong>Long-term memory</strong> refers to information that persists <strong><em>across sessions</em></strong> and beyond the context window. A true long-term memory in an AI coding Agent means it can retain and recall important facts and patterns from yesterday, last week, or last month, and use them to solve your task properly.</li></ul><p>In essence, short-term memory gives an AI continuity within a single conversation, but long-term memory gives it continuity across conversations, for example, within a workspace your team is working in.</p><h3>What is a long-term memory AI?</h3><p><strong>An example of AI with long-term memory is an AI Agent</strong> that, instead of wiping context after each interaction, retains critical information and reuses it to improve future responses. Thus, it might remember your key API endpoints, the fact that you’re migrating from one framework to another, the approach to some tasks, etc.</p><p>Crucially, long-term memory in AI isn’t about storing everything; it’s about capturing the right facts that will improve <strong>the AI accuracy and user experience</strong> later on. A well-designed memory system might log important details (e.g., <em>“User’s preferred database is PostgreSQL”</em>) and bring them up when relevant while ignoring irrelevant one-off prompts.</p><p>By persisting in such a context, an AI programming Agent could transition from a stateless tool to a learning collaborator. It would start to “know” your project and your team.</p><h3>Long-term memory AI simple explanation</h3><p>The experiment from the paper <a href="https://arxiv.org/abs/2304.03442"><em>“Generative Agents: Interactive Simulacra of Human Behavior”</em>(ACM UIST 2023)</a> demonstrates that long-term memory really enables consistent, evolving behavior of LLM Agents. Here, at the core is the concept of a <strong>memory stream</strong> — a natural-language log of everything the Agent observes, does, and thinks. It acts as persistent storage for experience and reasoning.</p><p>The behavior cycle is simple:</p><ul><li><strong>Perceive:</strong> write each new observation to the memory stream.</li><li><strong>Retrieve:</strong> pick the memories most useful right now, based on recency (time decay), importance (LM-rated 1–10), and relevance (semantic similarity to the current context).</li><li><strong>Reflect:</strong> cluster recent entries into broader takeaways (<em>“I enjoy helping people”</em>) that are saved back to memory.</li><li><strong>Plan:</strong> turn goals and reflections into an ordered set of actions.</li><li><strong>Act</strong>: execute the next step, record the result back to memory.</li></ul><p><em>“Agents perceive their environment, and all perceptions are saved in .. a memory stream. They use those retrieved actions to determine an action…, form longer-term plans and create higher-level reflections” — Generative Agents: Interactive Simulacra of Human Behavior.</em></p><p>The fact that your AI Agent doesn’t remember is a technical limitation or AI’s context window. As we’ve already understood, the model isn’t actively maintaining a knowledge base of what happened before. In practice, that means all the project structure, code details, and requirements you fed it earlier may be absent today.</p><p><strong>What is more crucial is that AI forgets the right decision it made.</strong> So if it wrote for you some brilliant piece of code or fixed an old bug doesn’t mean it would really understand how to do the same later on. Maintaining conversation memory with an AI Agent or preserving the Agent’s context and understanding across sessions is impossible without special handling.</p><blockquote><em>In modern development, if an AI Agent can’t accumulate experience, learn from mistakes, or follow a development narrative over time, it may be less useful in long-living coding projects and large codebases.</em></blockquote><h3>Why developers need Agent workflow memory</h3><p>For developers and teams using AI tools, the absence of long-term memory actively hinders productivity in several ways:</p><ul><li><strong>Every session starts from zero.</strong> You walk your AI Agent through a complex deployment issue: explain the stack, edge cases, infra. The next morning, it’s all gone. The Agent doesn’t apply this knowledge to the new related tasks. Instead of speeding you up, you’re back to step one, re-teaching the same things just to move forward.</li><li><strong>No project context.</strong> Perhaps you use a monorepo, custom TypeScript utilities, or strict error handling. Your AI Agent doesn’t remember. One day it breaks your build, another — suggests a pattern you deprecated.</li><li><strong>No learning across time.</strong> You ask the AI Agent to explain a module. Good answer. Later, you follow up, but it has already lost the thread. No memory means no buildup of knowledge, and your AI Agent doesn’t get smarter over time. Long-running dev tasks (like reviews or architecture work) suffer most.</li><li><strong>No team-wide learning.</strong> Even if the Agent helps your teammate fix a tricky bug, it won’t reuse that solution for you. It doesn’t log answers or reusable insights; there’s no memory of past interactions or shared record of what worked. There’s no place for teammates to review solved issues, learn from past prompts, or store useful context. Everything stays trapped in individual sessions.</li><li><strong>No shared access to team databases and docs.</strong> If one developer uses docs, bug reports, or attached files to guide their AI Agent, that knowledge stays locked to them. Other teammates’ AI tools can’t access or reuse it. There’s no shared memory, no team-wide access to best practices, so everyone solves the same problems in isolation, which breaks collaboration and leads to repeated mistakes.</li><li><strong>Knowledge leaves with people.</strong> When a developer quits, all their experience using the AI, like what worked, what failed, and which prompts led to the right outcome, disappears too. The AI has no memory of those interactions, so nothing is passed on.</li><li><strong>Poor onboarding support.</strong> New teammates need help catching up. A memory-enabled Agent could surface prior answers, key patterns, and context. Without it, each person starts from zero — AI tool for programming the team uses doesn’t learn from anyone’s previous interactions.</li></ul><p><strong>Given these limitations, it’s clear that enabling long-term memory in AI is the missing piece to make AI Agents truly effective.</strong></p><h3>Team knowledge in AI Agent: The future of software development</h3><p>What happens when your AI Agent in IDE starts retaining knowledge? To understand this, imagine an AI Agent that records its moves, notes which approaches succeeded or failed, and stores those as a memory item. Next time you give it a similar task, it can retrieve the relevant past attempts and <strong>solve new tasks with full context + the benefit of experience</strong>. In other words, it’s not just generating code from scratch, it’s drawing on a growing base of project-specific intelligence.</p><p>Now let’s extend this memory idea to a team. When every developer’s AI Agent logs its work and learnings, <strong>those personal memory streams can merge into a shared knowledge base</strong>.</p><p>The whole team gains automatic access to the best solutions, patterns, and gotchas discovered by anyone’s AI Agent on the project. A bug fix found by one Agent becomes instantly available to another even across team members. This collective memory becomes a form of <strong>AI-driven knowledge transfer across the team</strong> — a self-updating wiki of coding wisdom for the project at hand.</p><h3>AI knowledge management platform for storing long-term memory</h3><p>How is shared memory organized in AI Agents? The most efficient way is to store it in a <strong>workspace format:</strong> like a platform where each developer can preview which AI programming knowledge is saved and accessible in team members’ AI Agents in the IDE. The memory items are managed by the workspace admin.</p><p>And there’s more: this <strong>AI knowledge management platform</strong> can connect Agents to <strong>shared databases</strong>, docs, etc. These resources become universally accessible, so if one teammate uploads a guide or dataset, every Agent on the team can interact with it.</p><p>So, each AI Agent becomes both the <strong>contributor and consumer of the knowledge base organized in a shared workspace</strong>. By coordinating memory at the team level, you ensure AI output consistency, and the payoff is huge: fewer duplicated efforts, fewer recurring bugs, and onboarded developers get up to speed faster with the help of an AI that actually knows the project.</p><p>How many times have you wished <em>“Didn’t we solve a similar problem last month?”</em> — now the AI can instantly answer that and even apply the previous solution. Ultimately, when AI Agents gain long-term memory and shared team-wide data access, they stop repeating mistakes and start accelerating progress. Developers don’t just get a helpful AI digital twin: they get a system that remembers, learns, and collaborates at scale.</p><p>To sum up: integrating <strong>long-term memory and shared data access at the team level</strong> becomes an anti-frustration pill for AI Agents, letting them pull in relevant project knowledge whenever developers need it while programming with AI.</p><h3>Programming without AI memory vs. with AI memory: a comparison</h3><p><strong><em>Legend: </em></strong><em>❌ Without a memory layer; ✅ With memory</em></p><p><strong>Context handling</strong><br>❌ Requires repeated explanations<br>✅ AI Agent remembers past conversations and task states; resumes work with full context</p><p><strong>Access to shared project resources</strong><br>❌ Each developer manually re-uploads docs or code snippets; useful context stays local<br>✅ Team AI Agents query shared databases, internal docs, and APIs via a connected memory layer</p><p><strong>Team collaboration</strong><br>❌ No knowledge sharing; best practices on effective programming with AI are isolated<br>✅ Agents share successful approaches across the team automatically</p><p><strong>Knowledge reuse</strong><br>❌ AI Agent re-learns how to solve the same or similar tasks from scratch<br>✅ Proven solutions are reused and instantly applied in IDE across sessions and developers</p><p><strong>Code quality over time</strong><br>❌ Inconsistent; depends on how each developer prompts and guides their AI Agent<br>✅ AI Agents generate code that aligns with the project’s standards and improves with use</p><p><strong>Onboarding new team members</strong><br>❌ New developers start from zero: they need time to understand the project, learn coding practices, and figure out how the team works with AI Agents<br>✅ With shared memory, their AI Agents come preloaded with project knowledge and team conventions, offering relevant suggestions from day one</p><p><strong>Knowledge loss when teammates leave</strong><br>❌ When someone leaves, their experience with AI programming — including what worked and what didn’t — is lost<br>✅ With persistent memory, the AI Agent retains those learnings, so future teammates can reuse proven approaches without starting over</p><p>If you want to maintain AI context and understanding across programming sessions, you need an <strong>AI Agent with memory.</strong></p><h3>Implement memory in your AI Agent for programming</h3><p><strong>Why does AI memory matter? As AI tools for programming rapidly evolve, we’re at the point where forgetting should no longer be considered just the way it is</strong>. Giving AI for programming memory might be the key to unlocking a new level of continuity and efficiency.</p><p>If you’re choosing an AI coding tool, ask the simplest question: does it forget everything when you close the window, or does it learn and improve with you? That single difference defines whether it’s the best AI Agent for software development or just another tool.</p><p>The era of long-term memory in AI Agents is just beginning. These Agents remember your codebase, follow your standards, and re-apply successful solutions across tasks and teammates.</p><p>You can be among the first to adopt an AI Agent with memory. It runs inside your IDE with no complex setup, but the impact is real.</p><blockquote><em>For more information on how to </em><strong><em>get an AI Agent with memory for your IT team</em></strong><em> (from 3 people), </em><a href="https://refact.ai/waitlist/"><em>fill out the form</em></a><em>.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f118b0655adb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Refact.ai Agent achieved leading results on SWE-bench Multimodal and Verified]]></title>
            <link>https://medium.com/@refact_ai/refact-ai-agent-achieved-leading-results-on-swe-bench-multimodal-and-verified-02aaaf0dbca7?source=rss-8cb620bde090------2</link>
            <guid isPermaLink="false">https://medium.com/p/02aaaf0dbca7</guid>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[swe-bench]]></category>
            <category><![CDATA[ai-agent-development]]></category>
            <dc:creator><![CDATA[Refact.ai]]></dc:creator>
            <pubDate>Thu, 26 Jun 2025 09:27:16 GMT</pubDate>
            <atom:updated>2025-06-26T09:27:16.332Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H3l0L1VcguyevpnjwVMHNQ.png" /><figcaption><strong>Refact.ai is the best AI Agent on SWE-bench Multimodal</strong></figcaption></figure><p>Refact.ai Agent has achieved new SOTA results on SWE-bench — the key benchmark for evaluating autonomous AI Agents on real-world coding tasks:</p><ul><li><strong>#1 on SWE-bench Multimodal:</strong> 35.59% tasks resolved</li><li><strong>#2 on SWE-bench Verified:</strong> 74.40% tasks resolved.</li></ul><p>With these milestones, Refact.ai now holds leading positions across SWE-bench’s tracks — Verified, Light, and Multimodal — proving its strength for AI programming across multiple programming languages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3jlTc6uTxr1VRoem.png" /></figure><p><strong>The full </strong><a href="https://github.com/smallcloudai/refact-bench"><strong>SWE-bench pipeline we used is open-source</strong></a><strong> and reproducible.</strong> Our mission is to empower developers with an autonomous AI that amplifies their capabilities. We believe the future of programming is open-source — transparent, customizable, and community-driven — with AI tools built by developers, for developers.</p><p>These results aren’t just numbers. They show that Refact.ai Agent is a reliable autonomous programming partner: it handles real dev tasks end-to-end, while you can review and guide every step.</p><p><strong>Start using Refact.ai today</strong> in <a href="https://marketplace.visualstudio.com/items?itemName=smallcloud.codify">VS Code</a> or <a href="https://marketplace.visualstudio.com/items?itemName=smallcloud.codify">JetBrains</a> to speed up your development workflow by offloading your everyday tasks to AI Agent that’s really worth your trust.</p><h3>#1 AI Agent in SWE-bench Multimodal is Refact.ai</h3><p><strong>Refact.ai Agent reached the 1st place on SWE-bench Multimodal</strong> leaderboard, solving 184 out of 517 tasks (35.59%) with Claude 4 Sonnet.</p><p>This benchmark tests whether an AI Agent can handle GitHub issues that include both text and visuals, such as:</p><ul><li>Screenshots of bugs or interface issues</li><li>Design mockups or wireframes</li><li>Diagrams explaining desired functionality</li><li>Error messages with visual context.</li></ul><p>Unlike the Python-only original SWE-bench, <strong>the Multimodal dataset is focused on the JavaScript ecosystem</strong>. It covers tasks from libraries used in web interfaces, diagramming, data visualization, syntax highlighting, and more.</p><p>We ran this benchmark fully autonomously using a locally modified version of the official sb-cli to enforce single-threaded execution. We didn’t use extra agentic tools like debug_script( or strategic_planning, which were part of our earlier Verified runs.</p><p>Achieving #1 on SWE-bench Multimodal makes <a href="https://refact.ai/">Refact.ai a top-tier AI Agent for JavaScript tasks</a>. Combined with our leading results on Python-based SWE-bench, it confirms the Agent’s ability to deliver high-quality results across programming languages.</p><h3>Refact.ai’s open-source approach to SWE-bench</h3><p>The new run introduced a key upgrade: <strong>Anthropic’s</strong> Claude 4 Sonnet as the core model, bringing a notable boost in reasoning and code generation. With it, Refact.ai Agent reached a 74.40% score — surpassing our previous <a href="https://refact.ai/blog/2025/open-source-sota-on-swe-bench-verified-refact-ai">best SWE-bench Verified score of 70.4%</a> with Claude 3.7 Sonnet.</p><p>Beyond that, this milestone builds on everything we’ve learned from earlier SWE-bench runs. Refact.ai is evolving continuously, and the improvements added along the way have helped make this result possible.</p><p>Our approach remains focused on reliability and step-by-step problem solving. Key elements of the SWE-bench Verified setup included:</p><ul><li><a href="https://github.com/smallcloudai/refact/blob/swe-verified-claude4/refact-agent/engine/src/yaml_configs/customization_compiled_in.yaml#L63">Open-source Agent prompt, available on GitHub</a>.</li><li><strong>Claude 4 Sonnet</strong> as a core model</li><li>A debug_script() sub-agent that fixes bugs and can modify/create new scripts.</li><li>Extensive <strong>guardrails</strong> to catch when the model is stuck or going off track, and to redirect it back on course.</li><li><strong>Incremental improvements built on our previous Claude 3.7 run.</strong></li></ul><p><strong>How does Refact.ai Agent solve the SWE-bench Verified tasks?</strong> It follows a four-step strategy defined <a href="https://github.com/smallcloudai/refact/blob/swe-verified-claude4/refact-agent/engine/src/yaml_configs/customization_compiled_in.yaml#L63">in its system prompt</a>. The Agent starts by exploring the problem: using tools like cat() to open files, search_symbol_definition(), search_pattern(), etc. to locate relevant code. The Agent also uses compress_session(), ensuring it gathers the right context before attempting any changes.</p><p>At step two, the Agent reproduces the issue. It runs all existing tests to ensure a clean baseline, writes a script that triggers the bug (covering all possible edge cases), sets up the environment, and runs the script via shell(&quot;python ...&quot;) to confirm the failure. Then debug_script() takes over — <strong>a custom sub-agent</strong> that uses pdb to debug, modify, and generate scripts. Powered by Claude 4 with o4-mini for summarizing the debug info, it’s called at least once — and up to three times — per task. In practice, it was really helpful for digging into the problem source.</p><p>Once complete, the Agent plans and applies the fix based on the debugging report. It updates project files directly, without creating patches and diffs. In the earlier run, this step used a separate strategic_planning() tool. With Claude 4 Sonnet, that’s no longer needed — the model’s reasoning is strong enough to handle this job on its own. Finally, the Agent checks its work: re-runs the reproduction script and the project’s existing tests to validate the fix. If all tests pass, it uses compress_session() to offload any debug or temporary files and optimize context usage before ending the run.</p><p>Throughout the run, <strong>automatic guardrails</strong> help keep the Agent on track. These are mid-run messages, inserted into the chat as if from a simulated “user” when the model gets stuck or makes mistakes. A script statically monitors Claude 4’s outputs, and when needed, injects messages to guide the model back on course. For example, it may remind the model to open all visited files after debug_script(), or to follow correct implementation rules after planning. These small actions make a big difference in stability.</p><p>The entire run is fully autonomous: no manual inputs, no retries. Each task runs in a single session, with the Agent self-correcting and managing context to stay efficient and produce a <strong>single correct solution</strong>.</p><h3>SWE-bench Verified vol.2: What changed in the new run</h3><p>Several upgrades helped push Refact.ai Agent from 70.4% to 74.4% on SWE-bench Verified:</p><ul><li><strong>Model upgrade to Claude 4 Sonnet:</strong> Replaced Claude 3.7 with the more advanced Claude 4 Sonnet.</li><li><strong>Removed</strong> strategic_planning(): Previously, this tool (powered by o3) reasoned over debug_script() output and modified files This is now fully handled by Claude 4 Sonnet.</li><li><strong>New safeguard for file overload:</strong> Agent used to open entire folders using cat, leading to context overflow. We’ve added a limit: if a folder contains more than 5 files, the Agent returns an error and asks for one-by-one access: <em>(“Too many files were requested. Please open files one by one”)</em>.</li><li><strong>Extra guardrail at the end of the session:</strong> <em>“Check the last time that all changes applied to the project directly and all pre-existing tests aren’t broken”</em>.</li><li><strong>Larger context</strong> for search_pattern().</li><li><strong>Minor tweaks</strong> to debug_script() prompt.</li></ul><p><strong>All these improvements work together to make Refact.ai Agent more robust and efficient. </strong>Moving to Claude 4 Sonnet significantly boosted reasoning ability and allowed us to simplify the agent’s loop while still solving more tasks. Meanwhile, the <strong>debug sub-agent and guardrails</strong> have been enhanced to ensure greater reliability throughout each run.</p><h3>From benchmark to your IDE</h3><p>The new #1 SWE-bench result shows the rapid progress of Refact.ai Agent. Ultimately, our focus isn’t only on benchmark scores — it’s on building an AI agent that truly works for real developers. The lessons learned and improvements made for SWE-bench are already finding their way into the product. That means when you use Refact.ai, you’re benefitting from the engineering approach that achieved this benchmark record.</p><ul><li><strong>Solves tasks autonomously</strong>, from start to finish</li><li><strong>Fully understands your codebase</strong>, not just open tabs</li><li><strong>Transparent by design</strong> — every step is visible and reversible</li><li><strong>Integrates with dev tools</strong> (GitHub, Web, MCP, and more) to work across your system</li><li>BYOK-friendly or self-hosted <strong>if you want full control</strong>.</li></ul><p><strong>Refact.ai Agent is an AI Agent for software engineering you can trust</strong> — and guide when needed. Autonomous when you want it, collaborative when you step in.</p><p>If you’re ready to work with an AI that understands your environment, works across your tools, and earns your trust one task at a time, Refact.ai is ready for you.</p><p><a href="https://discord.com/invite/9GaWEK9Btb">Join our community</a>, see what real developers are building end-to-end, and start programming with Refact.ai Agent today.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=02aaaf0dbca7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How we built an open-source SOTA AI Agent on SWE-bench Verified]]></title>
            <link>https://medium.com/@refact_ai/how-we-built-an-open-source-sota-ai-agent-on-swe-bench-verified-d9957f1b8cb8?source=rss-8cb620bde090------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9957f1b8cb8</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[machine-learning-ai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Refact.ai]]></dc:creator>
            <pubDate>Thu, 22 May 2025 19:53:11 GMT</pubDate>
            <atom:updated>2025-05-22T19:53:11.146Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XLhHr5EiC3SheSyHFCld3Q.png" /></figure><p><strong>Refact.ai Agent achieved 69.8% on SWE-bench Verified — autonomously solving 349 out of 500 tasks. This makes </strong><a href="https://refact.ai/"><strong>Refact.ai</strong></a><strong> a leading open-source AI programming Agent on SWE-bench </strong>and places it among the top ranks on the leaderboard.</p><p><a href="https://openai.com/index/introducing-swe-bench-verified/">SWE-bench Verified</a> is a refined version of the original SWE-bench, featuring 500 real-world GitHub issues, selected manually. It provides a more accurate and consistent way to evaluate how well AI agents can handle practical software engineering tasks.</p><p>Key elements that made this possible:</p><ul><li>Extensive guardrails that step in when the model gets stuck or goes off track</li><li>debug_script() sub-agent that uses pdb to fix bugs and can modify/create new scripts</li><li>strategic_planning() tool powered by o3 to rethink and refine fixes when needed</li></ul><p><a href="https://github.com/smallcloudai/refact-bench">Our SWE-bench pipeline is open-source now — you can check it on GitHub. </a>You can implement the same components and run the benchmark just like we did — to reproduce our Agent approach and score end-to-end.</p><p><strong>Read on</strong> to see how <a href="https://refact.ai/blog/2025/open-source-sota-on-swe-bench-verified-refact-ai/">Refact.ai became the best open-source Agent in SWE-bench Verified</a>, and how the same ideas power real-world workflows in our product.</p><h3>Model setup</h3><ul><li>Orchestration model: Claude-3.7</li><li>Debug sub-agent — debug_script(): Claude-3.7 + o4-mini</li><li>Planning tool — strategic_planning(): o3</li><li>pass@1: Each task is not attempted more than once.</li><li>Temperature: 0 for every Claude model.</li></ul><p>For each SWE-bench Verified problem, <a href="https://refact.ai/">Refact.ai</a> Agent made one multi-step run aiming to produce a <strong>single, correct final solution.</strong> Our main goal was to achieve a maximum score in a single attempt.</p><h3>Simpler, more effective Agent prompt</h3><p>We revised the Agent prompt from our <a href="https://refact.ai/blog/2025/sota-on-swe-bench-lite-open-source-refact-ai/">SWE-bench Lite run, where we top-ranked with a 59.7% score</a>. Back then, it was more complex, and looking at how AI Agent behaved, we realized that simpler is better.</p><p>The new version is shorter and easier to follow. Since <a href="https://github.com/smallcloudai">Refact.ai is open-source</a>, you can explore it:</p><pre>You are a fully autonomous agent for coding tasks.<br>  Your task is to identify and solve the problem from the given PR by directly changing files in the given project.<br>  You must follow the strategy, step by step in the given order without skipping.<br>  **Step 1: Explore the Problem**<br>    - Use `cat()` to open files. Use `search_symbol_definition()`, `search_symbol_usages()` if you know names of symbols.<br>    - Use `search_pattern()` for search by pattern, `search_semantic()` for a semantic search.<br>  **Step 2: Reproduce the Problem using `debug_script()`**<br>    - Find and run all project&#39;s existing tests to ensure the fix won&#39;t introduce new problems elsewhere.<br>    - Write a script that reproduces the issue. Cover as many corner cases as possible.<br>    - Set up necessary environment (e.g., create required folders or additional files) to run the script.<br>    - Run the script using `shell(&quot;python ...&quot;)` to verify that the error occurs and the script is correct.<br>    - After verifying that the script is correct and reproduces the issue, call `debug_script()` to debug it.<br>  **Step 3: Make a Plan using `strategic_planning()` and fix the Problem**<br>    - Open all new files mentioned in `debug_script()` report.<br>    - Call `strategic_planning()` once to think through and brainstorm the solution.<br>    - Update projects files directly without creating patches and diffs.<br>  **Step 4: Check and Improve Your Work by running tests**<br>    - Execute the script that reproduces the original issue.<br>    - Run project&#39;s existing tests again to ensure the fix doesn&#39;t introduce new problems elsewhere.<br>**BEST PRACTICES**<br>    - You must follow the strategy (explore -&gt; reproduce -&gt; solve -&gt; check), step by step in the given order.<br>    - Before each step explicitly announce your next actions. Make sure they are still align with the strategy.<br>    - Include your thoughts wrapped in &lt;think&gt;&lt;/think&gt; before any action.<br>    - %CD_INSTRUCTIONS%</pre><h3>Introducing a debugging sub-agent</h3><p>When developers run into bugs, they investigate the code to figure out what went wrong. For our SWE-bench Verified run, that role was mimicked by debug_script().</p><p>debug_script() is a sub-agent inside Refact.ai that uses pdb to debug, modify, and generate scripts. It helps AI Agent gather key issue details:</p><ul><li>Which files are affected</li><li>What actually caused the failure</li><li>And how it might be fixed.</li></ul><p>Under the hood, debug_script() is powered by Claude-3.7, with o4-mini for summarizing debug info. We forced Refact.ai Agent to call this tool at least once — and up to three times — during each task.</p><p>In practice, this debugging sub-agent was really helpful for digging into the problem source.</p><h3>Guardrails to keep AI Agent on track</h3><p><strong>The more we tried to constrain the model, the more it resisted. Since the goal was to solve each task in one go, we needed ways to make Agent more reliable.</strong></p><p>We added <strong>automatic guardrails</strong> that kick in when the model gets stuck or makes mistakes. Essentially, these are helper messages, inserted into the chat mid-run as if from a simulated “user” — to nudge Agent back on track. It’s all automated: the script runs static checks on the main model’s (Claude-3.7) messages, and if it detects signs that something is going off track, it sends a message into the chat to help guide the model back in the right direction. These small actions make a big difference in stability.</p><p><strong>Extra prompts after sub-agent calls:</strong></p><p>After debug_script:</p><pre>💿 Open all visited files using `cat(file1,file2,file3,…)`!</pre><p>After strategic_planning():</p><pre>💿 Now implement the solution above.<br><br>Reminders:<br><br>- Do not create documents, README.md, or other files which are non-related to fixing the problem.<br>- Convert generated changes into the `update_textdoc()` or `create_textdoc()` tool calls. Do not creat<br>patches (in diff format) or monkey-patches!<br>- Change the project directly to fix the issue but do not modify existing tests.<br>- Find and run all project’s existing tests to ensure the fix won’t introduce new problems elsewhere.<br>- Create new test files only using `create_textdoc()`.</pre><p>Guardrails for Agent flow:</p><pre>💿 Use `debug_script()` instead of `shell()`; dig deeper than previous attempts and set breakpoints inside the project.<br>💿 Do not call `debug_script()` more than three times.<br>💿 Call `strategic_planning()` before modifying the project.<br>💿 If you struggle to find the correct solution, consider using `debug_script()` or `strategic_planning()`.<br>💿 You cannot call {a_tool_name}\ while on the previous step—follow the strategy.Strategic planning</pre><h3>Strategic planning</h3><p>The strategic_planning() tool comes in at Step 3 of the Agent prompt. It helps the model improve solution quality by reflecting on what went wrong — and what could be done better — based on the debug_script() report. It uses reasoning, powered by o3, and updates project files directly, without generating patches and diffs.</p><p>For this tool, we enforce one call per task.</p><p>Since the observation layer (search + pdb debug) was already quite efficient, strategy planning sometimes lagged. We tried the o4-mini and o3 models and found no obvious differences on a small subset of tasks. That said, both models were prone to overcomplicating tasks or not smart enough to identify the real root cause. Claude 3.7 might be a good candidate as a planning model in the future, given how well it did in other parts of the workflow.</p><h3>Improvements over the SWE-bench Lite strategy</h3><p>A 59.7% score on the SWE-bench Lite was a solid start. We shared <a href="https://refact.ai/blog/2025/sota-on-swe-bench-lite-open-source-refact-ai/">the full technical breakdown in our earlier blog post</a> — but even with a SOTA result, this run exposed a few weak spots.</p><p>Before tackling SWE-bench Verified, we prioritized addressing these issues found.</p><p><strong>Tools-related updates:</strong></p><ul><li>Fixed a few tool-related issues, making the tools more tolerant of the model’s uncertainty when calling them.</li><li>Renamed tools — the model often skipped some tools as their names were unclear. New names:</li></ul><pre>definition()     -&gt; search\_symbol\_definition()  <br>references()     -&gt; search\_symbol\_usages()  <br>regex\_search()  -&gt; search\_pattern()  <br>search()         -&gt; search\_semantic()  <br>deep\_analysis() -&gt; strategic\_planning()</pre><ul><li>Fixed the AST mechanisms inside refact-lsp that prevented decorated symbols from being parsed.</li><li>Resolved an issue where Agent didn’t wait for ast/vecdb to finish indexing the project.</li><li>We now mark line numbers, which add extra stability with retrieval tools like cat, search, etc.</li></ul><p><strong>Context-related updates:</strong></p><ul><li>Reduced the strength of chat compression. Claude 3.7 often tried to cat files already in context; instead of blocking it (which caused loops), we now allow the model to receive them again.</li><li>Encouraged the model to open whole files instead of many tiny cat calls to read a file line by line.</li><li>When the model opens large files, it noticeably degrades as the context size grows quickly. We continue to adjust this balance. During the SWE-bench Verified run, all these improvements were implemented.</li></ul><h3>What we tried that did not work</h3><p>Not every experiment makes it to production. Here’s what we tested — and what we implemented:</p><p><strong>Didn’t work → What works instead</strong></p><ol><li>A separate critique tool that allowed the model to assess its own changes <br>➡️<strong> </strong>Turns out, the model does better when it just runs tests and decides the next steps based on results.</li><li>A complex strategic_planning () tool flow with four steps: root-cause analysis → initial solution → critique → refined solution. It overcomplicated simple tasks and lowered success rates. <br>➡️<strong> </strong>Now, strategic_planning() only generates a solution — and this works better.</li><li>Using a pdb() tool without a dedicated sub-agent. The Claude model preferred shell()over pdb(), so debugging rarely happened.<br>➡️<strong> </strong>Introducing the debug_script() sub-agent made it reliable.</li><li>Running without sub-agents. As context grew, Claude 3.7 quickly became less accurate and stopped following instructions.<br>➡️ Letting sub-agents do their job.</li></ol><h3>From benchmark to real product</h3><p>What makes Refact.ai stand out isn’t just the % of solved benchmark tasks — it’s how our AI Agent gets there. <strong>Our goal isn’t to win all leaderboards just for the sake of it, but to build an approach that actually works for real-world programming.</strong></p><p>That’s why SWE-bench Verified is also a way to test and improve the actual engineering flow of our product. Many of the updates we made for the run (see: <em>Tools-related updates, Context-related updates</em>) are already shipping in Refact.ai.</p><p>The guard mechanisms are another example: in the product, we already have these helper messages that AI Agent automatically sends itself after calling certain tools. Like with debug_script(): it gets the tool output, and also a static instruction to open all the related files mentioned. So, these guard mechanisms are already part of specific flows. And we’re planning more, incluiding chat-wide checks to spot earlier off-tracks and react to them.</p><p>We’re also updating the AI Agent prompt used in Refact.ai for VS Code and JetBrains to improve product efficiency for our users. Notably, strategic_planning() isn’t (and won’t be) called by default in pluggin — it’s heavy on coins spent and not always necessary, since the main model is often enough to solve the task. That said, if you think your task needs deeper reasoning, you can still call it manually in chat with @. Just keep in mind it’s coin-expensive.</p><p>Refact.ai Agent solved SWE-bech Verified fully autonomously — but in real-world use, of course, developers often want more control. That’s why Refact.ai offers flexible interaction with manual overrides: you can delegate tasks to AI Agent, while it lets you preview and guide the process.</p><p><strong>That reflects our philosophy: </strong><a href="https://refact.ai/blog/2025/open-source-sota-on-swe-bench-verified-refact-ai/"><strong>autonomous AI Agent for programming you can trust</strong></a><strong> — and control when you need to.</strong></p><h3>Final score</h3><p>Out of 500 tasks in SWE-bench Verified:</p><ul><li><strong>🥇 Solved: 349 (69.8% resolve rate)</strong></li><li>Not solved: 151 (30.2%).</li></ul><p><strong>Evaluation results</strong></p><pre>Resolved by Repository:<br><br>astropy/astropy: 9/22 (40.91%)<br>django/django: 165/231 (71.43%)<br>matplotlib/matplotlib: 20/34 (58.82%)<br>mwaskom/seaborn: 0/2 (0.0%)<br>pallets/flask: 1/1 (100.0%)<br>psf/requests: 6/8 (75.0%)<br>pydata/xarray: 18/22 (81.82%)<br>pylint-dev/pylint: 4/10 (40.0%)<br>pytest-dev/pytest: 16/19 (84.21%)<br>scikit-learn/scikit-learn: 28/32 (87.5%)<br>sphinx-doc/sphinx: 28/44 (63.64%)<br>sympy/sympy: 54/75 (72.0%)<br><br>Resolved by Time:<br><br>2013: 3/3 (100.0%)<br>2014: 2/2 (100.0%)<br>2015: 0/1 (0.0%)<br>2016: 2/2 (100.0%)<br>2017: 13/16 (81.25%)<br>2018: 14/24 (58.33%)<br>2019: 73/98 (74.49%)<br>2020: 79/108 (73.15%)<br>2021: 54/86 (62.79%)<br>2022: 71/102 (69.61%)<br>2023: 38/58 (65.52%)</pre><h3>Get Refact.ai Agent for your IDE</h3><p>Refact.ai is an autonomous AI Agent that automates programming tasks — helping developers and IT teams move faster.</p><p><strong>With Refact.ai in your IDE, you get:</strong></p><ul><li>Real automation that boosts productivity by 10x</li><li>Seamless integration with your codebase, workflow, and dev tools</li><li>A digital twin that handles your busywork and lets you focus on big things.</li></ul><p>Available to everyone: install Refact.ai for <a href="https://marketplace.visualstudio.com/items?itemName=smallcloud.codify">VS Code</a> or <a href="https://plugins.jetbrains.com/plugin/20647-refact--open-source-ai-agent-code-generator--chat">JetBrains</a> today and feel the <strong>real impact in your everyday programming.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9957f1b8cb8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Open-source Refact.ai Agent is SOTA on SWE-bench Lite with a 59,7% score]]></title>
            <link>https://medium.com/@refact_ai/open-source-refact-ai-agent-is-sota-on-swe-bench-lite-with-a-59-7-score-9300470962ff?source=rss-8cb620bde090------2</link>
            <guid isPermaLink="false">https://medium.com/p/9300470962ff</guid>
            <category><![CDATA[ai-coding]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[swe-bench]]></category>
            <category><![CDATA[ai-coding-agent]]></category>
            <dc:creator><![CDATA[Refact.ai]]></dc:creator>
            <pubDate>Mon, 05 May 2025 20:13:57 GMT</pubDate>
            <atom:updated>2025-05-05T21:43:17.447Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Refact.ai AI Agent for programming became the best AI tool on SWE-bench lite" src="https://cdn-images-1.medium.com/max/1024/1*3XKTzH-MEAS2Cne1Wpdm-g.png" /></figure><p><a href="https://refact.ai/blog/2025/sota-on-swe-bench-lite-open-source-refact-ai/?utm_source=media&amp;utm_medium=meduim&amp;utm_campaign=SWE-light">Refact.ai Agent has achieved the <strong>#1 score on SWE-bench Lite</strong></a><strong> — solving 179 out of 300 tasks</strong>, for a 59,7% success rate. This result puts Refact.ai at the top of the leaderboard and makes it the <strong>best-performing </strong><a href="https://refact.ai/?utm_source=media&amp;utm_medium=meduim&amp;utm_campaign=SWE-light"><strong>open-source AI agent for programming</strong></a><strong> on SWE-bench Lite</strong> to date.</p><p><em>SWE-bench Lite is a benchmark that evaluates LLM-based systems on real GitHub issues from popular open-source Python projects. Each task requires applying a bug fix or feature implementation, then validating the result through test execution. This makes the benchmark particularly valuable for understanding how AI tools will perform in actual production environments.</em></p><h3>Agent setup</h3><p>Refact.ai Agent takes a fully autonomous, iterative approach. It plans, executes, tests, and self-corrects — repeating steps as needed to <strong>reach a single correct solution with no user input.</strong> So, the benchmark setup was designed to reflect our autonomy-first philosophy:</p><ul><li><strong>Prompt strategy</strong>: Defines the Agent’s behavior and high-level task-solving logic. Open-source and available <a href="https://medium.com/r?url=https%3A%2F%2Fgithub.com%2Fsmallcloudai%2Frefact%2Fblob%2Fswe-boosted-prompt%2Frefact-agent%2Fengine%2Fsrc%2Fyaml_configs%2Fcustomization_compiled_in.yaml%23L63">on GitHub</a>.</li><li><strong>Model</strong>: Claude 3.7 Sonnet — responsible for orchestration and decision-making.</li><li><strong>Execution layer</strong>: refact-lsp, a backend that connects the model to tools and the environment.</li><li>deep_analysis() <strong>tool</strong>: Enhanced reasoning, powered by o4-mini.</li><li><strong>Tool suite</strong> for repository exploration, code modification, and testing. Used dynamically based on task needs.</li><li><strong>Step cap</strong>: 60 agent steps (each one a discrete action) per task.</li></ul><p>What sets Refact.ai apart is that our AI Agent independently drives the entire process. While some solutions take a semi-autonomous approach — requiring to manually invoke tools and guide the agent — Refact.ai Agent operates independently from start to finish.</p><h3>Prompt strategy</h3><p>Refact.ai’s <a href="https://github.com/smallcloudai/refact/blob/swe-boosted-prompt/refact-agent/engine/src/yaml_configs/customization_compiled_in.yaml#L63">SWE-bench Lite prompt</a> follows a clear workflow:</p><ol><li>Describe the problem.</li><li>Investigate the repo.</li><li>Create and run problem reproduction script.</li><li>Make up a plan (using deep_analysis() powered by o4-mini) and apply changes.</li><li>Run tests and evaluate changes (including optional reasoning with deep_analysis())</li><li>Repeat 4 and 5 steps until the problem is solved.</li></ol><p><strong>This workflow serves as high-level guidance, not hard rules.</strong> Refact.ai Agent uses it <strong>to form its own strategy</strong> — repeating, skipping, or reordering steps based on task context.</p><p>For each SWE-bench problem, <a href="https://refact.ai/blog/2025/refact-ai-agent-achieves-93-3-on-aider-polyglot-benchmark/?utm_source=media&amp;utm_medium=meduim&amp;utm_campaign=SWE-light">Refact.ai Agent</a> made <strong>one multi-step run to produce a single, correct final solution.</strong></p><h3>Claude 3.7: Model choice</h3><p>Refact.ai uses <strong>Claude 3.7 Sonnet with sampling temperature 0.0</strong> as its core model for SWE-bench Lite. It demonstrated exceptional capabilities for autonomous workflows: following multi-step instructions, understanding complex codebases, and maintaining context across long interactions.</p><p>We’ve previously paired <a href="https://refact.ai/blog/2025/refact-ai-agent-achieves-93-3-on-aider-polyglot-benchmark/?utm_source=media&amp;utm_medium=meduim&amp;utm_campaign=SWE-light">Refact.ai with Claude 3.7, solving the Polyglot benchmark</a>, where it reached <strong>93.3% with Thinking Mode</strong> and <strong>92.9% without</strong> — the highest known scores to date on that task set.</p><h3>Deep-analysis() tool</h3><p>One of the key features in Refact.ai’s approach is the deep_analysis() tool. It adds a structured, three-step reasoning process that improves solution quality at critical moments in the task flow.</p><p>deep_analysis() is powered <strong>by o4-mini</strong> — a small, fast reasoning model that handles the cognitive load of problem-solving so Claude 3.7 can focus on orchestration.</p><p>The prompt for deep_analysis() tool follows the pattern [<a href="https://github.com/smallcloudai/refact/blob/swe-boosted-prompt/refact-agent/engine/src/tools/tool_deep_analysis.rs#L150">also on GitHub</a>]:</p><ol><li>Solution generation<br><em>”Get the initial solution”</em></li><li>Critique<br><em>”Please critique the solution above. Identify any weaknesses, limitations, or bugs. Be specific and thorough in your analysis. Remember, that the final solution must be minimal, robust, and effective.”</em></li><li>Refinement<br><em>”Please improve the original solution based on the critique. Provide a comprehensive, refined solution that addresses the weaknesses identified in the critique while maintaining the strengths of the original solution”</em></li></ol><p>This structured loop is normally triggered during <a href="https://github.com/smallcloudai/refact/blob/swe-boosted-prompt/refact-agent/engine/src/yaml_configs/customization_compiled_in.yaml#L63">Step 4 of the Benchmark prompt</a> — when planning and applying code changes. But in fact, Refact.ai Agent decides when to use this tool on its own.</p><p>Completing the benchmark, we observed that Agent sometimes called deep_analysis()multiple times — first during planning, then again when testing and evaluating results. In other cases, it skipped the tool entirely. This proves that Refact.ai Agent doesn’t follow a rigid script, but instead <strong>prioritizes its own strategy to get the task done right</strong>.</p><h3>Tools, tools, tools</h3><p>Refact.ai Agent has access to a variety of tools that allow it to interact with the entire development environment for tasks-solving.</p><ul><li>Code exploration: search(), regex_search(), definition(), references(), tree(), cat()</li><li>Editing: create_textdoc(), update_textdoc()</li><li>Shell execution: shell() — used to run Python tests and verify solutions.</li></ul><p>These tools enable AI Agent to navigate codebases, understand dependencies, make precise changes, and verify that its solutions work correctly. It uses them autonomously, what and when needed.</p><p>Although Refact.ai Agent can also interface with real-world tools (GitHub, Docker, PostgreSQL, etc.) and 1000+ tools via MCP servers, these integrations weren’t used in the benchmark run — but are part of standard workflows in user environments.</p><h3>60 steps cap</h3><p>Claude 3.7 Sonnet has <strong>60 steps</strong> to complete a task. A step = AI action, such as modifying a file, listing directories, or running tests. AI Agent strategically decides how to use these steps, leading to clear, controlled solutions.</p><h3>Final SOTA score</h3><p>Out of 300 tasks in SWE-bench Lite:</p><ul><li><strong>🥇 Solved: 179 (59,7% resolve rate)</strong></li><li>Not solved: 121 (40,3%).</li></ul><p>Refact.ai Agent even managed to solve two SWE-bench tasks that no other listed agents have (django-12589, sympy-21627) — supposingly, thanks to the o4-mini model’s reasoning capabilities.</p><h3>Evaluation results</h3><p>| Total | Solved | Not solved | Solved (%) | Unresolved (%) |<br>| — — — | — — — — -| — — — — — | — — — — — -| — — — — — — — |<br>| 300| 180 | 120 | 60,0% | 30,0% |</p><h3>Resolved by repository</h3><p>astropy/astropy: 3/6 (50.0%) <br>django/django: 78/114 (68.4%) <br>matplotlib/matplotlib: 11/23 (47.8%) <br>mwaskom/seaborn: 2/4 (50.0%) <br>pallets/flask: 0/3 (0.0%) <br>psf/requests: 5/6 (83.3%) <br>pydata/xarray: 2/5 (40.0%) <br>pylint-dev/pylint: 3/6 (50.0%) <br>pytest-dev/pytest: 10/17 (58.8%) <br>scikit-learn/scikit-learn: 17/23 (73.9%) <br>sphinx-doc/sphinx: 6/16 (37.5%) <br>sympy/sympy: 43/77 (55.8%).</p><h3>Looking forward</h3><p>Refact.ai’s performance on SWE-bench Lite demonstrates that AI agents are becoming increasingly capable of handling real-world software engineering tasks autonomously — not just generating code, but planning, debugging, testing, and refining it with minimal human input.</p><p>Our next step is evaluating Refact.ai Agent on <strong>SWE-bench verified</strong> — a benchmark with more rigorous testing.</p><p>All of this is part of our open-source commitment. Developers can explore the system, understand how autonomy is implemented, and even contribute. We believe that as the baseline work of software development shifts to AI, human engineers will be free to focus on the more interesting and creative parts of the job — and invite developers to build the future of programming together.</p><h3>Why does SWE-bench matter for developers?</h3><p>This isn’t just about ranking highly on a benchmark — <strong>it’s about real-world coding impact</strong>. Refact.ai Agent helps developers and software companies:</p><ul><li>Automate repetitive tasks across the SDLC</li><li>Focus on core work while the AI handles the rest</li><li>Deliver faster with the AI Agent working alongside you in your IDE</li><li>Delegate with confidence, knowing the AI writes reliable, tested code.</li></ul><h3>Get Refact.ai Agent for your IDE</h3><p>Vibe coding is the future of software development — get it today.</p><p><a href="https://refact.ai/?utm_source=media&amp;utm_medium=meduim&amp;utm_campaign=SWE-light">Refact.ai autonomous AI Agent for programming </a>works like a senior developer in your IDE:</p><ul><li>Works inside your workflow &amp; with your dev tools</li><li>Boosts productivity x10 with real automation</li><li>Handles coding while you focus on core work</li><li>Available to everyone in IDE.</li></ul><h4>Try open-source Refact.ai Agent for programming in <a href="https://marketplace.visualstudio.com/items?itemName=smallcloud.codify">VS Code</a> or <a href="https://plugins.jetbrains.com/plugin/20647-refact--open-source-ai-agent-code-generator--chat">JetBrains</a> and let us know what you think!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9300470962ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top-10 Tips for Conscious Vibe Coding]]></title>
            <link>https://medium.com/@refact_ai/top-10-tips-for-conscious-vibe-coding-08c2069a52de?source=rss-8cb620bde090------2</link>
            <guid isPermaLink="false">https://medium.com/p/08c2069a52de</guid>
            <category><![CDATA[autonomous-agent]]></category>
            <category><![CDATA[ai-coding]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Refact.ai]]></dc:creator>
            <pubDate>Tue, 01 Apr 2025 17:35:14 GMT</pubDate>
            <atom:updated>2025-04-01T18:08:33.997Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to the world of “Vibe Coding” — a way that’s transforming how we build software. This approach shifts the traditional focus from algorithmic precision to intent-driven development, where developers and non-technical professionals describe what they want rather than how to achieve it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*231i_tpb1ylyQ4UEpfoeGw.png" /></figure><blockquote>You can read this text on our blog: <a href="https://refact.ai/blog/2025/refact-ai-agent-achieves-93-3-on-aider-polyglot-benchmark/">Top-10 Tips for Conscious Vibe Coding.</a></blockquote><h3>What is Vibe Coding?</h3><p>The term “Vibe Coding” entered the tech lexicon just months ago, courtesy of Andrej Karpathy, former Director of AI at Tesla and ex-OpenAI researcher. On February 3, 2025, Karpathy <a href="https://x.com/karpathy/status/1886192184808149383">tweeted</a>:</p><p><em>“There’s a new kind of coding I call “vibe coding”, where you fully give in to the vibes, embrace exponentials, and forget that the code even exists.”</em></p><p>This simple yet profound statement captured the essence of a developing trend: allowing AI to handle the technical complexities while humans focus on ideation and direction. Since then, this term has exploded in popularity, with thousands of developers and entrepreneurs embracing this new paradigm.</p><h3>Top-10 Essential Tips for Successful Vibe Coding</h3><p>If you’re intrigued by the concept and eager to dive in, here are some practical 10 tips to enhance your Vibe Coding experience:</p><h3>1. Give clear and concise instructions</h3><p>Your AI isn’t a mind reader. While it’s tempting to provide vague directions and expect magic, specificity is your friend. Instead of saying “build me a habit tracker,” try “create a NextJS-based habit tracker with daily streak tracking and a clean, colorful UI.” The more precise your instructions, the better the output.</p><h3>2. Leverage different AI models</h3><figure><img alt="Choose the best AI models in Refact.ai Agent" src="https://cdn-images-1.medium.com/max/822/0*Io0XbkUBPZTMfb9m.png" /></figure><p>Use advanced reasoning models like GPT-o3-mini specifically for planning (in Refact.ai, just click ‘Think’ button’) and creating detailed Product Requirements Documents (PRDs), then pass these comprehensive plans to execution-focused models like Claude 3.7 to handle the actual coding implementation. The planning models excel at high-level thinking while execution models efficiently translate those plans into functional code.</p><h3>3. Accept and iterate, don’t perfect</h3><p>The beauty of Vibe Coding lies in rapid iteration. Don’t get stuck trying to make everything perfect in one go. Accept what the AI generates, test it, and then refine your instructions based on what you see. This cycle of acceptance and iteration leads to faster development and better results. Refact.ai enhances this workflow with powerful tools that allow the Agent to close the feedback loop autonomously. The Chrome tool enables the Agent to open websites or localhost servers, click through interfaces, and capture screenshots to use as additional context. Similarly, the pdb tool allows the Agent to debug code execution in real-time, identifying and resolving issues without constant human intervention. These capabilities mean the Agent can not only generate code but also test it, observe its behavior in action, and incorporate visual feedback into subsequent iterations — dramatically accelerating the development cycle while maintaining quality.</p><h3>4. Structure your code in separate files</h3><p>Instruct a model (we recommend Claude 3.7) to generate code in a modular way, using separate files instead of one large script. Keeping everything in a single file can clutter the context window and slow down responses. Instead, request well-organized, smaller files for better clarity. Always remind the Agent to clean the generated code and unnecessary files at the end of every iteration. Also asking to update the README file after every change can be beneficial.</p><h3>5. Context is key</h3><p>Mastering context management is the secret weapon of vibe coders. As <a href="https://simonw.substack.com/p/how-i-use-llms-to-help-me-write-code">Simon Willison</a>, Django’s co-creator, points out:</p><p><em>“Most of the craft of getting good results out of an LLM comes down to managing its context — the text that is part of your current conversation.”</em></p><p>Your AI assistant only knows what you’ve shared with it, so deliberately controlling what information is in context for each request improves results. Refact.ai takes this to the next level with its RAG-based system which allows the Agent to select the most necessary files and also open them using commands like “tree” to view the directory structure and “cat” to read file contents. This autonomous context management gives the AI a comprehensive understanding of your codebase without requiring you to manually guide it through every file. The Agent intelligently determines which code components are relevant to your current task and brings them into context, ensuring generated code that’s tailored to your specific project architecture and conventions.</p><p>The best way to work with <a href="http://refact.ai/">Refact.ai</a> is to simply indicate 1–2 initial files using the @file command, and then let the system get the context from other files by itself. This efficient workflow combines the precision of targeted context with the power of autonomous exploration, creating the ideal balance for productive vibe coding.</p><h3>6. Learn from the Community</h3><p>Community is an incredible way to learn and exchange insights. Follow key figures, join forums, and participate in discussions to pick up new techniques. For example, join the <a href="https://discord.com/invite/9GaWEK9Btb">Refact.ai Discord community</a> where we gathered developers who are excited about AI-driven programming.</p><h3>7. Create a comprehensive prompt library</h3><p>Develop a collection of proven prompts that work well for specific tasks. Having templates for common operations like “implement authentication,” “create a responsive navbar,” or “set up database models” can significantly speed up your workflow.</p><h3>8. Understand the basics</h3><p>While Vibe Coding reduces the need for deep technical knowledge, <strong>understanding fundamental concepts</strong> is still valuable. Knowing the difference between frontend and backend, basic data structures, and simple programming patterns will help you communicate effectively with your AI tools.</p><h3>9. Document the process</h3><p>Create a personal library of effective prompts, patterns, and terminology that consistently yield quality results with your AI assistant. Document successful approaches and your reasoning behind key decisions — this documentation becomes invaluable as projects grow in complexity. Maintain a glossary of project-specific terms that your AI responds well to, noting how slight variations in wording can dramatically affect output quality. This systematic approach transforms vibe coding from a haphazard process into a reproducible methodology that improves with each iteration.</p><h3>10. Engineering discipline still matters</h3><p>Even with powerful AI, engineering fundamentals remain essential. Here are several key pieces of advice from <a href="http://refact.ai/">Refact.ai</a> Co-founder Oleg Klimov, who emphasizes the importance of maintaining solid software development practices:</p><ul><li>Know your stuff as an engineer. AI can accelerate development, but understanding core software engineering principles ensures you produce high-quality code.</li><li>Pay attention to generated code. AI-generated code will form the core of your project, so review, refine, and optimize it regularly.</li><li>Be aware of AI limitations, so learn models’ weaknesses and adjust accordingly.</li><li>Reduce code size. Simplify your codebase by eliminating redundant parts at every opportunity</li><li>Write tests and commit frequently. Establish working checkpoints so you can revert to stable versions if needed.</li></ul><h3>AI Agent Useful Case Study</h3><p>User of Refact.ai, @Ukro built a complete IoT cloud monitoring Django application with the Refact.ai Agent doing 99.9% of the work. This real-world project included sophisticated features like:</p><p>- Permission management for various modules<br>- Automatic real-time updates via Ajax<br>- UI translation editing<br>- Dark/Light mode<br>- Custom OAuth2 SSO implementation</p><p>Amazingly, @Ukro only needed to write the models.py file himself — everything else was handled by the AI agent. While Agent worked, @Ukro was busy with his main job and family, as he shared. Here are some screenshots of what the AI Agent built for him:</p><figure><img alt="Vibe coding example" src="https://cdn-images-1.medium.com/max/1024/0*KMM8BTBBufJ9nLH-.png" /></figure><figure><img alt="Vibe coding example" src="https://cdn-images-1.medium.com/max/1024/0*q_r0l4ziw16CLemH.png" /></figure><figure><img alt="Vibe coding example" src="https://cdn-images-1.medium.com/max/1024/0*rwK1KSwFjqVHDskv.png" /></figure><h3>Potential risks of vibe coding</h3><p>Vibe coding comes with significant security concerns. Developers are integrating code they don’t fully understand, leading to potential vulnerabilities. Two primary security issues:</p><ol><li><strong>Blind trust</strong>: Developers implementing AI-generated code without understanding its security implications</li><li><strong>Dependency bloat</strong>: AI tools often add unnecessary dependencies that expand the attack surface</li></ol><p>In its recent article, <a href="https://www.indiehackers.com/post/tech/vibe-coding-has-a-security-problem-here-are-two-solutions-vLxyPTrTlZVwDo76oqvr">Indie Hackers</a> gave the example of the non-technical guy <a href="https://x.com/leojr94_">@leojr94_</a> who capitalized on the vibe coding trend by building an app in public and earning quick revenue, then hackers began exploiting numerous security vulnerabilities in his app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sjfqMqMlxbHFAwuv.jpg" /></figure><p>To mitigate these risks:</p><ul><li>Always review generated code for security best practices.</li><li>Understand core algorithms even if you didn’t write every line.</li><li>Scan for potential vulnerabilities before deploying.</li><li>Minimize dependencies when possible.</li></ul><p>And here are some more additional recommendations from Indie Hackers:</p><ul><li>Don’t make your API keys public, store hardcoding keys in a secure environment that only the application can access.</li><li>Don’t make an easily bypassable paywall</li></ul><p>Additionally, non-technical founders should balance their “ship fast” mentality with basic security measures or partnerships with security-focused developers.</p><h3>What users think about Vibe Coding</h3><p>“Vibe coding” has exploded as a search term, evolving from niche concept to mainstream tech conversation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jbbOYv4swJuaioIK.png" /></figure><p>Yet important distinctions are emerging in the discourse — some developers pointedly differentiates between intention-based “vibe coding” and potentially problematic “blind coding” where developers implement AI solutions without understanding them. The community response remains decidedly mixed: skeptics outnumber enthusiasts in recent discussions, with many experienced developers expressing reservations about reliability and maintenance implications. Join the discussion in our <a href="https://discord.com/invite/9GaWEK9Btb">Discord community</a> and share your thoughts!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/0*-BfM0S4L6Yr1pDop.png" /></figure><p>Interestingly, the market is responding in polarized ways: some organizations are actively recruiting for “Vibe Coder” positions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Kd2YxFNrVcTlfW4D.jpg" /></figure><p>While entrepreneurial developers have launched services specifically targeting the cleanup of problematic code generated through vibe coding approaches.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*02YnxyV2G2-oyKj-.jpg" /></figure><h3>Difference between AI Tools for Vibe Coding</h3><p>This quadrant provides an overview of various AI coding tools, highlighting the key differences between those associated with “vibe coding” (such as Lovable, Bolt, and v0) and more developer-centric solutions like Refact.ai.</p><p>It is a combination of two quadrants originally shared by <a href="https://www.linkedin.com/feed/update/urn:li:activity:7295132016201588736/">Henry Shi</a> (co-founder of Super.com) and <a href="https://www.linkedin.com/posts/lucamezzalira_genai-developers-coding-activity-7309338036385792000-F9UI?utm_source=share&amp;utm_medium=member_desktop&amp;rcm=ACoAADZs-MUB4aYFSf_rIeq9hYWWakw0z9dHAQU">Luca Mezzalira</a> (Principal Serverless Specialist Solutions Architect at Amazon Web Services) who is also leading ‘Dear Architects’ newsletter.</p><figure><img alt="Tools for vibe coding" src="https://cdn-images-1.medium.com/max/1024/0*LdupcOmCV_oxKJHy.png" /></figure><h4>Non-technical people focused tools:</h4><ul><li>Primarily designed for non-technical users (product managers, designers)</li><li>Focus on natural language understanding</li><li>Prioritize ease of use over technical precision</li><li>Best for simple applications and prototypes (MVPs)</li></ul><h4>Developer-centric solutions (Refact.ai)</h4><ul><li>Built for professional developers</li><li>Balance between natural language and technical precision</li><li>Integrate with existing development workflows</li><li>Support complex codebases and enterprise requirements</li></ul><h3>Conscious vibe coding approach</h3><p>Vibe coding represents a paradigm shift in software development — one that promises greater accessibility, faster development cycles, and more focus on creative problem-solving. However, it also demands a new set of skills focused on effective communication, critical evaluation, and security awareness.</p><p>Tools like Refact.ai are leading the way in conscious vibe coding, helping developers maintain quality and security while embracing the productivity benefits of AI collaboration. By developing a balanced approach that combines the intuitive nature of vibe coding with the rigor of traditional development practices, we can unleash the full potential of this new frontier.</p><p>As we continue to explore the possibilities of AI-powered development, the most successful developers will be those who view AI not as a replacement for technical understanding, but as a powerful collaborator that amplifies their existing skills and expands their creative possibilities.</p><p><a href="https://linktr.ee/refactai">Get Refact.ai Agent for IDE</a> | More links: <a href="https://github.com/smallcloudai/refact">GitHub</a>, <a href="https://www.linkedin.com/company/refactai/">LinkedIn</a>, <a href="https://x.com/refact_ai">X</a>, <a href="https://www.smallcloud.ai/discord">Discord</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=08c2069a52de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Refact.ai Agent scores highest on Aider’s Polyglot Benchmark: 93.3%]]></title>
            <link>https://medium.com/@refact_ai/refact-ai-agent-scores-highest-on-aiders-polyglot-benchmark-93-3-00ed0e3b9a6b?source=rss-8cb620bde090------2</link>
            <guid isPermaLink="false">https://medium.com/p/00ed0e3b9a6b</guid>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[llm-evaluation]]></category>
            <category><![CDATA[llm-agent]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[claude]]></category>
            <dc:creator><![CDATA[Refact.ai]]></dc:creator>
            <pubDate>Tue, 01 Apr 2025 17:14:48 GMT</pubDate>
            <atom:updated>2025-04-01T18:09:32.651Z</atom:updated>
            <content:encoded><![CDATA[<h3>Refact.ai Agent scores highest on Aider’s Polyglot Benchmark: 93.3% with Thinking Mode, 92.9% without</h3><p><a href="https://refact.ai/blog/2025/refact-ai-agent-achieves-93-3-on-aider-polyglot-benchmark/"><strong>Refact.ai Agent, powered by Claude 3.7 Sonnet, has achieved top performance on the Aider Polyglot Benchmark</strong></a><strong>:</strong></p><ul><li><strong>93.3% with Thinking</strong></li><li><strong>92.9% without Thinking</strong></li></ul><p>This 20-point lead over the highest listed score (72.9% by Aider with Gemini 2.5 Pro) showcases Refact.ai’s superior autonomous coding capabilities. <strong>It</strong> <strong>handles programming tasks end-to-end in IDE — planning, execution, testing, refinement — and delivers a highly accurate result with zero human intervention.</strong></p><figure><img alt="Refact.ai Agent scores highest on Aider’s Polyglot Benchmark: 93.3% with Thinking Mode, 92.9% without" src="https://cdn-images-1.medium.com/max/1024/0*8hZ6eA2g7Grje_sc.png" /></figure><p><em>Aider’s Polyglot benchmark evaluates how well AI models handle </em><a href="https://aider.chat/2024/12/21/polyglot.html#the-polyglot-benchmark"><em>225 of the hardest coding exercises from Exercism</em></a><em> across C++, Go, Java, JavaScript, Python, and Rust. Unlike SWE-Bench, which focuses solely on Python and single-file edits within 12 repos, Polyglot tests AI ability to write and integrate new code across diverse, multi-language projects, making it much closer to real-world developer workflows.</em></p><h3>Our approach: How Refact.ai achieved #1 in the polyglot leaderboard</h3><p>Refact.ai Agent takes <strong>a fully autonomous, iterative approach</strong>. It <strong>plans, executes, tests, self-corrects</strong>, and repeats steps as needed to fully complete tasks with high accuracy — without human input.</p><p><strong>Other approaches</strong> may follow a more manual, structured workflow, where some steps are <strong>controlled by human input + pre-defined scripts</strong>. Aider’s benchmark setup looks similar to this, following the trajectory:</p><ul><li>Prompt → User provides task description → User manually collects and adds files to the context → Model attempts to solve the task → Then retries, controlled by the number of — tries parameter → User runs tests manually and, if they fail, provides feedback to the model → Model does corrections → Result.</li></ul><p><strong>This workflow requires ongoing user involvement</strong> — manually providing context, running tests, and guiding the AI. The model itself doesn’t form a strategy, search for files, or decide when to test. Of course, this approach saves tokens, it also lacks autonomy.</p><p>Refact.ai has a different, autonomy-first AI workflow:</p><ul><li>Prompt + tool-specific prompts → User provides task description → AI Agent autonomously solves it within 30 steps (i.e. searches for the relevant data, calls tools, decides when corrections are needed, runs tests, etc.) → Result.</li></ul><p><strong>So, Refact.ai interacts with the development environment, verifies its own work, and optimizes resources to fully solve the task end-to-end</strong>, delivering efficient and practical programming flow with full-scope autonomy.</p><p><strong>This is much closer to real-world software development and vibe coding</strong>: developers can delegate entire tasks to AI Agent while doing other work, then simply receive the final result. It enables teams to get 2x more done in parallel, get the best out of AI models, and focus on big things instead of basic coding.</p><h4>Key aspects of Refact.ai Agent approach:</h4><p><strong>1️⃣ 100% autonomy at each step</strong></p><p>We at Refact.ai focus on making our AI Agent as <strong>autonomous, reliable, and trustworthy</strong> as possible. To complete tasks, it follows a structured prompt — since Refact.ai is open-source, you can explore our <a href="https://github.com/smallcloudai/refact/blob/dev/refact-agent/engine/src/yaml_configs/customization_compiled_in.yaml#L63">AI Agent prompt on GitHub</a>.</p><p>In short: <strong>The AI analyzes files → creates a task plan → executes it → tests results → refines the solution — all without human intervention.</strong> It independently decides what to check, fix, and retry. You don’t need to force this manually or copy-paste anything.</p><p><strong>2️⃣ Deep environment interaction</strong></p><p>The model fully integrates with the development environment. It can autonomously read files, call tools, modify code, run tests, and more as needed, whenever needed.</p><p><strong>3️⃣ Capped at 30 steps</strong></p><p>AI Agent has 30 messages to complete a task. Here, a “message” doesn’t mean human input — AI only needs one: the task description. A message refers to each AI action, such as modifying a file, listing directories, or running tests.</p><p>This cap ensures efficiency while avoiding unlimited retries or token inflation. AI Agent decides when and how to use these messages, leading to clear, controlled solutions.</p><p><strong>4️⃣ Self-testing with a possibility to check previous steps</strong></p><p>Tests are essential for autonomous AI to validate correctness and ensure the final output is reliable.</p><p>Refact.ai Agent can run tests multiple times. <strong>It doesn’t just test the final output</strong> — it can go back to earlier steps, correct mistakes, and retry. If test failures reveal deeper issues, the model may decide to revise previous actions and then create and test a new solution. Plus, the model sometimes runs tests even before trying to write a solution to gather a better preliminary context.</p><p>* * *</p><p>Our approach may slightly differ from what Aider used for solving this benchmark, as our AI agent strategy and vision focus on:</p><ul><li><strong>Full autonomy of AI agent at every step</strong>, with no need for human input</li><li><strong>Deep integration with tools and dev environment</strong>, enabling Agent to act independently</li><li><strong>Self-testing autonomously when needed</strong>, revising earlier steps, testing mid-process, and running multiple checks for accuracy</li><li><strong>Task completion within 30 steps</strong></li></ul><h3>Refact.ai Agent improvements &amp; benchmark progress</h3><p><strong>Two weeks ago, </strong><a href="https://refact.ai/blog/2025/refact-ai-agent-claude-3-7-sonnet-ranked-1-aider-polyglot/"><strong>we published that Refact.ai had achieved 76.4% on Polyglot with Claude 3.7 Sonnet No-Thinking</strong></a><strong>, already outperforming other listed results.</strong> However, the benchmark run revealed areas for improvement: in some cases, AI lacked enough steps to finish tasks, or skipped testing. Now, we introduced general improvements to Refact.ai Agent:</p><ul><li><strong>Doubled limit for AI to solve the task from 15 → 30</strong> to allow more complex solutions to fully complete.</li><li><strong>Enforced test execution</strong>, ensuring AI validates itself at least once per task.</li></ul><p><strong>These enhancements made Refact.ai Agent more effective for all users</strong> — also boosting the score from 76.4% to 92.9%, and reaching 93.3% score with Thinking.</p><h3>Thinking vs. No-Thinking mode: What’s the difference?</h3><p>“I think, therefore I am.” — René Descartes said. For AI, thinking isn’t philosophical, but practical. It refers to a state where models allocate additional computational resources for deeper reasoning.</p><p>Completing the Polyglot benchmark, Claude 3.7 Sonnet with Thinking received <strong>+4K extra tokens per response</strong> <strong>to use reasoning when requested.</strong> A quick recap of the results:</p><ul><li>92.9% without Thinking</li><li>93.3% with Thinking — but it also consumed nearly twice as many tokens to complete the benchmark</li></ul><p>This suggests that while Thinking enhances reasoning capabilities, <strong>Refact.ai’s autonomous iterative approach — planning, executing, testing, and refining — ensures high accuracy in solving programming tasks even without thinking enabled.</strong></p><p>For production use, we recommend enabling Thinking when working on longer, multi-step problems requiring deeper analysis, or handling high-risk code changes where additional reasoning helps avoid errors.</p><p>💡 You can try Thinking with Refact.ai Agent: just click the button to enable it. Available to all <a href="https://refact.ai/pricing/">Refact.ai Pro plan users</a>.</p><figure><img alt="Claude 3.7 Sonnet can use Thinking in Refact.ai Agent for programming" src="https://cdn-images-1.medium.com/max/1024/0*Zp2ISBO_mSsHSZW_.png" /></figure><h3>Key features of Refact.ai’s autonomous AI Agent</h3><p>Refact.ai’s advanced AI Agent thinks and acts like a developer, handling software engineering tasks end-to-end.</p><ul><li><strong>Autonomous task execution:</strong> Breaks tasks into steps, plans solutions, executes, and deploys code — all with minimal human input.</li><li><strong>Deep contextual understanding:</strong> Analyzes your entire environment, generating highly accurate and relevant code.</li><li><strong>Tool integration:</strong> Connects with essential dev tools like GitHub, Docker, PostgreSQL, MCP Servers, autonomously interacting with them for completing tasks.</li><li><strong>Memory and continuous improvement:</strong> Learns from every interaction, becoming better over time.</li><li><strong>Human-AI collaboration:</strong> When faced with obstacles, the Agent can self-correct, and if it requires human input, it natively hands control back to the user, fostering an efficient workflow.</li><li><strong>Open source:</strong> Fully transparent and verifiable for trust.</li></ul><h3>Why this matters for developers</h3><p>This isn’t just about ranking highly on a benchmark — it’s about <strong>real-world coding impact</strong>. Refact.ai’s AI agent helps developers and software companies:</p><ul><li>Automate repetitive tasks across the SDLC.</li><li>Focus on core work while the AI handles the rest.</li><li>Deliver faster with the AI Agent working alongside you in your IDE.</li><li>Delegate with confidence, knowing the AI writes reliable, tested code</li></ul><h3>Get Refact.ai for your IDE</h3><p>Vibe coding is the future of software development — get it today.</p><p>Refact.ai’s autonomous AI Agent works like a senior developer in your IDE:</p><ul><li>Works inside your workflow &amp; with your dev tools</li><li>Boosts productivity x10 with real automation</li><li>Handles coding while you focus on core work</li><li>Available to everyone in VS Code and JetBrains</li></ul><figure><a href="https://refact.ai/pricing/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9xQqK8iFy9fhTni3.png" /></a></figure><p><a href="https://linktr.ee/refactai">Get Refact.ai Agent for IDE</a> | More links: <a href="https://github.com/smallcloudai/refact">GitHub</a>, <a href="https://www.linkedin.com/company/refactai/">LinkedIn</a>, <a href="https://x.com/refact_ai">X</a>, <a href="https://www.smallcloud.ai/discord">Discord</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=00ed0e3b9a6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Refact.ai Agent + Claude 3.7 Sonnet ranked #1 on Aider’s Polyglot Benchmark with a score of 76.4%]]></title>
            <link>https://medium.com/@refact_ai/refact-ai-agent-claude-3-7-sonnet-ranked-1-on-aiders-polyglot-benchmark-with-a-score-of-76-4-3409ee7372dd?source=rss-8cb620bde090------2</link>
            <guid isPermaLink="false">https://medium.com/p/3409ee7372dd</guid>
            <category><![CDATA[ai-coding]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[aider]]></category>
            <category><![CDATA[ai-agent-software]]></category>
            <category><![CDATA[swe]]></category>
            <dc:creator><![CDATA[Refact.ai]]></dc:creator>
            <pubDate>Mon, 17 Mar 2025 17:14:32 GMT</pubDate>
            <atom:updated>2025-04-01T18:10:48.397Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Refact.ai Agent, powered by Claude 3.7 Sonnet, has achieved an impressive 76.4% score on Aider’s polyglot benchmark — without thinking capabilities enabled.</strong> This puts Refact.ai Agent at the top of the <a href="https://aider.chat/docs/leaderboards/">LLM leaderboard</a>, surpassing Aider’s own score of 60.4% with the same model, as well as DeepSeek Chat V3, GPT-4.5 Preview, ChatGPT-4o, and others.</p><p><strong>The key is our iterative approach to solving programming tasks.</strong> In your IDE, Refact.ai doesn’t just generate code — <strong>it ensures it works by iterating until it achieves a successful result.</strong> This guarantees highly accurate, production-ready outcomes with minimal human intervention.</p><blockquote><em>To learn more, </em><a href="https://refact.ai/blog/2025/refact-ai-agent-claude-3-7-sonnet-ranked-1-aider-polyglot/"><em>read the full article at Refact.ai Blog</em></a><em>.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R6jFNx_9NYCMRrMZYB5WmQ.png" /><figcaption>Refact.ai Agent + Claude 3.7 Sonnet achieved a 76.4% score on Aider’s polyglot benchmark, becoming the new #1 on the leaderboard.</figcaption></figure><h3>About Aider’s polyglot benchmark</h3><p>Aider polyglot benchmark evaluates how well AI can handle <strong>real-world programming challenges</strong>across multiple languages.</p><p>It consists of <a href="https://aider.chat/2024/12/21/polyglot.html#the-polyglot-benchmark">225 of the hardest coding exercises from Exercism,</a> covering C++, Go, Java, JavaScript, Python, and Rust, and measures:</p><ul><li>Can AI write new code that integrates seamlessly into existing codebases?</li><li>Can AI successfully apply all its changes to source files without human intervention?</li></ul><p>This makes Polyglot one of the most reliable benchmarks for testing autonomous AI in programming — not just for raw code generation, but also for reasoning, precision, and execution.</p><p>Explore the full test set in the <a href="https://github.com/Aider-AI/polyglot-benchmark">Aider polyglot benchmark repo</a> on GitHub.</p><h3>Why we chose Polyglot over SWE Bench</h3><p><strong>TL;DR:</strong> We at Refact.ai see Polyglot as a better choice for evaluating <strong>the real-world scenarios of AI agent application</strong> and determining their usefulness.</p><p>SWE Bench is popular and often seen as a key benchmark for AI coding agents. However, it has significant limitations:</p><ul><li><strong>Only tests Python</strong></li><li><strong>Relies on just 12 repositories</strong> (e.g., Django, SymPy)</li><li><strong>Benchmarked models are often pre-trained on these repos</strong> (skewing results)</li><li><strong>Only one file is changed per task</strong> (unrealistic for typical development work)</li><li><strong>Human-AI interaction is oversimplified</strong> (in reality, devs adjust how they collaborate with AI).</li></ul><p>Because of these constraints, SWE Bench <strong>doesn’t truly measure an AI agent’s efficiency in software engineering workflows</strong>, not in a controlled environment.</p><p>In contrast, <strong>Polyglot is much more representative and realistic</strong> — it imitates the environments developers work in every day and reflects actual needs. It measures how well AI can autonomously interact with diverse, multi-language projects.</p><p>So, we’d like to thank <a href="http://aider.chat/">Aider</a> for introducing this comprehensive benchmark! It provides great insights into AI coding tools and helps drive better solutions.</p><h3>Our approach: How Refact.ai achieved #1 in the leaderboard</h3><p>Many AI Agents rely on a <strong>single-shot approach</strong> — get a task, generate code once and hope for the best. But <strong>LLMs aren’t all-knowing</strong> — they have limits and make mistakes, so their first attempt often isn’t accurate and reliable.</p><p>Sure, you can pre-train models to ace specific tasks that trend on X… But what’s the point? This doesn’t translate to real-world performance.</p><p>At Refact.ai, we do things differently. <strong>Our AI Agent uses a multi-step process:</strong> instead of settling for the first attempt, <strong>it validates its work through testing and iteration until the task is done right.</strong></p><p>We call it a <strong>feedback loop</strong>:</p><ul><li><strong>Writes code:</strong> The agent generates code based on the task description.</li><li><strong>Fixes errors:</strong> Runs automated checks for issues.</li><li><strong>Iterates:</strong> If problems are found, the agent corrects the code, fixes bugs, and re-tests until the task is successfully completed.</li><li><strong>Delivers the result,</strong> which will be correct most of the time!</li></ul><p>This drives the real value of AI — actually solving problems, not just scoring well on benchmarks. Using this approach, <strong>Refact.ai Agent solved 76.4% of Polyglot’s benchmark challenges</strong> — a major leap over Aider’s baseline of <strong>60.4%</strong>.</p><h3>Key features of Refact.ai’s autonomous AI Agent</h3><p>Refact.ai’s advanced AI Agent thinks and acts like a developer, handling software engineering tasks end-to-end.</p><ul><li><strong>Autonomous task execution:</strong> Breaks tasks into steps, plans solutions, executes, and deploys code — all with minimal human input.</li><li><strong>Deep contextual understanding:</strong> Analyzes your entire environment, generating highly accurate and relevant code.</li><li><strong>Tool integration:</strong> Connects with essential dev tools like GitHub, Docker, PostgreSQL, MCP Servers, autonomously interacting with them for completing tasks.</li><li><strong>Memory and continuous improvement:</strong> Learns from every interaction, becoming better over time.</li><li><strong>Human-AI collaboration:</strong> When faced with obstacles, the Agent can self-correct, and if it requires human input, it natively hands control back to the user, fostering an efficient workflow.</li><li><strong>Open source:</strong> Fully transparent and verifiable for trust.</li></ul><h3>Why this matters for developers</h3><p>This isn’t just about ranking highly on a benchmark — it’s about <strong>real-world coding impact</strong>. Refact.ai’s AI agent helps developers and software companies:</p><ul><li>Automate repetitive tasks across the SDLC.</li><li>Focus on core work while the AI handles the rest.</li><li>Deliver faster with the AI Agent working alongside you in your IDE.</li><li>Delegate with confidence, knowing the AI writes reliable, tested code</li></ul><h4><strong>Get Refact.ai for your IDE</strong></h4><p>Vibe coding is the future of software development: get 10x productivity with <a href="https://refact.ai/">Refact.ai Agent by your side</a>.</p><p>It works like a senior developer in your IDE:</p><p>🚀 Works inside your workflow &amp; with your dev tools<br>📈 Boosts productivity x10 with real automation<br>🛠 Handles coding while you focus on core work<br>✅ Available to everyone in <a href="https://marketplace.visualstudio.com/items?itemName=smallcloud.codify">VS Code</a> and <a href="https://plugins.jetbrains.com/plugin/20647-refact-ai">JetBrains</a>.</p><p>We’d be happy if you test Refact.ai Agent for your software development tasks and share your opinion!</p><p><a href="https://linktr.ee/refactai">Get Refact.ai Agent for IDE</a> | More links: <a href="https://github.com/smallcloudai/refact">GitHub</a>, <a href="https://www.linkedin.com/company/refactai/">LinkedIn</a>, <a href="https://x.com/refact_ai">X</a>, <a href="https://www.smallcloud.ai/discord">Discord</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3409ee7372dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Programming with AI: Autonomous Agent & Our Dream]]></title>
            <link>https://medium.com/@refact_ai/programming-with-ai-autonomous-agent-our-dream-e8ca4c37d221?source=rss-8cb620bde090------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8ca4c37d221</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[ai-development-company]]></category>
            <category><![CDATA[autonomous-agent]]></category>
            <category><![CDATA[ai-coding-assistant]]></category>
            <category><![CDATA[ai-software]]></category>
            <dc:creator><![CDATA[Refact.ai]]></dc:creator>
            <pubDate>Wed, 07 Aug 2024 09:55:06 GMT</pubDate>
            <atom:updated>2025-04-01T18:11:19.309Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MX-H8OAMEKWz8enn6FWOmA.png" /></figure><p><em>TL;DR: It’s the early days of AI autonomously working as a software engineer. A human is still required to steer these capable systems. </em><a href="https://refact.ai/blog/2024/programming-with-ai-our-dream/"><em>We at Refact.ai look at potential UI, speed, cost, and tradeoffs.</em></a></p><h3>Not Solving SWE-Bench</h3><p>Let’s quickly get the SWE benchmark out of the way. Some people still look at this benchmark as a primary measure of the capability of a coding agent — it isn’t.</p><p><strong>SWE-bench consists of real issues in open-source repositories. But there are some problems:</strong></p><p>- All repositories in SWE-lite are in Python<br>- There are just 12 of them (django, sympy, …)<br>- All models are already familiar with these open source repositories<br>- Correct output is always 1 file changed</p><p>So, the tasks that 99% of developers do every day aren’t related to the benchmark at all.</p><p>But the problems with the SWE-bench don’t end there. Sure, there’s some value in just using the description given by a submitter on GitHub, but it’s not realistic for a real human-machine interface. Humans can learn, and they will adapt to the AI they use. They will know what kind of tasks an agent can solve, what it cannot, and only give the tasks that are likely to succeed.</p><p>Then the question becomes: <strong>what kind of AI agent is best for a human to achieve high speed and comfort in programming?</strong></p><p>And by the way, robots can learn, too, collecting information about the project over time, and that capability is not measured by the SWE-bench — all the projects used are open source and already memorized by all the models. Not true for any new code or proprietary code that <strong>requires adaptation</strong>.</p><p>(Hey, if you are a student and you are looking for a good task to work on, make a better benchmark! It does not require a massive GPU farm, and will earn you a lot of citations for your paper. But find other people to cooperate on this, don’t do it on your own.)</p><h3>Interactive vs. Long-Thinking AI Agents</h3><p>Here’s one interesting trade-off: <strong>the current AI agents are slow.</strong></p><p>The reason they are painfully slow is that they need to find a good cross-section of the repository at hand, generate and verify one or several solutions. Each of those operations requires at least one call to a state-of-the-art model (usually behind an API) with a lot of tokens. For this reason, agents are also expensive to run.</p><p>But let’s talk about speed. Is it possible to create a fast intelligent agent that can be <strong>used interactively?</strong> Does it mean it’s necessarily stupid, compared to a slow-thinking counterpart?</p><p>Is it possible to build a lovable product that <strong>embraces slowness</strong> instead? This will require a completely different approach for a human: start several tasks, go have some tea, and when you come back some results will be ready. What are the requirements for this kind of AI agent to be usable?</p><p>For <a href="http://refact.ai/">Refact.ai</a>, what should be the priority? Let’s see if we can spot some trends.</p><p>Coding assistants started as an interactive feature: code completion. There were no slow-thinking products at all, and there are still none in coding assistants that are ready for prime time.</p><p>Over time, models become cheaper, faster, and smarter. The reason why we are talking about a long-thinking agent for developers at all — is the “smarter” part. There’s no use in running a stupid model for a long time, it will just produce a lot of stupidity.</p><p>But fixing the “smarter” part at a constant, as models become cheaper and faster, what will happen to a slow-thinking agent, will it become fast-thinking automatically, and therefore interactive? Or the slow AI agent will not ever go away: if a slow agent of today becomes fast tomorrow, we can always add more work and it will become slow again?</p><h3>Refact.ai Approach</h3><p>Well, we don’t know what people will like more.</p><p>On the technical side, the approach that should stand the test of time is to make building blocks that are useful in either scenario, and the difference between interactive and slow non-interactive regimes is just the top-level system prompt.</p><p>An argument might go both ways: interactive agents are great because they are steerable along the way, and we want to keep a human in control. Non-interactive agents are also great: most tasks are not that complicated, just shut up and do the work.</p><p>We’ve figured the best way to decide these things is to speak to actual developers and let them try an early version of Refact.ai AI agent. There’s a group of about ten enthusiastic people that we selected, we’ll try to know their problems and <strong>shape our future product together with these people. </strong>You can fill this form if you want to participate in this too, but the probability is low that we’ll add a lot of people, however — because of the cognitive load.</p><h3>Refact.ai Future User Interface</h3><p>Let’s talk about a less-than-realtime UI. What should it look like, if you want to launch a task and forget about it for 5–15 minutes?</p><p>Well, if they are so slow, you probably want to run several of them at the same time. You might also want to specify exactly what you want. If it takes considerable time to write a longer description, by the time the first one finishes or fails, your next task description might already be ready.</p><p>From that, <strong>several sessions need to work at the same time in the UI</strong>. Unfinished task descriptions or follow-ups should reliably stay in place when you switch between sessions.</p><p>Furthermore, Refact.ai is a<a href="https://github.com/smallcloudai">n open-source AI tool</a> and has nothing to hide. We’ll present all the internal model calls in the UI as well. How exactly is a diff is generated by the autonomous agent? You will be able to see that.</p><h3>One With the Machine</h3><p>There are 4 main factors that make an AI agent useful:</p><p>- Intelligence of the underlying models<br>- Quality of the tools available to the model<br>- Learning curve for a human<br>- Speed and comfort for a human once adapted</p><p>We at Refact work mostly on tools: we have functions for Abstract Syntax Tree access, VecDB search, AI expert calls, and more. In this blog, the question is — what makes it an enjoyable experience?</p><p><strong>Observable.</strong> It must be clear what’s going on with a task. That includes any failures: models sometimes go in circles, or go off the rails. This should all be transparent to the user, easy to understand. Based on that information, the user can correct their future tasks, or report the failure to improve the product.</p><p><strong>Open and customizable.</strong> Other companies might hide the internals from you, but Refact is open source. If you see how an internal expert calls work in UI, you can understand the underlying technology, or even customize it.</p><p><strong>Diffs.</strong> Software engineers use version control systems (like Git or Mercurial) every day. If there are a lot of changes produced by a single agent invocation, it needs to closely match the already familiar concepts: simple diffs for the interactive use case, ready-to-pull commits or small branches for the slow-thinking use case.</p><p><strong>Memory.</strong> You should be able to tell how to solve a certain problem, and the model needs to memorize that, so it won’t get stuck in a similar situation later. Or you can just tell your preferences directly.</p><p><strong>Adaptation to the project.</strong> Over time, the AI agent should build a project-specific knowledge base, especially successful and unsuccessful attempts at doing things to improve the success rate in the future.</p><h3>Enough with the Dreams, What’s Reality?</h3><p>We want to build a <a href="http://refact.ai/">Refact.ai</a> AI agent as a product people will love.</p><figure><img alt="Refact.ai AI Agent" src="https://cdn-images-1.medium.com/max/708/1*K9MqFDpQHUhRY1-lJkkTzw.png" /></figure><p>We have just posted a pre-release version in the <a href="https://marketplace.visualstudio.com/items?itemName=smallcloud.codify">VSCode Marketplace</a>. It’s experimental, and not yet recommended for anyone other than enthusiasts. But it won’t be experimental for long; on August 19, we plan a stable release for everybody!</p><p>You will be able to turn autonomous agent features off for each chat: in that case, Refact.ai will be an AI coding assistant with RAG tools.</p><p>When the agent feature is turned on, the chat will use a different system prompt and a different set of tools, and will find and patch relevant files on its own. We should be able to go through a couple of cycles of real-world feedback by then, to make the UI experience well polished.</p><p>The next version in September will offer Docker container isolation to perform automatic verification of the changes and memory. This way, Refact.ai’s autonomous agent will be available for Enterprise users</p><blockquote><a href="https://discord.com/invite/j3P4t5gm95">To know more, you can join Refact.ai Discord</a>: there we’re sharing the first updates on our AI agent and how to get early access to it.</blockquote><p>_____</p><p>💡 Please share your expectations from an AI agent for software development! <br>Would you prefer a fast, interactive AI agent that can assist you in real-time, or a slower, long-thinking agent that might provide more thorough solutions? How important is it for you that the AI agent learns and adapts to your specific project over time? Any ideas are welcome!</p><p><em>Thank you for reading and best regards,<br>Oleg Klimov,<br></em><a href="http://refact.ai/"><em>CEO Refact.ai</em></a></p><p><a href="https://linktr.ee/refactai">Get Refact.ai Agent for IDE</a> | More links: <a href="https://github.com/smallcloudai/refact">GitHub</a>, <a href="https://www.linkedin.com/company/refactai/">LinkedIn</a>, <a href="https://x.com/refact_ai">X</a>, <a href="https://www.smallcloud.ai/discord">Discord</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8ca4c37d221" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Refact.ai: The Most Customizable AI Coding Assistant]]></title>
            <link>https://medium.com/@refact_ai/introducing-refact-ai-the-most-customizable-ai-coding-assistant-9a99e3252e25?source=rss-8cb620bde090------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a99e3252e25</guid>
            <category><![CDATA[ai-development]]></category>
            <category><![CDATA[ai-coding-assistant]]></category>
            <category><![CDATA[ai-tools]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Refact.ai]]></dc:creator>
            <pubDate>Mon, 29 Jul 2024 15:21:18 GMT</pubDate>
            <atom:updated>2024-07-29T15:24:38.912Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XncWUjVaS5BZ_aaL6P0yVw.png" /></figure><p>Ready to take your development process to the next level?</p><p>Introducing <a href="https://refact.ai/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=introduction">Refact.ai</a>, the most customizable AI coding assistant built to empower you like never before!</p><blockquote>🧑‍💻 <a href="https://linktr.ee/refactai">Get for your IDE</a> &amp; Use the WELCOME promo code for <a href="https://refact.ai/pricing/?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=introduction&amp;utm_content=welcome_code">1 month free Pro plan</a>.</blockquote><h4>Why Choose Refact.ai?</h4><ul><li>Context-Aware: Knows your entire codebase for the most accurate auto-completions.</li><li>Integrated Chat: Ask questions directly in your editor.</li><li>Toolbox: Summarize, refactor, find bugs with ease, and create your own commands.</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F3l4k9aB_uZk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D3l4k9aB_uZk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F3l4k9aB_uZk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5a7360745f4df6758e05ac87c3fbb928/href">https://medium.com/media/5a7360745f4df6758e05ac87c3fbb928/href</a></iframe><h4>Powerful <a href="https://refact.ai/enterprise/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=introduction">Solutions for Enterprises</a>:</h4><ul><li>Latest LLMs: Choose among the best LLMs and fine-tune them on your codebase.</li><li>Code Generation: Get ~45% of the code for your organization written by AI.</li><li>Team-Specific Customization: Fine-tune the latest LLMs, customize chat prompts, and set toolbox commands at the team level.</li><li>Secure Deployment: Choose between on-premise or cloud solutions.</li></ul><blockquote>📝<a href="https://refact.ai/enterprise/?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=introduction"> Fill out the form</a> and get the Refact.ai Enterprise demo + 2 weeks free.</blockquote><p>Developers around the globe are already taking advantage of our open-source AI Coding Assistant, and you can join us today!</p><p>P.S. 🔥 What’s next? As we build the future of programming, stay tuned for more exciting news coming soon!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a99e3252e25" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Refact.ai Adds Claude 3.5 Sonnet by Anthropic in AI Coding Assistant’s Chat]]></title>
            <link>https://medium.com/@refact_ai/refact-ai-adds-claude-3-5-sonnet-by-anthropic-in-ai-coding-assistants-chat-d9c829988c0f?source=rss-8cb620bde090------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9c829988c0f</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[anthropic-claude]]></category>
            <category><![CDATA[ai-coding-assistant]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[ai-programming]]></category>
            <dc:creator><![CDATA[Refact.ai]]></dc:creator>
            <pubDate>Thu, 27 Jun 2024 10:56:43 GMT</pubDate>
            <atom:updated>2024-06-27T10:57:06.037Z</atom:updated>
            <content:encoded><![CDATA[<h3>Refact.ai Adds Claude 3.5 Sonnet by Anthropic in AI Coding Assistant</h3><p>Claude 3.5 Sonnet, the latest and most powerful AI model from Anthropic, is now available in Refact.ai’s AI coding assistant for IDE. This new model outperforms its predecessor, Claude 3 Opus, as well as GPT-4o, in almost all benchmarks, making it a top pick for developers.</p><p>Claude 3.5 Sonnet is faster and smarter, showing off top-notch coding skills. <strong>Integrated into Refact.ai, it becomes particularly useful for programming. With our context-aware chat in the IDE, Claude 3.5 Sonnet leverages your codebase context to tackle even the toughest programming tasks quickly and accurately.</strong></p><figure><img alt="Refact.ai Adds Claude 3.5 Sonnet by Anthropic in AI Coding Assistant" src="https://cdn-images-1.medium.com/max/1024/1*aaMiy7VtPXPJW18pTJpgyA.png" /></figure><h3>Why Claude 3.5 Sonnet is Awesome for Software Development</h3><p>Claude 3.5 Sonnet brings several advantages to developers using Refact.ai:</p><p>Powerful Code Generation: Claude 3.5 Sonnet can write, edit, and run code on its own, using advanced reasoning and troubleshooting skills. Complex Data Handling: With a context window of up to 200,000 tokens, Claude 3.5 Sonnet can process large reports, providing go-to solutions for your development tasks.</p><ul><li><strong>Blazing Speed:</strong> Claude 3.5 Sonnet is twice as fast as Claude 3 Opus and outperforms GPT-4o, reclaiming the top spot on the LLM leaderboard.</li><li><strong>Accurate Pair Programming:</strong> The model excels in <a href="https://www-cdn.anthropic.com/fed9cc193a14b84131812372d8d5857f8f304c52/Model_Card_Claude_3_Addendum.pdf">managing pull requests</a>, fixing bugs, and adding functionality to an open-source codebase based on natural language descriptions.</li><li><strong>Powerful Code Generation:</strong> Claude 3.5 Sonnet can write, edit, and run code on its own, using advanced reasoning and troubleshooting skills.</li><li><strong>Complex Data Handling:</strong> With a context window of up to 200,000 tokens, Claude 3.5 Sonnet can process large reports, providing go-to solutions for your development tasks.</li></ul><figure><img alt="Refact.ai Adds Claude 3.5 Sonnet by Anthropic as an Option for In-IDE Chat in AI coding Assistant" src="https://cdn-images-1.medium.com/max/1024/1*RUwGpPyze5F7M547SLJ_bw.jpeg" /></figure><h3>Claude 3.5 Sonnet for Programming with Refact.ai</h3><p>You can use Claude 3.5 Sonnet in Refact.ai’s in-IDE chat to empower your coding and create software products faster. Try this Anthropic’s state-of-the-art model for:</p><ul><li>Code Generation</li><li>Bug Fixing</li><li>Documentation Generation</li><li>Code Explanation</li><li>And more</li></ul><p>When using the Claude 3.5 Sonnet model, Refact.ai Chat delivers highly personalized suggestions and responses, using the context from your entire codebase. This combo results in even more accurate and efficient coding.</p><h3>Refact.ai in-IDE Chat: Choose Between the Latest Models</h3><p>With Refact.ai, you can be sure that only the latest AI models are available in your IDE. You can select from GPT-3.5 GPT-4 Turbo GPT-4o Claude 3.5 Sonnet.</p><p>The option to switch between models is available to users of our powerful <a href="https://refact.ai/pricing/">Refact.ai Pro, Team, and Enterprise plans</a>. For free users, GPT-3.5 is set as the default model.</p><p>🎉 Start your free 1-month of the Refact.ai Pro plan: <br><a href="https://refact.ai/pricing/">Apply the promo code WELCOME</a> to try advanced coding with AI!</p><p>If you like what we’re doing, please leave us a ⭐⭐⭐⭐⭐ on marketplaces — this will support our work.</p><p><a href="https://www.smallcloud.ai/discord">Join our Discord</a> to discuss new functions or share feedback. And stay (fine-) tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9c829988c0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>