阿里的又一个 AI 开源项目 AgentScope

阿里的又一个 AI 开源项目 AgentScope

https://github.com/agentscope-ai/agentscope-java

AgentScope Java is an agent-oriented programming framework for building LLM-powered applications. It provides everything you need to create intelligent agents: ReAct reasoning, tool calling, memory management, multi-agent collaboration, and more.

AgentScope Java是一个面向智能体编程的框架,用于构建基于大语言模型(LLM)的应用程序。它提供了创建智能代理所需的所有功能:ReAct推理、工具调用、记忆管理、多智能体协作等。

🎯 Smart Agents, Full Control

AgentScope adopts the ReAct (Reasoning-Acting) paradigm, enabling agents to autonomously plan and execute complex tasks. Unlike rigid workflow-based approaches, ReAct agents dynamically decide which tools to use and when, adapting to changing requirements in real-time.

However, autonomy without control is a liability in production. AgentScope provides comprehensive runtime intervention mechanisms:

  • Safe Interruption - Pause agent execution at any point while preserving full context and tool state, enabling seamless resumption without data loss
  • Graceful Cancellation - Terminate long-running or unresponsive tool calls without corrupting agent state, allowing immediate recovery and redirection
  • Human-in-the-Loop - Inject corrections, additional context, or guidance at any reasoning step through the Hook system, maintaining human oversight over critical decisions

AgentScope采用ReAct(推理-行动)范式,使智能体能够自主规划并执行复杂任务。与基于固定工作流的方法不同,ReAct智能体可动态决定工具的使用时机,实时适应需求变化。

但在生产环境中,不受控的自主性可能带来风险。AgentScope提供全面的运行时干预机制:

安全中断 - 随时暂停智能体执行,完整保留上下文和工具状态,实现无数据丢失的断点续传 优雅终止 - 中止长时间运行或无响应的工具调用,不破坏智能体状态,支持即时恢复和任务重定向 人在回路 - 通过Hook系统在任何推理步骤注入修正指令、补充上下文或指导建议,确保人类对关键决策的监督权

🛠️ Built-in Tools

AgentScope includes production-ready tools that address common challenges in agent development:

  • PlanNotebook - A structured task management system that decomposes complex objectives into ordered, trackable steps. Agents can create, modify, pause, and resume multiple concurrent plans, ensuring systematic execution of multi-step workflows.
  • Structured Output - A self-correcting output parser that guarantees type-safe responses. When LLM output deviates from the expected format, the system automatically detects errors and guides the model to produce valid output, mapping results directly to Java POJOs without manual parsing.
  • Long-term Memory - Persistent memory storage with semantic search capabilities across sessions. Supports automatic management, agent-controlled recording, or hybrid modes. Enables multi-tenant isolation for enterprise deployments where agents serve multiple users independently.
  • RAG (Retrieval-Augmented Generation) - Seamless integration with enterprise knowledge bases. Supports both self-hosted embedding-based retrieval and managed services like Alibaba Cloud Bailian, grounding agent responses in authoritative data sources.

AgentScope 包含一系列生产级工具,可解决智能体开发中的常见挑战:

PlanNotebook(计划笔记本) - 结构化任务管理系统,将复杂目标分解为可追踪的有序步骤。支持智能体创建、修改、暂停和恢复多个并行计划,确保多步骤工作流的系统化执行。

Structured Output(结构化输出) - 具备自校正功能的输出解析器,保障类型安全的响应。当大语言模型输出偏离预期格式时,系统自动检测错误并引导模型生成有效输出,结果可直接映射到Java POJO对象,无需人工解析。

Long-term Memory(长期记忆) - 支持跨会话语义检索的持久化记忆存储。提供自动管理、智能体控制记录及混合模式三种管理方式。满足企业级多租户隔离需求,使智能体能够独立服务不同用户。

RAG(检索增强生成) - 与企业知识库无缝集成。既支持基于自托管嵌入向量的检索方案,也兼容阿里云百炼等托管服务,确保智能体响应基于权威数据源。

🔌 Seamless Integration

AgentScope is designed to integrate with existing enterprise infrastructure without requiring extensive modifications:

  • MCP Protocol - Integrate with any MCP-compatible server to instantly extend agent capabilities. Connect to the growing ecosystem of MCP tools and services—from file systems and databases to web browsers and code interpreters—without writing custom integration code.
  • A2A Protocol - Enable distributed multi-agent collaboration through standard service discovery. Register agent capabilities to Nacos or similar registries, allowing agents to discover and invoke each other as naturally as calling microservices.

🔌 无缝集成

AgentScope旨在无需大规模改造即可与现有企业基础设施集成:

MCP协议 - 与任何兼容MCP协议的服务器集成,即时扩展智能体能力。接入日益壮大的MCP工具和服务生态(从文件系统、数据库到网页浏览器和代码解释器),无需编写定制化集成代码。

A2A协议 - 通过标准服务发现实现分布式多智能体协作。将智能体能力注册至Nacos或类似注册中心,使智能体之间能像调用微服务般自然地发现并调用彼此。

JDK 版本最低 17 

<dependency> <groupId>io.agentscope</groupId> <artifactId>agentscope</artifactId> <version>1.0.4</version> </dependency>

