Skip to content

Contribute to Utming

This section is for anyone who wants to report a problem, fix a bug or build something in Utming.

Everyone taking part follows the code of conduct.

To add an app connection, start with Creating your own connectors. The guide covers the format, scaffold, AI skill, required tests, and approval process.

You want to Do this
Report a bug Fill in the bug report form.
Ask a question or share an idea Start a thread in GitHub Issues.
Report a vulnerability Report it privately. Never in a public issue.
Improve the documentation Follow Write docs to edit, preview and build the docs site without running Utming.
Fix or build something Send a pull request. Use the app guide for app folders. Open an issue or discussion first for other work larger than a small fix.

App-only contributions that use the supported profile follow the app guide. Other work larger than a small fix starts with an issue or discussion. Agreeing on the approach first saves you from building something that can't merge.

You do not need to install or run the Utming app, start Docker, or connect a model to change the docs. The docs site has its own lockfile. Use Node.js 24.21.0 or newer and pnpm 10.34.5.

From the repository root, install the docs dependencies and start the site:

Terminal
pnpm --dir docs install --frozen-lockfile
pnpm --dir docs dev

Open http://localhost:4321/docs/ in your browser. Before you open a pull request, build the site. The build checks internal links and heading anchors:

Terminal
pnpm --dir docs build

See Write docs for the page template, house style, components and diagrams. Use the full development setup below only when your change needs the Utming application.

  1. Install Node.js 24.21.0 or newer, pnpm 10.34.5, Docker with Compose v2 and Git. Development works on macOS and Linux.

  2. Follow Install from source for the first start and credential storage setup.

  3. Start Utming with automatic reload.

    Terminal
    pnpm run dev

    Stop pnpm start with Ctrl-C before you run this. Both use the same port (4310 by default), so the second one fails with EADDRINUSE.

  4. Connect your own model key and accounts. Never use shared, production or customer credentials.

To work on the desktop app, follow its development steps. Set UTMING_DESKTOP_USER_DATA to a new, absolute folder path to start a development run with a fresh profile.

Utming's server code is split into layers. src/server/composition.ts is the only file that chooses which providers and runtimes Utming uses.

  • Directorysrc/
    • Directoryports/ capabilities as interfaces
      • …
    • Directoryproviders/ vendor SDKs such as Pi, Composio, Docker and agent-browser
      • …
    • Directoryruntime/ the agent's tools, prompts and skills
      • …
    • Directoryserver/ product policy, storage and HTTP
      • composition.ts picks every implementation
    • Directoryshared/ browser-safe types
      • …
    • Directoryweb/ the client
      • …
  • Directorytests/ tests for the app
    • …
  • Directorydesktop/ the desktop app
    • …
  • Directoryevals/ capability evals
    • …
  • Directorydeployment/ self-hosting and n8n delivery
    • …
  • Directorydocs/ this site
    • …

pnpm run check enforces which layer can import which. Vendor SDKs stay in src/providers. Environment settings stay out of src/runtime, src/ports, src/shared and src/web.

flowchart LR
  web[src/web] --> shared[src/shared]
  server[src/server] --> ports[src/ports]
  runtime[src/runtime] --> ports
  providers[src/providers] --> ports
  ports --> shared
  composition[composition.ts]:::accent --> runtime
  composition --> providers

Each arrow means "may import". Every layer may also import src/shared.

Area Main code Tests
Thread, turns, stop and reset src/server/thread.ts, src/runtime/ tests/thread.test.ts, tests/pi.test.ts
Approvals and the trust check src/server/trust.ts, src/server/approvals.ts tests/approvals.test.ts, tests/approvals-application-*.test.ts, tests/agent-guard.test.ts
Vault, sign-in and payments src/server/vault.ts, src/server/vault-use.ts, src/server/vault-access.ts, src/server/vault-crypto.ts, src/server/payments.ts tests/vault.test.ts, tests/vault-chat-code.test.ts, tests/browser-sign-in.test.ts, tests/browser.test.ts
Workspace and browser isolation src/providers/docker/, src/providers/agent-browser/, Dockerfile.* tests/sandbox.test.ts, tests/browser.test.ts
Connected apps src/server/integrations.ts, src/providers/composio/, src/providers/discovered/ tests/integrations.test.ts
Channels src/server/channels.ts, src/providers/chat-sdk/ tests/channels.test.ts, tests/channel-delivery.test.ts, tests/channel-application.test.ts
Schedules and background checks src/server/schedules.ts, src/server/triage.ts tests/schedules.test.ts
Memory src/server/memory.ts, src/server/memory-learning.ts tests/memory-application.test.ts
Files and downloads src/server/artifacts.ts tests/downloads.test.ts, tests/download-delivery.test.ts
Local access and URL guards src/server/access.ts tests/approvals.test.ts, tests/url-guards.test.ts
Web client src/web/ Check the change in the running app
Desktop app desktop/ desktop/test/
Capability evals evals/ evals/tests/

For how a request moves through these parts, read Architecture.

Diagnostic reports and the failure and startup logs behind them are redacted in the owner's Utming runtime before they are sent to the configured feedback recipient: the Utming team by default, or an operator's collector. Redaction masks recognized names, addresses, account and device identifiers, paths, links and known secrets. It can miss details, so the owner reviews the report before sending. When triage needs a detail, add a bounded technical field such as a fixed choice, count, version, error class or status code. Don't loosen a redaction rule to keep it. Add a test that a private value stays out.

The report builder is src/server/bug-report.ts and its redactor is src/server/feedback-redaction.ts.

Coding agents follow AGENTS.md, and so does everyone else. It holds the rules every change follows, including the safety invariants. The same checks and review apply whether you or an agent wrote the change.

An error must state what failed and keep the service's specific reason, status and useful details. Identify the model and provider when a model request fails. Add a next step only when the error supports it. A quota or rate limit alone does not establish a billing problem. Remove secrets before an error is shown or stored.

Utming is licensed under the Apache License 2.0. Contributions you submit are licensed under the same terms, as section 5 of the license describes.

  • Checks and tests: the commands to run, Git hooks, the test policy and what CI checks.
  • Capability evals: real tasks against real Utming, and what the nightly verdict means.
  • Pull requests: title rules, review, merging and dependency updates.
  • Desktop releases: publish a new version of the desktop app.
  • Windows desktop: how the Windows app works, and how to debug and test it on Windows runners.
  • Interface design: colors, type, spacing and the checks for a UI change.
  • Write docs: run this site and write pages in the house style.