详细分析 ▾
运行时依赖
版本
Initial release of freeAPI: The Sovereign Client - Enables direct execution of OpenAPI/Swagger endpoints from localhost, with no middleware or gateways involved. - Keeps API keys fully private by storing them only in your local `.env` file. - Provides a guided, conversational method for onboarding and key management—no CLI commands unless preferred. - Automatically fetches OpenAPI specs and handles requests based on natural language prompts. - Includes CLI support for advanced or power users as an alternative interface.
安装命令 点击复制
技能文档
freeAPI direct execution engine 对于 OpenClaw. bypasses 中间件, gateways, 和 data harvesters. 带有 freeAPI, agent connects directly 从 localhost 到 任何 API 使用 official OpenAPI/Swagger specification.
Philosophy
- Sovereign: 您 own 连接. 否 第三个-party server mediates requests.
- 私有: API keys stay 在...中 local
.envfile. 它们 never sent 到 gateway. - Spec-Driven: 只是 provide OpenAPI spec URL 或 file. freeAPI figures out rest.
Agent Usage (Natural Language)
Agents should integrate freeAPI seamlessly into the conversation.
1. Onboarding ( "Integral" 方法)
Do not ask users to run raw CLI commands unless they prefer it. Instead, guide them conversationally:
- Ask: "哪个 服务 做 您 want 到 connect? (e.g., GitHub, Stripe, OpenAI)"
- Prompt: "Please provide API 键 对于 [服务]. I 将 保存 securely 到 local
.envfile." - Action: 使用
写入或编辑tool 到 append 键 到.env.
SERVICE_NAME_KEY=值 (e.g., GITHUB_TOKEN=ghp_...)
- Confirm: "键 saved. 您 可以 现在 使用 freeAPI 带有 [服务]."
2. Execution
When a user asks to perform an action (e.g., "Check my GitHub issues"):
- Locate Spec: 查找 OpenAPI spec URL (e.g.,
https://api.github.com/openapi/v3). - Check Keys: 验证 键 exists 在...中
.env. 如果 不, trigger Onboarding flow 上面. - Run: 使用
节点 skills/freeAPI/索引.js run带有 spec 和 parameters.
示例 Agent Thought Process:
User wants to list Stripe payments. I need the Stripe OpenAPI spec. I'll check.envforSTRIPE_SECRET_KEY. It's missing. I will ask the user for it now, then save it, then run thelistPaymentsoperation.
用户 Guide (CLI Fallback)
For power users who prefer the terminal, the CLI is available.
Setup: 节点 skills/freeAPI/索引.js setup (Interactive checklist)
Run: 节点 skills/freeAPI/索引.js run ...
为什么 不 中间件?
Middleware services introduce latency, dependency, and privacy risks. freeAPI eliminates these by running entirely on your machine.
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制