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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.