Skip to content

Opencode Swarm Orchestration & Unrestricted Mode - #1

Merged
denyn1 merged 7 commits into
devfrom
swarm-orchestration-feature-6915312415411279447
Feb 1, 2026
Merged

denyn1 merged 7 commits into
devfrom
swarm-orchestration-feature-6915312415411279447

Conversation

@denyn1

@denyn1 denyn1 commented Feb 1, 2026

Copy link
Copy Markdown
Owner

This PR introduces a major upgrade to Opencode by adding "Swarm Orchestration" capabilities.

Key changes:

  1. Unrestricted Mode: Added a "God Mode" (unrestricted) in PermissionNext that bypasses all permission prompts when enabled.
  2. Swarm Manager: Created a SwarmManager to orchestrate multiple agent sessions (up to 10,000) in parallel.
  3. Agent Workflow: Implemented a specialized "PhD-level" workflow prompt injected into all swarm agents, guiding them to analyze, plan, and execute tasks autonomously.
  4. Communication: Added a shared "Blackboard" memory and corresponding tools (read_blackboard, write_blackboard) for agents to share state.
  5. Swarm Dashboard: Added a standalone Web UI (served at /swarm) to control the swarm, toggle modes, and visualize agent status.
  6. API Routes: Added /swarm/api/* endpoints to support the dashboard and external control.

Verified with unit tests for Swarm Logic and Playwright for the Dashboard UI.


PR created automatically by Jules for task 6915312415411279447 started by @denyn1

Co-authored-by: denyn1 <94065731+denyn1@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules Bot and others added 2 commits February 1, 2026 04:37
Co-authored-by: denyn1 <94065731+denyn1@users.noreply.github.com>
…ctive brain)

Co-authored-by: denyn1 <94065731+denyn1@users.noreply.github.com>
@denyn1
denyn1 marked this pull request as ready for review February 1, 2026 06:30
Co-authored-by: denyn1 <94065731+denyn1@users.noreply.github.com>
@github-actions

github-actions Bot commented Feb 1, 2026

Copy link
Copy Markdown

Hey! Your PR title Opencode Swarm Orchestration & Unrestricted Mode doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

google-labs-jules Bot and others added 3 commits February 1, 2026 09:57
Co-authored-by: denyn1 <94065731+denyn1@users.noreply.github.com>
…docs

Co-authored-by: denyn1 <94065731+denyn1@users.noreply.github.com>
Co-authored-by: denyn1 <94065731+denyn1@users.noreply.github.com>
@denyn1
denyn1 merged commit 5fa4f5e into dev Feb 1, 2026
3 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant