Atlassian MCP服务
Jira与Confl
Strands是AWS开源的Python SDK,用于构建和运行AI智能体。支持Ollama本地模型、Anthropic、OpenAI、Bedrock等多种提供商,提供46种内置工具与自定义工具扩展能力。
安装SDK(推荐隔离安装):
pipx install strands-agents-builder
或直接安装:
pip install strands-agents strands-agents-tools
本地Ollama运行示例:
from strands import Agent
from strands.models.ollama import OllamaModel
model = OllamaModel("http://localhost:11434", model_id="qwen3:latest")
agent = Agent(model=model)
result = agent("What is the capital of France?")
AWS Bedrock默认运行(无需指定模型):
from strands import Agent
agent = Agent() # 默认使用us-west-2的Claude Sonnet 4
result = agent("Explain quantum computing")
自定义工具开发:
from strands import Agent, tool
@tool
def read_file(path: str) -> str:
"""Read contents of a file."""
with open(path) as f:
return f.read()
agent = Agent(model=model, tools=[read_file])
见下方输入与输出表格。
| 项目 | 内容 |
|---|---|
| 输入 | 自然语言指令;可选模型配置(Ollama/Bedrock/Anthropic/OpenAI);自定义工具函数;MCP服务器连接信息 |
| 输出 | 智能体响应文本;工具执行结果;状态更新数据 |
| 适用人群 | Python开发者、自动化工程师、多智能体系统研究者、需要本地部署的企业用户 |
| 不包含 | 图形化开发界面、模型训练能力、商业托管服务、JavaScript/Go等其他语言SDK |
原始链接:https://github.com/openclaw/skills/tree/main/skills/trippingkelsea/strands/SKILL.md
来源类型:GitHub仓库