Skip to content

docs: add agent-installable tools guide and sidecar extension patterns#715

Merged
thepagent merged 9 commits intomainfrom
docs/agent-installable-tools
May 3, 2026
Merged

docs: add agent-installable tools guide and sidecar extension patterns#715
thepagent merged 9 commits intomainfrom
docs/agent-installable-tools

Conversation

@chaodu-agent
Copy link
Copy Markdown
Collaborator

@chaodu-agent chaodu-agent commented May 3, 2026

Summary

Add two new docs that formalize how to extend OpenAB without modifying the Dockerfile or Helm chart:

  • docs/agent-installable-tools.md — the recommended pattern for installing additional tools (AWS CLI, glab, OpenSSH, wrangler, terraform, kubectl, etc.) at runtime via a single prompt
  • docs/sidecar.md — advanced extension patterns using init containers and sidecar containers

Motivation

From the discussion on PR #714: contributors were adding tools directly to the Dockerfile. OpenAB follows a doc-driven, AI-first, lean Dockerfile philosophy — the image stays minimal, and agents install what they need at runtime into ~/bin/ on the PVC.

These docs formalize that pattern so:

  • Contributors know not to modify the Dockerfile for new tools
  • Users can install any tool with one prompt: per docs/* from OpenAB repo, how to install <TOOL> for my OAB agent
  • Advanced users have a clear guide for sidecar/init container extensions

What's in docs/agent-installable-tools.md

  • Recommended developer experience (one-prompt install)
  • ASCII diagrams: install flow + PVC migration
  • Why this pattern (lean image, AI-first, no gatekeeping, PVC portability)
  • Common tools table with upstream doc links (not hardcoded install commands)
  • Agent constraints (no sudo, ~/bin/, detect arch, verify, latest version from upstream)
  • .deb extract pattern for tools without standalone binaries
  • PVC persistence & portability (migrate across nodes/clusters/clouds)

What's in docs/sidecar.md

Six common scenarios with deep-dive Helm examples:

  1. Cloudflare Tunnel — expose agent without public IP
  2. ngrok / Tailscale — alternative tunnel options with comparison
  3. Pre-install standard toolset — deterministic init container setup
  4. Local database or cache — Redis sidecar via localhost
  5. Log shipping and observability — Fluent Bit / Vector
  6. GPU / ML model serving — local inference sidecar

Related

Explain the philosophy of keeping the Dockerfile lean and letting agents
install additional tools (AWS CLI, glab, OpenSSH, etc.) at runtime into
~/bin/ on the PVC.

Covers:
- What ships in the image vs what's agent-installable
- Generic install patterns (tar.gz and .deb)
- Concrete examples: OpenSSH, GitLab CLI, AWS CLI v2
- PVC persistence behavior
- Guide for contributing new tool docs
- Prompt pattern for users
@chaodu-agent chaodu-agent requested a review from thepagent as a code owner May 3, 2026 13:06
@github-actions github-actions Bot added the closing-soon PR missing Discord Discussion URL — will auto-close in 3 days label May 3, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 3, 2026

⚠️ This PR is missing a Discord Discussion URL in the body.

All PRs must reference a prior Discord discussion to ensure community alignment before implementation.

Please edit the PR description to include a link like:

Discord Discussion URL: https://discord.com/channels/...

This PR will be automatically closed in 3 days if the link is not added.

@github-actions github-actions Bot added the pending-screening PR awaiting automated screening label May 3, 2026
…, kubectl

- Add quick-reference table linking to each tool's install steps
- SSH points to existing remote-ssh-debugging.md
- Add Cloudflare Wrangler, Terraform, kubectl examples
- All examples auto-detect ARM64/AMD64 architecture
…ection

- Lead with the one-prompt developer experience:
  'per docs/* from OpenAB repo, how to install <TOOL> for my OAB agent'
- Explain why this pattern exists (lean image, AI-first, no gatekeeping, no Dockerfile sprawl)
- Add Persistence & Portability section showing PVC migration carries everything
- Streamline contributing guide
Replace tool-specific install scripts with upstream doc links and
agent constraints. Install commands change over time — the agent
should look up the latest from upstream and adapt to the constraints
(no sudo, ~/bin/, detect arch, verify, clean up).
- docs/sidecar.md: explain init containers and sidecar containers
  as advanced extension patterns (with Helm values reference)
- docs/agent-installable-tools.md: add 'Advanced' section linking
  to sidecar.md for FYR
Cover 6 common scenarios with deep-dive for each:
1. Cloudflare Tunnel
2. ngrok / Tailscale
3. Pre-install standard toolset (init container)
4. Local database or cache (Redis)
5. Log shipping and observability (Fluent Bit)
6. GPU / ML model serving

Each scenario includes: problem statement, solution with
complete Helm values.yaml example, and when to use it.
@chaodu-agent chaodu-agent changed the title docs: add agent-installable tools guide docs: add agent-installable tools guide and sidecar extension patterns May 3, 2026
@thepagent thepagent merged commit bb8a5d4 into main May 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

closing-soon PR missing Discord Discussion URL — will auto-close in 3 days pending-screening PR awaiting automated screening

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants