Open-source project
wecode-ai/Wegent avatar
wecode-ai/Wegent

Wegent: a desktop workbench that is one plugin layer over another harness

Plan, build, and deliver with an open-source, self-hostable AI workspace for coding, collaboration, and automation.

894 stars149 forksTypeScriptApache-2.0

At a glance

What is it?
Wegent is three products in one repository: an Electron desktop workbench, a browser front end for remote agents, and a backend that ties them to shared project spaces and execution devices. The interesting parts are structural rather than feature-level, including a six-plugin runtime that explicitly does not execute coding tasks, a Rust API gateway being migrated into a TypeScript backend, and a compose file where Elasticsearch runs with security switched off.
Who is it for?
Wegent suits a team that already codes locally and wants tasks, diffs and execution history to move across people and machines without losing the local development environment. Four things to settle first.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • wecode-ai/Wegent894 ★ · +74
Star history
Repository2026-09-102026-11-25
wecode-ai/Wegent820894

74 Stars in the last 76 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

Three products share one repository and one backend

The project is described as an open-source AI work system spanning a local desktop, cloud agents and remote machines, and it resolves into three named pieces. Wegent Desktop is the workbench and it works with local projects, files, commands, tests and code changes. Wegent Web is a browser interface for remote agents, which can use configured models, knowledge, skills and tools while the backend manages their tasks and execution. Wegent Backend is the join: it connects both applications to shared project spaces, models and execution devices. The stated foundation is that the local coding experience built on Codex is what Desktop is, working directly with the code and development environment in your projects, with the backend added when work has to move beyond one computer or one person.

The embedded harness says outright that it does not run the task

The desktop product is built inside a harness called DSH, and the description of what each piece does is unusually precise about a boundary. Electron owns desktop windows, system capabilities and process management. DSH is the embedded application and plugin runtime, and the product interface is composed from a set of DSH plugins. A separate Executor layer manages tasks and sessions and then drives Codex to do the actual work in local projects. The sentence that matters is the denial: DSH does not execute coding tasks itself. Six plugins are named. A core plugin handles plugin discovery, dependency injection and lifecycle. A product shell plugin defines the shell and the interface extension points. A family of interface plugins provides tasks, project spaces, settings, apps and automation. An Electron host plugin bridges restricted desktop capabilities. An executor runtime plugin is the task execution and event adapter, communicating bidirectionally with Executor throughout. A terminal runtime plugin manages local interactive terminals.

Three execution targets, and the local one is the default case

Multiple execution targets is a named feature, and the list is short: tasks can run locally, on remote work machines, or with server-managed executors. The guidance underneath is about choosing rather than defaulting. The first point is to keep using the code, files, commands and development environment already on a local machine, and only move when a task for the same project genuinely needs a remote work machine or a server-managed executor. The second is about teams, where project spaces connect task boards, shared files, discussions, execution status and deliveries instead of leaving conversations and code changes on separate computers. The third is automation, where project spaces can configure automation and execution queues to keep routine work moving. The closing paragraph is the honest framing: if work always stays on one computer, the desktop alone is the familiar experience, and the backend exists for the cases where it does not.

A Rust API gateway is being migrated into a TypeScript backend

The repository map lists a dozen-plus directories with a responsibility for each, and one line tells you more about the project's direction than the rest combined. The backend is described as the REST API and core business logic. Next to it sits a separate Rust directory described as an incremental Rust API migration gateway and handlers. Incremental is the operative word. This is not a rewrite, it is a strangler arrangement where Rust components are introduced at the API edge and progressively take over handlers, while the existing business logic stays where it is. Elsewhere in the tree the same pattern of gradual addition appears. There is an executor directory for local and remote agent task execution environments, a separate executor manager, a frontend for web administration, shared packages, and a client library. There is also a chat shell and a knowledge engine with its own runtime.

The release tags track the desktop product, and one pins a commit

The three most recent releases share a shape that is worth reading before you pin anything. All three are prefixed with the desktop product's name rather than the platform's, and all three carry a pre-release suffix: a fifth-point-six beta numbered three, a beta numbered two, and a beta numbered one. The third tag is the outlier. It reads as a beta one followed by the word runtime and then a twelve-character commit hash, which means that release names the runtime layer and pins a specific commit inside the tag itself. That is a reasonable thing to do for a component you can drift from, and it is also a sign that the desktop and its runtime are versioned separately enough to need distinct tags. Note also that the platform has no version of its own in the release list, so the tag you install is the desktop's version, not the workspace's.

Elasticsearch runs behind a profile with security switched off

