APIs for Lovable · Webhooks for Lark/Feishu · Skills for Claude Code · Build Clawdbot
Skills are not prompts. They are durable infrastructure.
Refly is the first open-source platform for building stable, atomic, and versioned agent skills.
Refly Skills is the official executable skill registry for Refly.
- ⚡ Run instantly: Execute skills in Refly with one click
- 🧩 Reusable infrastructure: Versioned skills, not one-off prompts
- 🔌 Export anywhere: Ship skills to Claude Code or deploy as APIs
- 🌍 Community-powered: Import, fork, and publish your own skills
Explore the registry: Refly Skills Repo
Skills are deterministic agent capabilities—reusable across workflows, teams, and runtimes.
TL;DR: Refly compiles your enterprise SOPs into executable agent skills. Built in 3 minutes. Shipped anywhere.
-
📘 Self-Deployment Guide
(Recommended for Developers) Step-by-step guide to deploying Refly on your own server using Docker. -
🔌 API Reference
Complete API documentation for integrating Refly into your applications.
Tip
Want to explore instantly? Open the hosted workspace: Refly Workspace
After deployment, choose your path based on your use case:
| I want to... | Start here | Time |
|---|---|---|
| 🔧 Build my first workflow | Create a Workflow | 5 mins |
| 🔌 Call workflows via API | API Integration | 10 mins |
| 💬 Connect to Lark/Feishu | Webhook Setup | 15 mins |
| 🤖 Export for Claude Code | Export Skills | 15 mins |
| 🦞 Build a Clawdbot | Build Clawdbot | 20 mins |
Most AI Agents fail in production because they rely on "Vibe-coded" scripts and fragile, black-box logic. As the ecosystem moves toward agentic frameworks like Claude Code, AutoGen, and MCP, the bottleneck is no longer the LLM—it's the lack of standardized, reliable actions.
Refly bridges the gap between raw APIs and intelligent agents. We allow you to codify messy business logic into structured, version-controlled Agent skills that any agent can invoke with 100% reliability.
Stop hard-coding tools. Build modular skills once in Refly's visual IDE and deploy them as MCP servers, standard APIs, or portable SDKs to any agent framework. Try it Now
Describe your business logic in natural language, and Refly's Model-Native DSL compiles your intent into a high-performance skill.
- Intent-Driven Construction: Describe the work once; Refly turns intent into deterministic, reusable, and composable skills.
- Efficiency at Scale: Streamlined DSL optimized for LLMs, ensuring fast execution and significantly lower token costs.
- 3-Minute Deployment: Transition from a static enterprise SOP to a production-ready agent skill in under 3 minutes.
Break the "black box" of AI execution with a stateful runtime designed for deterministic reliability.
- Intervenable Runtime: Pause, audit, and re-steer agent logic mid-run to ensure 100% operational compliance.
- Deterministic Guarantees: Enforce strict business rules that minimize hallucinations and handle failure recovery.
Unify MCP integrations, tools, models, and reusable skills into a single execution layer.
- Universal Delivery: Export as APIs for Lovable, webhooks for Slack or Lark/Feishu, or native tools for Claude Code and Cursor.
- Stable Scheduling: Run workflows reliably on schedule with managed execution.
Transform fragile scripts into governed, shared infrastructure across your organization.
- Central Skill Registry: Securely manage, version, and share agent capabilities.
- Team Workspace Collaboration: Build together with native version control and audit logs.
Refly is designed to be the universal bridge between your existing enterprise toolchain and the next generation of agentic runtimes.
Bring your own data and logic into Refly with zero friction.
- 3,000+ Native Tools: Seamlessly integrate with Stripe, Slack, Salesforce, GitHub, etc.
A full list of supported model and tools providers can be found in provider-catalog.json.
- MCP Support: Full compatibility with Model Context Protocol servers
- Private Skill Connectors: Connect to your databases, scripts, and internal systems
Export your deterministic skills to any environment where work happens.
- AI Coding Tools: Native export for Claude Code and Cursor (coming soon)
- App Builders: Power Lovable or custom frontends via stateful APIs
- Automation Hubs: Deploy as webhooks for Slack, Lark/Feishu, or Microsoft Teams
- Agent Frameworks: Compatible with AutoGen, Manus, LangChain, and custom Python stacks
Most agent tooling today falls into two categories:
- Workflow builders (n8n, Dify): Great for orchestration, but workflows are fragile, trigger-only "black boxes," and hard to reuse.
- Agent frameworks (LangChain): Powerful primitives, but require heavy engineering, manual boilerplate, and high maintenance to keep running. Refly eliminates the friction of manual configuration, giving you the fastest path from a "vibe" to a usable agent tool. By using our Streamlined DSL, you get the speed of a GUI with the precision of code.
| Dimension | Legacy Automation (n8n, Dify) |
Code-First SDKs (LangChain) |
Refly Skills |
|---|---|---|---|
| Interaction Depth | Trigger-only Black box |
Programmatic Code changes |
Intervenable runtime Steer logic mid-run |
| Construction | Manual API wiring & JSON | Manual Python/TS boilerplate | Copilot-led Describe intent → skills generated |
| Recovery | Fail = restart from scratch | Debug → redeploy → rerun | Hot-fix Repair workflows during execution |
| Portability | Hard to reuse across environments | Framework-specific | Export everywhere To Claude Code, Cursor, Manus |
| Deployment | Limited function tools | Custom microservices | Production Ready Stateful, validated APIs |
Workflow tools like n8n are great for basic connectivity, and frameworks like LangChain offer powerful primitives — but neither provides the governed, production-ready capability layer required for enterprise agent infrastructure.
Refly acts as the Agent skills builder, providing the governance and reliability infrastructure required to deploy AI across the entire organization.
| Enterprise Requirement | Legacy Tools (Workflow-first) |
SDKs (Code-first) |
Refly (Skill OS) |
|---|---|---|---|
| Governance & Reuse | Templates are copied and reconfigured per instance |
No native registry for sharing logic |
Central skill registry Versioned, shareable capability assets |
| Operational Reliability | Trigger-based limited recovery |
Custom handling required | Stateful runtime With validation + failure recovery |
| SOP Enforcement | Workflows drift across copies |
Depends on manual engineering discipline |
SOP-grade deterministic skills With controlled execution |
| Deployment | Instance-bound workflows | Code maintained manually per team |
Local-first, on-prem ready Open-source infrastructure |
| Total Cost (TCO) | Overhead grows with workflow complexity |
High engineering maintenance costs |
Minimal DSL Reduces token spend |
Note
This section assumes you have completed self-deployment and can access Refly at http://localhost:5700
Step 1: Register and Log In
- Open
http://localhost:5700in your browser - Register with your email and password
- Configure your first model provider:
- Click the account icon (top right) → Settings
- Add a provider (e.g., OpenAI, Anthropic)
- Add your first chat model
- Set it as default
📖 Detailed setup with screenshots: Self-Deployment Guide
Step 2: Create a Workflow
- Click "New Workflow" on the home page
- Choose a template or start from scratch:
- Blank Canvas: Build with visual nodes
- Vibe Mode: Describe your workflow in natural language
Example - Product Research Workflow:
1. Add "Web Search" node - searches for product information
2. Add "LLM" node - analyzes search results
3. Add "Output" node - formats the report
4. Connect the nodes
5. Click "Save"
Tip
If you want the fastest path, start with Vibe Mode and iterate from a template.
Step 3: Test Your Workflow
- Click "Run" button
- Enter test input (e.g., a product URL)
- View execution results in real-time
- Check logs if something fails
Goal: Call your workflow from your application via REST API
Get Your API Credentials
- Go to Settings → API Keys
- Click "Generate New Key"
- Copy your API key (keep it secure!)
Make Your First API Call
curl -X POST https://your-refly-instance.com/api/v1/workflows/{WORKFLOW_ID}/execute \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"product_url": "https://example.com/product"
}
}'Response:
{
"execution_id": "exec_abc123",
"status": "running"
}Check Execution Status
curl https://your-refly-instance.com/api/v1/executions/{execution_id} \
-H "Authorization: Bearer YOUR_API_KEY"📖 Full API Documentation: API Reference
Goal: Trigger your workflow when someone sends a message in Lark
Prerequisites
- A Lark workspace with admin access
- A workflow created in Refly
Setup Steps
-
In Refly:
- Open your workflow
- Click "Settings" → "Triggers"
- Enable "Webhook Trigger"
- Copy the Webhook URL
-
In Lark/Feishu:
- Go to api.feishu.com/apps
- Create a "Custom App"
- Navigate to "Event Subscriptions"
- Paste the Refly Webhook URL into "Request URL"
- Click "Add Event" and select "Receive Message"
- Go to "Version Management" and publish the app
-
Test:
- In Feishu, find your bot in the search bar and send a message (e.g.,
analyze report.pdf) - Your workflow executes and returns results via the webhook
- In Feishu, find your bot in the search bar and send a message (e.g.,
⚠️ Note: Detailed Lark/Feishu integration guide coming soon. For now, see API Reference for webhook configuration.
Goal: Publish your Refly workflows as Claude Code skills
Quick Start
- Install Refly CLI
npm install -g @powerformer/refly-cli- Install a Skill
# Via Refly CLI
refly skill install <skill-id>
#Via npx
npx skills add refly-ai/<skill-name>- Publish a Skill
refly skill publish <skill-id>The skill is now available in Claude Code, Cursor, and MCP-powered workflows. Agent can invoke your workflow as a tool!
📖 Documentation: Refly Skills
📖 Tutorial: Build Clawdbot Tutorial
- 🌟 Star us on GitHub: It helps us keep building!
- 💬 Discord: Join our community
- 🐦 Twitter: Follow us for updates
- 📖 Documentation: Full guides and tutorials
- 🐛 Issues: Report bugs or request features
Join our community to get help, share your experience, and connect with other Refly users: Refly Community
For those who'd like to contribute code, see our Contribution Guide. At the same time, please consider supporting Refly by sharing it on social media and at events and conferences.
We are looking for contributors to help translate Refly into languages other than Mandarin or English. If you are interested in helping, please see the Contribution Guide for more information.
This repository is licensed under the ReflyAI Open Source License, which is essentially the Apache 2.0 License with some additional restrictions.