Skip to content

Add brikie sandbox image#84

Open
VeelaCleave wants to merge 1 commit into
NVIDIA:mainfrom
VeelaCleave:add-brikie-sandbox
Open

Add brikie sandbox image#84
VeelaCleave wants to merge 1 commit into
NVIDIA:mainfrom
VeelaCleave:add-brikie-sandbox

Conversation

@VeelaCleave

Copy link
Copy Markdown

What

Adds a brikie sandbox to the community catalog under sandboxes/brikie/.

brikie is a modular agent harness where every capability is an optional, hot-swappable Brick — users compose an agent (interface + provider + tools/memory/security/orchestration) from a brick catalog. It's on PyPI (pip install brikie) and has a public brick registry at brikie.co.

Why it fits OpenShell

  • Credentials via env vars. brikie's provider presets reference keys as ANTHROPIC_API_KEY / OPENAI_API_KEY / OPENROUTER_API_KEY / GROQ_API_KEY, so OpenShell's provider injection works unmodified.
  • Inference rerouting. brikie honors ANTHROPIC_BASE_URL / OPENAI_BASE_URL at startup, so openshell inference set routing applies with no brikie configuration.
  • No-wizard boot. --preset <provider> configures everything from the environment — nothing interactive, nothing written outside the sandbox.

Files

  • sandboxes/brikie/Dockerfile — builds on the community base, installs brikie from PyPI
  • sandboxes/brikie/policy.yaml — filesystem + network allowlist (model-provider APIs, brikie.co registry, GitHub REST read-only, PyPI)
  • sandboxes/brikie/README.md — purpose, build, and usage

Testing

Built locally against the base image; brikie launches as the sandbox user and policy.yaml lands at /etc/openshell/policy.yaml. Usage:

openshell sandbox create --from brikie -- --preset anthropic

Commit is DCO signed-off.

brikie is a modular agent harness where every capability is an
optional, hot-swappable Brick. The sandbox installs brikie from PyPI on
top of the community base image and ships a policy.yaml permitting the
common model-provider APIs, the brikie.co brick registry, the GitHub
REST API (read-only), and PyPI.

brikie reads provider credentials from the environment and honors
ANTHROPIC_BASE_URL / OPENAI_BASE_URL, so OpenShell's managed credential
injection and inference rerouting work without extra configuration.

Tested locally: image builds cleanly against the base, brikie launches
as the sandbox user, and policy.yaml lands at /etc/openshell/policy.yaml.

Signed-off-by: VeelaCleave <veelacleave@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant