ramalama-cli
由 ieaves 提供
Health & Fitness简介
Run and interact with AI agents.
描述
该技能的功能
ramalama runs AI models locally inside containers using Docker or Podman. It supports multiple model sources including HuggingFace, OCI registries, and direct URLs. Models can be run one-shot, served as an OpenAI-compatible endpoint, or queried with RAG context from local files.
Containerized execution via Docker or Podman gives full network and device isolation, which cloud-hosted inference APIs cannot provide.
何时使用
- Run inference on sensitive documents without sending data to external APIs
- Serve a local OpenAI-compatible endpoint for development and testing
- Build a RAG knowledge bundle from internal docs and query it with a local model
- Benchmark model quality and performance before integrating into a pipeline
- Pull and test a specific HuggingFace model variant without a cloud account
示例工作流
User asks: summarize our internal auth docs using a local model
- 1
Run preflight: ramalama version and verify Docker or Podman is available
- 2
Package local docs into a RAG bundle: ramalama rag ./docs auth-rag
- 3
Run one-shot inference with RAG context: ramalama run --rag auth-rag granite3.3:2b "Summarize the auth requirements"
- 4
Parse the text output and return the summary
A concise summary of the auth requirements drawn from the local documentation
前置要求
- Docker or Podman installed and running
安装
clawhub install ieaves/ramalama-cli运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。