Serving and clients

From VectorSpaceLab/AREX-Skill · View interactive version

Serving and clients is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Serve BentoML services locally over HTTP or gRPC and call endpoints with Python clients, curl/OpenAPI, streaming, websocket clients, and operational serve flags.

How to use this skill

Skill file

BentoML Serving And Clients

Use this sub-skill when the user needs to run a BentoML service locally, choose HTTP versus gRPC serving, call service endpoints from Python or curl, inspect endpoint schemas, or debug client/serve failures. For defining @bentoml.service and @bentoml.api, use ../service-authoring/SKILL.md. For bentoml build, containerization, and Bento packaging, use ../packaging-and-containerization/SKILL.md. For metrics, logs, tracing, scaling, and runtime resource configuration, use ../observability-and-operations/SKILL.md. For BentoCloud deployments and cloud endpoints, use ../cli-and-cloud/SKILL.md.

Local Serving

See references/cli-reference.md and the bundled dry-run helper scripts/serve_command_builder.py for safe command construction.

HTTP Client Calls

See references/client-reference.md and scripts/inspect_service_client.py for schema inspection without starting a server.

Curl, OpenAPI, And Schema

Streaming And WebSockets

gRPC Serving

Helper Scripts

Troubleshooting Checklist

For deeper failure mapping, see references/troubleshooting.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.