Skills2026年4月2日·1 分钟阅读

Griptape — Modular Python AI Agent Framework

Build AI agents with composable structures, tools, and memory. Off-Prompt data processing for secure enterprise use. 2.5K+ stars.

TO
TokRepo精选 · Community
快速使用

先拿来用,再决定要不要深挖

这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。

```bash pip install griptape[all] ``` ```python from griptape.structures import Agent from griptape.tools import WebScraper, Calculator, FileManager agent = Agent(tools=[WebScraper(), Calculator(), FileManager()]) agent.run("抓取 Hacker News 首页,计算前5条的平均分数,保存到 results.txt") ``` ---
## 简介 Griptape 是一个拥有 2,500+ GitHub stars 的模块化 Python AI 代理框架。其核心创新是 **Off-Prompt** 模式 — 敏感数据在 LLM 上下文窗口外处理,确保企业级数据安全。提供三种可组合结构(Agent、Pipeline、Workflow),搭配可插拔的工具、记忆模块和任意 LLM 后端。 适用于:OpenAI、Anthropic Claude、Gemini、AWS Bedrock、Ollama。适合需要安全处理敏感数据的企业 AI 代理开发团队。 --- ## 核心特性 ### 三种结构 - **Agent** — 单任务代理,配备工具 - **Pipeline** — 顺序多步任务 - **Workflow** — 并行+顺序 DAG 执行 ### Off-Prompt 数据处理 敏感数据在本地处理,只有摘要发送给 LLM,确保数据安全。 ### 丰富的工具生态 Web 抓取、数据库查询、文件管理、S3、邮件、日历等预置工具。 ### 多 LLM 支持 OpenAI、Anthropic、Gemini、Bedrock、Ollama 等主流提供商。 ---
🙏

来源与感谢

> Created by [Griptape](https://github.com/griptape-ai). Licensed under Apache-2.0. > > [griptape](https://github.com/griptape-ai/griptape) — ⭐ 2,500+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产