Publishing
Once your workspace loads locally, admits cleanly, and passes the checklist in Local Testing, publish it to the community hub so Bahulam users can install and run it.
The OSS Repo
Community workspaces live in the bahulam-workspaces GitHub repo:
bahulam-workspaces/
├── README.md
├── SPEC.md # workspace.yaml v2 canonical spec
├── PANELS.md # CDE panel registry spec
├── SANDBOX.md # runtime contract mirrored here
├── verified/ # Bahulam-maintained; PRs restricted
│ ├── bahulam-powerbi/
│ ├── bahulam-looker/
│ └── ...
├── community/ # open contributions
│ └── <handle>/
│ └── <workspace-name>/
│ ├── workspace.yaml
│ ├── tools/
│ ├── prompts/
│ └── README.md
├── mixins/ # reusable YAML fragments
└── .github/workflows/ # CI validationFork the repo. Add your workspace under community/<your-handle>/<name>/.
Open a PR. CI runs the admission validator + policy checks. Bahulam
maintainers review + merge.
PR Submission Steps
-
Fork
github.com/axplusbtech/bahulam-workspaces(once the repo opens to community submissions — currently in scaffolding). -
Create your dir at
community/<your-handle>/<workspace-name>/.<your-handle>should match your GitHub username;<workspace-name>should be kebab-case and unique under your handle. -
Copy the reference workspace as a starting point:
community/example/hello-world/(ships in the codebase). Copy the file structure, rename, rewrite for your domain. -
Fill in
workspace.yaml:metadata.name— a clear display namemetadata.author— your handle (must match the path segment)metadata.version— SemVer, start at0.1.0agent.system_prompt— your personacustom_tools.network.egress— explicit listcustom_tools.limits— within ceilingsconnections_required— anything your tools need
-
Ship your
tools/*.py— eachSandboxToolsubclass underbahulam.community.<your-handle>.<verb>. -
Write your
README.md— what does this workspace do, who is it for, what connections must the user attach. -
Push and open a PR against
mainofbahulam-workspaces. -
CI validates — the admission validator + policy check run automatically. If CI fails, the PR page shows structured error codes; fix and push again.
-
Bahulam review — a maintainer reviews for:
- Manifest correctness (already CI-checked).
- Security posture (custom_tools/*.py doesn’t attempt sandbox escape, doesn’t hardcode credentials, doesn’t shadow reserved names).
- Domain quality (prompt is clear, tools do what they claim, tests exist).
-
Merge — on merge, a webhook syncs your workspace to the Bahulam Hub catalog. Users can install with
bahulam workspace install community/<your-handle>/<workspace-name>(once the CLI ships that command).
Community Tier vs Verified Tier
| Tier | Path | Who authors | Reviewed by | SLA |
|---|---|---|---|---|
| Community | community/<handle>/<name>/ | Anyone via PR | Bahulam maintainer, best-effort | Best-effort; you own maintenance |
| Verified | verified/<name>/ | Bahulam | Bahulam eng team | Fully operated by Bahulam |
Community workspaces are labeled prominently in the CDE and CLI installer so users know Bahulam doesn’t guarantee correctness. Verified workspaces carry the Bahulam label.
Community authors whose workspaces gain adoption may be invited to promote to Verified over time.
Credits & Attribution (PRD-086 §7.4)
Every billable tool call in a community workspace is attributed to you. Two counters accrue per author per period:
- installs — count of users who installed the workspace this period
- billable_runs — count of billable tool calls this period
Monthly, top-N community workspaces by
installs × 1 + billable_runs × 10 receive Bahulam Credits you can
redeem against your own workspace usage or (future) cash out.
Details in the PRD-086 §7.4 companion doc when it ships.
Versioning
Bump metadata.version in workspace.yaml on every meaningful change.
The Bahulam Hub tracks each version separately and caches per-version
MicroVM images. Users see the version in the CDE and can pin.
Rules:
- Patch bump (0.1.0 → 0.1.1) — bug fixes, prompt tweaks, no schema change. Users auto-upgrade unless pinned.
- Minor bump (0.1.1 → 0.2.0) — new tools, expanded prompt. Users notified but auto-upgraded.
- Major bump (0.2.0 → 1.0.0) — breaking changes (removed tools, changed parameter schemas). Users must explicitly opt in.
The image cache keys on (workspace_id, version). A patch bump forces a
rebake; a minor or major bump forces a rebake plus a user notification.
Removing a Workspace
Open a PR that deletes community/<your-handle>/<workspace-name>/. On
merge, Bahulam Hub soft-deletes the workspace: existing sessions continue
to work but new installs fail. Hard-deletion (removing the cached image)
happens after 30 days.
If you need urgent removal (security issue), open an issue with security
label — Bahulam suspends immediately.
What NOT to Ship
Reject-worthy contents:
- Credentials, tokens, private keys — anywhere in the workspace tree.
- Tools that try to escape the sandbox or scan for other workspaces.
- Tools that hardcode connection endpoints (use
connections_required). - Workspace prompts that impersonate Bahulam-verified workspaces
(e.g. claiming to be
bahulam-powerbi). - Workspace YAMLs that declare
metadata.authordifferent from thecommunity/<handle>/path segment. - Tools that shadow
bahulam.<verified>.*names.
CI catches most of these; reviewers catch the rest. Repeat violations result in author-level bans from the hub.
Hub Discovery
Once merged, your workspace appears in:
- The Bahulam CDE workspace picker under Community.
bahulam workspace list --communityin the CLI (future command).- The hub catalog page at
hub.bahulam.ai/community/<your-handle>/<name>(future URL).
Ranking is by installs + recency initially; a proper discovery UX lands with Community Hub v1.
Support
- Docs: this site (
bahulam-docs). - Repo:
github.com/axplusbtech/bahulam-workspaces(issues, discussions). - Reference PRDs: PRD-086 (workspaces + hub), PRD-087 (agent factory).
- Reference implementation:
configs/workspaces/community/example/ hello-world/incodekepler-backend.