Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

BentoML

$ bentoml Official Med Risk
BentoML · AI & Media · Apache-2.0 · macos / linux / windows

BentoML (bentoml) packages AI/ML services and weights into portable Bentos (bentoml build), builds OCI images (bentoml containerize), and serves high-concurrency APIs (bentoml serve). Inspection subcommands like bentoml list -o json and bentoml models list -o json provide machine-readable JSON metadata.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
pip install bentoml
CLI vs MCP Decision CLI Only

bentoml inspects local model/bento stores (~/bentoml), builds Python service bundles, and generates Docker images locally.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Supports -o json / --output json across list, models list, and build, plus --help and non-interactive packaging.

  • bentoml list -o json and bentoml models list -o json output structured JSON
  • Non-interactive bentoml build and bentoml containerize
Trust & Safety 21 / 25

Local store under ~/bentoml keeps build and containerize isolated locally; cloud deploys require explicit cloud / deploy commands.

  • Clear separation between local build/containerize and remote deploy
Setup & Portability 11 / 15

Cross-platform Python package (pip install bentoml) on macOS, Linux, and Windows; containerize requires Docker.

  • Cross-platform PyPI package (pip install bentoml)
Utility & Efficiency 13 / 15

Standardizes Python AI service packaging, adaptive batching, and OCI container generation.

  • Unified build, serve, and containerize workflow
Maintenance & Lineage 9 / 10

Official bentoml/BentoML repository under Apache-2.0 license.

  • Official bentoml/BentoML repository (Apache-2.0)
Docs & Verifiability 9 / 10

Well-structured documentation at docs.bentoml.com and comprehensive --help.

  • Official docs at docs.bentoml.com

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key Config File
Credential Storage

Local builds/serves need no auth; BentoCloud deployments use BENTO_CLOUD_API_KEY or bentoml cloud login config under ~/bentoml/.

Side Effects
Read-Only Local Write Remote Write Billing Impact
Cost & Quotas

Apache-2.0 open-source Python framework; deploying to managed BentoCloud incurs cloud compute charges.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# BentoML Agent Rules
- Use `-o json` on `bentoml list`, `bentoml models list`, and `bentoml build` for structured parsing.
- Never run `bentoml serve` synchronously in an agent tool call or `bentoml deploy` to BentoCloud without approval.

Agent-Ready Command Recipes

Safe Read-Only Queries

List local Bentos as JSON
bentoml list -o json

Outputs all locally built Bento packages, tags, and sizes in JSON format.

List local stored models as JSON
bentoml models list -o json

Returns metadata for saved models in the local BentoML model store as JSON.

Controlled Writes & Previews

Build a Bento bundle from local service definition
bentoml build -o json

Packages the local service.py and bentofile.yaml into a versioned Bento and prints JSON metadata.

Strengths for Agents

  • + Native -o json output on list, models list, and build makes automation straightforward.
  • + Cleanly bridges local Python serving (bentoml serve) to production OCI images (bentoml containerize).

Caveats & Pitfalls

  • ! bentoml serve is a blocking HTTP server daemon.
  • ! bentoml containerize requires Docker and can produce large images.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI