No description
- HTML 94%
- Shell 2.6%
- Python 1.5%
- JavaScript 1%
- Makefile 0.7%
- Other 0.2%
| client | feat: add sandbox_serve_static tool + update frontend to use it | |
| front | feat: add ecology GeoJSON overlay instructions to map prompt | |
| media | add media | |
| sdbxr | fix: eliminate race condition in preview server startup | |
| tasks | docs: find lightweight ecolab GeoJSON datasets for Phase 1 testing | |
| tests | docs | |
| .gitignore | feat: persistent logs directory with SDBXR_DATA_DIR support | |
| AGENTS.md | ||
| Makefile | make setup-bwrap | |
| README.md | Actualiser README.md | |
𒉺 Tablette
Tablette is a tiny AI-Factory prototype made during the IGN 2026 Territorial Data Factory Hackathon. AI-Factories are 'LLM-based applicative infrastructures '. The name (French word for tablet) is a reference to the Si.427 tablet and is a the first try of a multi-step marhackathon (a marathon of hackathons). Next step : the 2026 French National Assembly Hackathon.
Tablette seeks to imagine the next-generation digital systems capable of creating agile feedback loops between regulatory and legislative outputs on the one hand, and the reality of environmental issues on the ground on the other.
Clermont example.
Quick demo
make serve
Open http://localhost:8080, type a prompt like
"make a simple python server", and click Run.
What happens:
- The frontend sends your prompt to the sdbxr MCP server
- The MCP server spawns opencode inside a bwrap sandbox (
--share-net) - Opencode calls the LLM, writes code to a temp workspace
- The frontend streams logs live as they arrive
- When done, the preview server starts under bwrap on port 8000
- The result appears in the iframe on the right — fully sandboxed
Architecture
Browser ──► FastAPI ──► SdbxrClient ──► sdbxr_mcp.sh ──► bwrap ──► opencode
│ │
└── SSE (logs) ◄───────────────────────────────────────┘
│ │
└── iframe preview ◄────────── bwrap ──► server:8000 ──┘
| Layer | Technology | Role |
|---|---|---|
| Frontend | FastAPI + SSE | Web UI, log streaming, iframe preview |
| Client | Python MCP SDK (sdbxr-client) |
Calls MCP tools programmatically |
| Server | bash + jq (sdbxr_mcp.sh) |
JSON-RPC stdio MCP server |
| Sandbox | bubblewrap (bwrap) |
Filesystem isolation, shared network |
| Agent | opencode | AI coding agent |
| LLM | DeepSeek / Claude / etc. | Language model backend |
Tags
- v0.1 — Initial cartographic AI factory. Contains prototype sandbox wrappers (
dagger/,jai/,kata/,sbx/,sdbxr/) explored during v0.1 development. These directories were removed in subsequent commits to keep the tree focused; see the v0.1 tag for the full archive of prior investigations. - v0.2 — Current. Working sdbxr MCP pipeline with web UI, live log streaming, and iframe preview.
See also
IGN MCP AI projects :