agent-infra / agent-infra/sandbox

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

Abierto
#40 18 comentarios 2 reacciones 1 asignado Reclamado por @ycjcl868 Ver en GitHub
later
Lenguaje dominante
Python
Estrellas
5.9k
Forks
529
Merge medio
4 h 8 min
PR fusionados (30 d)
4

Descripción

## 🎯 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!

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.