agentica-sdk

仓库创建 2025年12月23日最近提交 6 个月前SkillHot 收录 20 天前
▸ 精选理由

完整 API 与装饰器示例,适合构建可协调的本地 Python agents。

▸ 风险提示

示例与运行可能要求本地代理、文件与网络权限。

这个 Skill 做什么

使用 Agentica Python SDK 编写、管理并持久化智能体及其工具。

用 Agentica 的 Python SDK 写和管理智能体,支持用 @agentic 装饰器定义行为、spawn() 启动子 agent、持久化状态并接入 MCP 工具。适合构建需要长期状态、工具调用或多 agent 协作的自动化系统与原型。优点是把 agent 编程、持久化和编排集成到一套 Python 开发体验里。

▸ 展开 SKILL.md 英文原文

Build Python agents with Agentica SDK - @agentic decorator, spawn(), persistence, MCP integration

开发编程PythonSDK持久化MCP通用
3.9k
Stars
298
Forks
40
仓库内 Skill
+17
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/parcadei/Continuous-Claude-v3/main/.claude/skills/agentica-sdk/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/parcadei/Continuous-Claude-v3/main/.claude/skills/agentica-sdk/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Agentica SDK Reference (v0.3.1)

Build AI agents in Python using the Agentica framework. Agents can implement functions, maintain state, use tools, and coordinate with each other.

## When to Use

Use this skill when:
- Building new Python agents
- Adding agentic capabilities to existing code
- Integrating MCP tools with agents
- Implementing multi-agent orchestration
- Debugging agent behavior

## Quick Start

### Agentic Function (simplest)

```python
from agentica import agentic

@agentic()
async def add(a: int, b: int) -> int:
    """Returns the sum of a and b"""
    ...

result = await add(1, 2)  # Agent computes: 3
```

### Spawned Agent (more control)

```python
from agentica import
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有