Open-source, local-first AI agent for real work.
Contributing to Open Vetta
English · 简体中文
Thanks for considering a contribution. This repository is the open-source client: desktop app, CLI, docs site, plugin SDK, themes, and the agent core. The commercial server lives elsewhere and is out of scope here.
The highest-leverage contributions are usually one folder — a plugin, a skill, a theme, a marketplace entry, or a docs page — not a framework rewrite. This guide tells you where each kind of change goes and what a PR has to clear.
Questions, half-formed ideas, and “is this still maintained?” belong in GitHub Discussions, not Issues.
One afternoon, one PR
| If you want to… | You are adding | Where it lives | Size |
|---|---|---|---|
| Add a desktop plugin | a plugin package | packages/plugins/ · handbook in docs/plugin/ · public guide at docs.openvetta.com/plugins |
one package + plugin.json |
| Add a reusable way of working | a skill | packages/skill-presets/ or a GitHub marketplace source — see docs/open-marketplace.md |
one folder with SKILL.md |
| Change how the app looks | a theme | packages/themes/ · docs/theme/ · theme guide |
one theme package |
| Publish an installable ability | a marketplace entry | openvetta/vetta-official-marketplace using the marketplace format |
one directory + manifest row |
| Improve product or developer docs | a docs page | apps/docs-site/content/docs/ |
one MDX file |
| Translate UI copy | i18n strings | desktop locale catalogs; never hardcode user-visible text | one PR |
| Fix a bug or add a product feature | code | apps/ or packages/ that already own the behavior |
normal PR |
If you are not sure which row you are in, open a Discussion first.
Local setup
The short path is in QUICKSTART.md. TL;DR:
git clone https://github.com/openvetta/open-vetta.git
cd open-vetta
git checkout dev
bun install # Bun 1.3+
cd apps/desktop
bun run dev # Vite renderer + Electron, isolated in ~/.vetta-dev
Do not run bun run dev or bun run build at the repository root — those compile libraries, they do not launch the app. Do not run bare bun test; use bun run test:pkg <name> or bun scripts/quality/run-vitest.mjs --run <file>.
Pull requests
Open PRs against dev, not main. dev is the integration branch; main tracks a slower snapshot.
- One concern per PR. A skill + a refactor + a dependency bump is three PRs.
- Fill the PR template. Empty “Why” / “Validation” sections come back for revision.
- Reference an issue when there is one (
Fixes #N). Non-trivial features should have a Discussion or Issue first. - User-visible copy goes through i18n, including labels, placeholders, menus, and aria text.
- Shortcuts belong in the existing keybinding object, not hardcoded in business logic.
- Commit messages are written in Chinese. Reference issues with
fixes #N/closes #N. - Push fixups during review; do not force-push a shared branch unless a reviewer asked.
We do not require a CLA. Contributions are licensed under Apache-2.0, same as the repository.
Validation bar
| Kind of change | Minimum before you open the PR |
|---|---|
| Docs, copy, templates, comments | Check links, commands, and paths in the files you touched |
| Bug fix or behavior change | A test that would have failed on the old code, plus bun run check:quick and the relevant bun run test:pkg <name> |
| Public contract (IPC, schema, export, persistence) | Producers, consumers, and a contract test |
| UI interaction | Component/interaction tests at the affected layer; verify:ui:* is not a default PR requirement and is used only when an issue or reviewer explicitly requests it |
Do not claim a check you did not run. bun run check is lint + types + architecture guards; it does not replace tests.
Agent-facing engineering rules (package boundaries, coding-agent layering, Desktop i18n, quality gates) live in AGENTS.md and docs/dev/quality-gates.md. Follow those when you change code; this file is the external contribution map.
What we do not accept
Please do not open PRs that:
- Add analytics, crash reporting, or any other channel that sends user data to a Vetta-controlled service. Vetta does not collect user data; see Network Behavior.
- Commit secrets, tokens, cookies, user sessions, or production config. Same rule for logs and fixtures.
- Depend the other way —
packages/*must not importapps/*. Use each package’s publicpackage.json#exports. - Rewrite the stack (new package manager, new renderer framework, new agent loop) without a prior Discussion.
- Silently widen plugin permissions or host capabilities. Plugins are an untrusted boundary; declare the minimum set.
- Hand-edit generated files. Change the generator or the source of truth.
If you are unsure, open a Discussion before writing the code.
Security
Report vulnerabilities privately via GitHub Security Advisories. Do not file a public issue. Details in SECURITY.md.
License
By contributing, you agree your contribution is licensed under the Apache-2.0 License of this repository.