The compose file defines three backing services and one of them is configured in a way worth pausing on. MySQL and Redis are unconditional, both with named volumes, health checks, and ports exposed on all interfaces mapped from environment variables. Elasticsearch is different in two ways. It sits behind a profile named for retrieval-augmented generation, so a default start does not bring it up at all, which is the right default for a service most single-machine installs will not use. And its environment sets security to disabled explicitly, along with a single-node discovery mode and a heap pinned to one gigabyte in each direction. That is the normal pattern for a throwaway local search node, and it is also an open cluster reachable on a published port if you leave the mapping in place.

Self-hosting is one piped script over three unconditional services

The whole server side starts with a single line that downloads a script and runs it in standalone mode.

bash
curl -fsSL https://raw.githubusercontent.com/wecode-ai/Wegent/main/install.sh | bash -s -- --standalone

Afterwards the front end is on port 3000 and a setup flow creates the administrator password and configures a model. Underneath that, the compose file defines three backing services, and the database one is set up with an environment-variable pattern that makes the insecure value the default. The root password falls back to a six-digit sequence, the database name to a generic one, and the user and password to a task-themed pair, each wrapped in a substitution that reads an environment variable and falls back if it is unset. The port mapping does the same. This is convenient for a first run and it is the kind of default that survives into production if nobody reads the file. Two details push back slightly. The health check interpolates the same root password variable, so overriding the password does not break the check. And the services sit on a named network rather than the default bridge, which keeps them off other containers that happen to be running.

Transcript encryption has a secret you are told not to rotate

The environment template contains a comment that is more of a warning than configuration. Transcript objects for the desktop product are stored in object storage under their own bucket, and they are encrypted, with a dedicated secret for that. Next to it is a line telling you to keep the secret stable while the encrypted transcript objects are retained. That is the classic key-management constraint stated without stating the consequence: rotating the secret does not re-encrypt what is already written, so a rotation makes every retained transcript unreadable. Two other entries in the same file show the storage layer being shared rather than dedicated. One connection serves attachments, deliveries, workspace archives and the encrypted transcripts together. Another variable is a public base URL for remote model providers to fetch signed attachments from, and it is only needed when image or video generation uses locally uploaded references.

Editorial conclusion

Wegent suits a team that already codes locally and wants tasks, diffs and execution history to move across people and machines without losing the local development environment. Four things to settle first. Decide whether you need the desktop at all, since the readme says the local coding experience alone is a familiar one and the rest is about work crossing boundaries. Read the runtime split carefully, because the embedded harness explicitly does not execute coding tasks and a separate layer drives the coding agent, so debugging a failure means knowing which layer to look in. Pin a release deliberately, since the tags are for the desktop product and one of them pins a commit hash mid-name. And review the transcript encryption settings before you store anything, because the configuration asks you to keep a secret stable for as long as the objects exist.

Frequently asked questions

What are the three parts of Wegent?

Wegent Desktop is the Electron workbench for local projects, files, commands, tests and diffs. Wegent Web is the browser interface for remote agents. Wegent Backend connects both to shared project spaces, models and execution devices. The desktop app is also distributed as a plugin set inside an embedded harness called DSH.

Which coding agent does Wegent Desktop actually run?

Executor is the task execution layer and Codex is the concrete coding agent it drives. The embedded DSH harness explicitly does not execute coding tasks itself; it provides plugin discovery, dependency injection, lifecycle, the product shell, the interface modules, an Electron capability bridge, an execution event adapter and local interactive terminals.

Where can a Wegent task run?

Three targets: locally, on a remote work machine, or on a server-managed executor. The guidance is to keep using the code, files, commands and development environment already on a local machine, and to move to a remote target only when a task for the same project needs it.

How do I start the self-hosted Wegent web app and backend?

Run `curl -fsSL https://raw.githubusercontent.com/wecode-ai/Wegent/main/install.sh | bash -s -- --standalone` to start them in standalone mode with Docker, then open http://localhost:3000 and follow the setup flow to create the administrator password and configure a model.

What does Wegent need for local development?

Node.js 20 or newer and pnpm. Run `pnpm install` then `pnpm --filter wework dev`, and `pnpm --filter wework dev:mac` to run the macOS desktop app. The root workspace is private, uses pnpm 11, and exposes build, lint, test and a builtin-plugin sync script across all packages.

Official sources

  1. License: Apache-2.0
  2. Project website
  3. README
  4. Releases
  5. wecode-ai/Wegent on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/wecode-ai-wegent.svg)](https://hysenlabs.com/projects/wecode-ai-wegent)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/wecode-ai-wegent.svg)](https://hysenlabs.com/projects/wecode-ai-wegent)

Was this useful?