Skip to content

feat(mode): implement Ralph mode for infinite task loops#5091

Closed
dannycreations wants to merge 1 commit intoKilo-Org:mainfrom
dannycreations:feat-ralph-mode
Closed

feat(mode): implement Ralph mode for infinite task loops#5091
dannycreations wants to merge 1 commit intoKilo-Org:mainfrom
dannycreations:feat-ralph-mode

Conversation

@dannycreations
Copy link
Copy Markdown

@dannycreations dannycreations commented Jan 16, 2026

Implementation

  • Add ralphEnabled to global settings, extension state, and message types.
  • Update AttemptCompletionTool to automatically restart tasks upon completion.
  • Add toggle button with infinity icon to ChatTextArea UI.
  • Synchronize Ralph mode state between extension backend and webview frontend.

Screenshots

image image image

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jan 16, 2026

🦋 Changeset detected

Latest commit: 72b77e1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
kilo-code Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@oldjs
Copy link
Copy Markdown

oldjs commented Jan 16, 2026

This is something we've read everyone needs this feature, it's awesome

@marius-kilocode
Copy link
Copy Markdown
Collaborator

marius-kilocode commented Jan 16, 2026

@dannycreations should there not be a completion condition for the user to configure?

@dannycreations
Copy link
Copy Markdown
Author

@dannycreations should there not be a completion condition for the user to configure?

yeah still working on it, also can you review my other pr #4704

@dannycreations dannycreations marked this pull request as draft January 16, 2026 11:07
@dannycreations dannycreations force-pushed the feat-ralph-mode branch 4 times, most recently from ec89a68 to defe496 Compare January 17, 2026 05:31
@dannycreations dannycreations marked this pull request as ready for review January 17, 2026 05:32
@dannycreations
Copy link
Copy Markdown
Author

@marius-kilocode i think im already implement everything that i need, the reason i dont implement tool call or system prompt layer is because ralph should be used with filesystem context (manus like) to preserve each task session, i also not implement any "babysitting" since ralph should be treaten like yolo mode that is with user concern

@dannycreations dannycreations force-pushed the feat-ralph-mode branch 4 times, most recently from d6356fc to 57b159c Compare January 25, 2026 02:17
- Add global settings for Ralph mode enablement, loop limits, and completion delimiters.
- Implement task restart logic in the core `Task` class to support autonomous loops.
- Integrate Ralph mode into `AttemptCompletionTool` and mistake limit handling.
- Add Ralph mode toggle to the chat interface and configuration sliders to settings.
- Provide comprehensive localization for Ralph mode settings across all supported languages.
@kevinvandijk
Copy link
Copy Markdown
Contributor

Hi! Recently we made the decision to start working hard on a ground-up rebuild of this extension using the new Kilo CLI as the backend. Because of this we made the decision to start temporarily limiting the size of features we're still accepting into the current extension. If you think (I really think so) this functionality is still important could please add a feature request or submit a PR to the new rebuild?

I know this is a bummer so to make up for lost time/effort and to show appreciation for the work you did I'd like to give you extra credits on your Kilo account. Please reach out to me on Discord (Kevin) with the email address you used to sign up for Kilo so I can grant you those!

@dannycreations dannycreations deleted the feat-ralph-mode branch February 15, 2026 12:39
jeremylongshore added a commit to jeremylongshore/kilocode that referenced this pull request Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants