feat(matifali): add Omnigent multi-agent server module#925
Merged
Conversation
Blocking fixes:
- Add PATH export at top of start.sh so omnigent is found after install
- Separate server.log from start.log (nohup concurrent write conflict)
- Bump coder provider constraint from >= 2.12 to >= 2.13 (matches coder-utils)
- Base64-encode omnigent version in install.sh (injection hardening)
- Surface upgrade failures as warnings instead of silencing them
New inputs:
- server_config: inline YAML written to module dir and passed as -c
- server_config_path: path to existing config file, mutually exclusive with server_config
- agents: list of {name, content} pre-registered at startup via --agent flags
- pre_install_script / post_install_script: pass-through to coder-utils
New output: server_config_path (effective config path or empty string)
13/13 tests pass.
matifali
marked this pull request as draft
June 21, 2026 16:39
Collaborator
|
I have set this up locally I will be testing this and leaving my feedback this week so we can get this module in. @matifali |
Collaborator
|
Was running into some issues with omnigent locally un-related to the module but I am finishing up testing now. |
Co-authored-by: DevCats <christofer@coder.com>
DevelopmentCats
approved these changes
Jul 20, 2026
DevelopmentCats
pushed a commit
that referenced
this pull request
Jul 20, 2026
## Summary Adds an Omnigent Docker template under the personal `matifali` namespace, combining Omnigent, Claude Code, Codex, Coder AI Gateway, and a shallow clone of `github.com/coder/coder`. This was extracted from #925 so the reusable Omnigent module and the opinionated Docker template can be reviewed independently. ## Changes - Add the template under `registry/matifali/templates/omnigent-docker`. - Add the `matifali` contributor profile and link the hosted Omnigent module and Docker template. - Configure Claude Code and Codex through Coder AI Gateway. - Use compatible module constraints so minor and patch releases are selected automatically. - Install shared dependencies required by the AI tools on the Ubuntu-based image. - Coordinate repository cloning, AI tool setup, and Omnigent startup with `coder exp sync`. - Add the Omnigent registry icon. ## Validation - `terraform fmt -check -recursive registry/matifali/templates/omnigent-docker` - Imported the exact PR template as Coder template version `e77335c8-2899-449e-8fb6-fa7e4c516b99`. - Terraform initialized and planned successfully, resolving: - `matifali/omnigent` `0.0.1` - `coder/git-clone` `2.0.2` - `coder/claude-code` `5.2.0` - `coder-labs/codex` `5.3.0` - Created workspace `test-omnigent-docker-pr-1022` from the imported template. - Workspace build #1 succeeded with 16 resources created and reached `ready`. - Verified: - Omnigent app health is `healthy`. - `GET /health` returns `{ "status": "ok" }`. - The Coder repository was cloned successfully. - Claude Code `2.1.215`, Codex CLI `0.144.6`, and Omnigent `0.5.1` are installed. - Omnigent server and host processes are running. - The Omnigent host is connected to the local server. - All startup scripts completed successfully. Continuation of #925 > 🤖 This PR was created with the help of Coder Agents, and needs a human review. 🧑💻
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an Omnigent module under the personal
matifalinamespace. The module installs and starts Omnigent, registers the workspace as a host, and exposes the Omnigent Coder app.The standalone Docker example template has been removed from this PR and extracted to a separate branch based on
main.Changes
matifalicontributor namespace with GitHub profilematifali.registry/matifali/modules/omnigent.uvwhen it is not already available, then install Omnigent through its official installer.OMNIGENT_WS_ALLOWED_ORIGINS.OPENAI_CODER_AIGATEWAY_SESSION_TOKENto host-launched runners while preserving existingOMNIGENT_RUNNER_ENV_PASSTHROUGHvalues.5.2.0, Codex5.2.1, Coder AI Gateway, dependency installation, andcoder exp syncordering.Validation
go build ./cmd/readmevalidation./readmevalidationterraform fmt -check -recursive registry/matifali/modules/omnigentterraform test -no-colorinregistry/matifali/modules/omnigent:22 passed, 0 failedMODULE_CHANGED_FILES='registry/matifali/modules/omnigent/main.tf registry/matifali/modules/omnigent/scripts/start.sh.tftpl registry/matifali/modules/omnigent/scripts/install.sh.tftpl' ./scripts/terraform_validate.shtest-omnigent-pr-925-full:ready.GET /healthreturned{ "status": "ok" }.OPENAI_CODER_AIGATEWAY_SESSION_TOKENand returnedokwith no task error.