ReActAgent agent = ReActAgent.builder() .name("Assistant") .sysPrompt("You are a helpful AI assistant.") .model(DashScopeChatModel.builder() .apiKey(System.getenv("DASHSCOPE_API_KEY")) .modelName("qwen-max") .build()) .build(); Msg response = agent.call(Msg.builder() .textContent("Hello!") .build()).block(); System.out.println(response.getTextContent());

https://agentscope.io/

Read more

Fast-GitHub:国内开发者必备的GitHub下载加速终极方案

还在为GitHub龟速下载而烦恼吗?每次面对几十KB/s的下载进度条,你是否也曾感到绝望?Fast-GitHub正是为国内开发者量身打造的智能加速神器,通过轻量级浏览器插件彻底解决GitHub访问难题。 【免费下载链接】Fast-GitHub国内Github下载很慢,用上了这个插件后,下载速度嗖嗖嗖的~! 项目地址: https://gitcode.com/gh_mirrors/fa/Fast-GitHub 🎯 真实用户故事:从卡顿到流畅的转变 想象一下这样的场景:项目deadline迫在眉睫,团队急需从GitHub拉取关键依赖包,但git clone命令却像被施了定身咒般一动不动。或者当你终于找到一个心仪的开源项目,下载速度却慢如蜗牛——这些痛点正是Fast-GitHub要彻底解决的。 小明的开发日常:作为一名前端开发者,小明每天都需要从GitHub下载各种npm包和项目模板。在安装Fast-GitHub之前,他经常需要等待数小时才能完成一个中等大小项目的下载。而现在,同样的项目只需要几分钟就能搞定。 🔧 技术原理解密:智能路由如何实现加速 Fast-GitHub

By Ne0inhk

Chaterm — 开源SRE副驾驶,让你与服务器直接对话!

Chaterm 是一款开源AI智能终端和SSH客户端。Chaterm旨在解决大规模云环境下服务器批量化操作、故障排查复杂和安全管控困难等痛点。它将 AI Agent能力嵌入终端,通过打造“对话式终端管理工具”,帮助服务端开发者、DEVOPS工程师、云计算从业人士实现云资源的智能化和规模化管理。 图说:Chaterm的核心能力包括:命令语法高亮,关键词高亮,智能命令补全,零信任安全连接,Agent智能智能代理,移动端语音输入控制,MCP功能,Agent Skills等 AI 智能助手:让运维更简单:Chaterm不仅提供 AI 对话和终端命令执行功能,更具备基于 Agent 的 AI 自动化能力,可以通过自然语言设定目标,由 AI 自动规划,并一步一步执行,最终达成需要完成的任务。 1. 智能命令生成:说出你的需求,AI 自动生成对应的 Shell 命令 2. 上下文理解:AI

By Ne0inhk
【已开源】【嵌入式 Linux 音视频+ AI 实战项目】瑞芯微 Rockchip 系列 RK3588-基于深度学习的人脸门禁+ IPC 智能安防监控系统

【已开源】【嵌入式 Linux 音视频+ AI 实战项目】瑞芯微 Rockchip 系列 RK3588-基于深度学习的人脸门禁+ IPC 智能安防监控系统

前言 本文主要介绍我最近开发的一个个人实战项目,“基于深度学习的人脸门禁+ IPC 智能安防监控系统”,全程满帧流畅运行。这个项目我目前全网搜了一圈,还没发现有相关类型的开源项目。这个项目只要稍微改进下,就可以变成市面上目前流行的三款产品,人脸识别门禁系统、IPC 安防和 NVR。在最下面会有视频演示。 本项目适用于瑞芯微 Rockchip 系列的板端,开源链接在文章最下面。 功能 人脸门禁系统 * 人靠近自动亮屏,人走自动息屏 * 支持人脸识别 * 支持录入人脸,并进行人脸配对(极速配对 < 0.2S) IPC 智能安防监控系统 * 支持通过 onvif 实时查看摄像头画面 * 支持实时目标检测(支持高达80种物体检测) * 支持录像 * 支持检测到人时自动录像 * 支持检测到人时自动报警 用到的硬件 * 野火鲁班猫4 RK3588S2 * IMX415 800W 4k 摄像头 * RTL8822CE Wifi+BT

By Ne0inhk
1.5k stars!阿里开源 PageAgent:让 AI 直接“住进“你的网页,用自然语言操控一切!

1.5k stars!阿里开源 PageAgent:让 AI 直接“住进“你的网页,用自然语言操控一切!

阿里开源 PageAgent:让 AI 直接"住进"你的网页,用自然语言操控一切 不需要浏览器插件,不需要 Python,不需要截图——一行 JS,让你的网页秒变 AI 智能体。 一、先说痛点:Web 自动化为什么这么难? 如果你用过 Selenium、Playwright,或者最近流行的 browser-use,你一定遇到过这些头疼的问题: * 环境太重:得装 Python、headless 浏览器、各种依赖,部署复杂,维护成本高; * 依赖截图 + OCR:很多方案靠多模态模型"看图操作",慢、贵、还不准; * 权限门槛高:要控制浏览器,往往需要特殊权限甚至操作系统级别的访问; * 对现有产品改造成本大:

By Ne0inhk