Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

ainative-agent-framework主动 Agent 框架

Agent Skill

ainative-agent-framework 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,802

周安装

160

GitHub Stars

公开资料未说明

下载量

1,331
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ainative-agent-framework(主动 Agent 框架)
来源仓库:https://github.com/urbantech/ainative-agent-framework
安装命令:
openclaw skills install ainative-agent-framework
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ainative-agent-framework

简介

ainative-agent-framework 构建多代理协作系统,支持任务分派与群管理。

  • 适用于 Aurora 代理调度与复杂工作流编排场景。
  • 可整合多个专用 AI 代理协同完成任务。
  • 通过 clawhub 安装,需确认运行环境兼容性。
  • 使用前应评估资源消耗与并发安全边界。ainative-agent-framework 属于效率类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
ainative-agent-framework
description
Build multi-agent systems and swarms on AINative. Use when (1) Orchestrating multiple specialized AI agents, (2) Dispatching tasks to OpenClaw agents (aurora, sage, nova, atlas, etc.), (3) Implementing agent-to-agent communication via ACP, (4) Building autonomous workflows with agent handoffs, (5) Collecting RLHF feedback for agent improvement. Closes #1524.

AINative Agent Framework

OpenClaw Agent Swarm

AINative uses OpenClaw as its local agent gateway. 9 specialized agents are available:

AgentIDSpecialty
MainmainOrchestration, routing, default
Atlas RedwoodatlasInfrastructure & deployment
Lyra Chen-SatolyraFrontend & UI
Sage OkaforsageBackend & APIs
Vega MartinezvegaData & analytics
Nova SinclairnovaSecurity & auth
Luma HarringtonlumaDocumentation
Helios MercerheliosPerformance & optimization
Aurora ValeauroraTesting & QA

Dispatch Tasks via CLI

# Route to best agent automatically
openclaw agent --agent main --message "Review the auth endpoint for SQL injection"

# Target a specific agent
openclaw agent --agent aurora --message "Write tests for the billing module"
openclaw agent --agent sage --message "Add rate limiting to the credits endpoint"
openclaw agent --agent nova --message "Audit API key storage for security issues"
openclaw agent --agent atlas --message "Check Railway deploy logs for errors"

Dispatch via Cody Script

# Status check
python3 scripts/cody_openclaw.py status
python3 scripts/cody_openclaw.py agents

# Dispatch a task
python3 scripts/cody_openclaw.py dispatch --agent aurora --task "Run test suite for billing module"
python3 scripts/cody_openclaw.py dispatch --agent sage --task "Implement POST /api/v1/echo/register"

# Send a direct message
python3 scripts/cody_openclaw.py message --agent main --message "What is the current test coverage?"

ACP (Agent Communication Protocol)

# Connect to ACP session directly
openclaw acp --session agent:main:main --token YOUR_GATEWAY_TOKEN

# Via cody script
python3 scripts/cody_openclaw.py acp --session agent:main:main

Python Agent Pattern

Build your own agent that calls AINative APIs:

import requests

class AINativeAgent:
    def __init__(self, api_key: str, system_prompt: str):
        self.api_key = api_key
        self.system_prompt = system_prompt
        self.messages = []

    def think(self, user_input: str) -> str:
        self.messages.append({"role": "user", "content": user_input})

        resp = requests.post(
            "https://api.ainative.studio/v1/public/chat/completions",
            headers={"X-API-Key": self.api_key},
            json={
                "model": "claude-3-5-sonnet-20241022",
                "messages": [
                    {"role": "system", "content": self.system_prompt},
                    *self.messages
                ],
                "max_tokens": 2048,
            }
        ).json()

        reply = resp["choices"][0]["message"]["content"]
        self.messages.append({"role": "assistant", "content": reply})
        return reply

    def remember(self, fact: str):
        """Persist something to ZeroMemory."""
        requests.post(
            "https://api.ainative.studio/api/v1/public/memory/v2/remember",
            headers={"X-API-Key": self.api_key},
            json={"content": fact, "memory_type": "episodic"}
        )

    def recall(self, query: str) -> list:
        """Retrieve relevant memories."""
        resp = requests.post(
            "https://api.ainative.studio/api/v1/public/memory/v2/recall",
            headers={"X-API-Key": self.api_key},
            json={"query": query, "limit": 5}
        ).json()
        return [m["content"] for m in resp.get("memories", [])]


# Usage
agent = AINativeAgent("ak_your_key", "You are a helpful coding assistant.")
response = agent.think("How do I implement rate limiting in FastAPI?")
agent.remember(f"User asked about rate limiting: {response[:100]}")

Multi-Agent Handoff Pattern

def route_task(task: str) -> str:
    """Route task to the right OpenClaw agent."""
    routing = {
        "test": "aurora",
        "security": "nova",
        "deploy": "atlas",
        "frontend": "lyra",
        "backend": "sage",
        "performance": "helios",
        "data": "vega",
        "docs": "luma",
    }

    for keyword, agent_id in routing.items():
        if keyword in task.lower():
            return agent_id
    return "main"

import subprocess

def dispatch(task: str):
    agent_id = route_task(task)
    subprocess.run(["openclaw", "agent", "--agent", agent_id, "--message", task])

RLHF Feedback

Collect feedback to improve agent quality:

# Via MCP tool
zerodb-rlhf-feedback
requests.post(
    "https://api.ainative.studio/api/v1/public/zerodb/rlhf/feedback",
    headers={"X-API-Key": "ak_your_key"},
    json={
        "session_id": "sess-123",
        "rating": 5,
        "feedback": "Agent correctly identified the SQL injection vector",
    }
)

Monitor Agent Swarm

# Real-time logs
python3 scripts/cody_openclaw.py logs --follow

# Status dashboard
openclaw status

References

  • scripts/cody_openclaw.py — Cody's OpenClaw control script
  • .claude/commands/openclaw-dispatch.md — /openclaw-dispatch command
  • .openclaw/openclaw.json — Local gateway configuration
  • src/backend/app/services/ — Backend agent services

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

89.59%
按下载量换算1,192

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills