agent-infra / agent-infra/sandbox

[Feature Request] Open Source the Complete Sandbox Build Source Code

未關閉
#40 18 則留言 2 個 reaction 已指派 1 人 已被 @ycjcl868 認領 在 GitHub 檢視
later
主要語言
Python
星號
5.9k
分支
529
平均合併
4 小時 8 分鐘
30 天內合併 PR
4

描述

## 🎯 Feature Request

### Summary
I would like to request that the complete source code for building the AIO Sandbox Docker image be open-sourced, not just the SDK and documentation currently available in this repository.

### Background
Currently, the repository contains:
- ✅ SDK implementations (Python, TypeScript)
- ✅ Documentation and examples
- ✅ Docker Compose configuration
- ❌ **Actual sandbox build source code** (Dockerfile, service implementations, core architecture)

While users can pull and use the pre-built Docker image `ghcr.io/agent-infra/sandbox:latest`, the source code for building the image itself is not available in this repository.

### Motivation

**1. Community Contribution & Development Speed**
- Opening the build source code would allow the community to contribute features, bug fixes, and optimizations
- More eyes on the code = faster issue resolution and better quality
- Developers could submit PRs for new features or improvements

**2. Customization & Extensions**
- Organizations may need to customize the sandbox for specific security requirements
- Developers could add support for additional languages, tools, or services
- Easier integration with existing infrastructure and tools

**3. Transparency & Trust**
- Open source builds trust, especially for enterprise adoption
- Security audits become possible, critical for production deployments
- Understanding the internal architecture helps users optimize their usage

**4. Learning & Education**
- The architecture combining Browser, Shell, File, MCP, VSCode, and Jupyter is fascinating
- Developers could learn from the implementation patterns
- Educational value for the broader developer community

**5. Prevent Vendor Lock-in**
- Self-hosting with modifications becomes feasible
- Reduces dependency on pre-built images
- Enables air-gapped deployments in restricted environments

### What Should Be Open-Sourced

- [ ] Complete Dockerfile and build scripts
- [ ] Service orchestration code (how Browser, Shell, File, VSCode, Jupyter are integrated)
- [ ] MCP Hub implementation
- [ ] Preview Proxy implementation
- [ ] Internal API server code
- [ ] Configuration management system
- [ ] Build and deployment automation

### Benefits to the Project

1. **Accelerated Growth**: More contributors = faster feature development
2. **Better Quality**: Community code reviews improve stability
3. **Wider Adoption**: Enterprises prefer fully open-source solutions
4. **Ecosystem Development**: Third parties could build extensions and integrations
5. **Sustainability**: Reduced maintenance burden through community support

### Comparison

Many successful projects follow this model:
- **VS Code**: Full source available, with pre-built binaries
- **Jupyter**: Completely open source
- **Docker**: Open source engine with commercial offerings
- **Chromium**: Full browser source code available

### Proposed Approach

You could:
1. Keep the current Apache 2.0 license
2. Move the build source to this repository or a separate one
3. Maintain the convenience of pre-built images on GHCR
4. Add contributor guidelines and development documentation

### Community Support

I believe many in the community would welcome this change and be ready to contribute. The project already has 628+ stars, showing strong interest.

---

**Would the maintainers be open to discussing this? I'm happy to help with the migration or documentation if needed.**

## 🙏 Thank you for considering this request!

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。