热度观测:最近观测 8972 星,达到本渠道热门门槛 1000。

← 返回内容列表
GGitHub采集材料

Strands SDK构建可控AI智能体

发布时间未知 · 北京时间

智能体应用

有实践材料可继续查看

代码仓库安装说明使用说明示例代码

原文与观测指标

1 个来源
GGitHub

Strands SDK构建可控AI智能体

strands-agents
查看原文
星标8,972采集时的累计值
每小时增长待观察星标 / 小时 · 观测区间平均值
最近提交10-28 07:36提交时间不是项目发布时间

发布时间:未知 · 首次发现 10-28 08:30 · 北京时间

指标采集:10-28 08:30 · 指标已取得

项目文档有线索安装说明有线索使用说明有线索示例有线索

仅反映文档与示例线索,未实际运行项目。

摘要

Strands Agents 提供 Python 和 TypeScript SDK,适合替代自写智能体循环,构建带工具调用、结构化输出、会话记忆和多智能体协作的应用;也提供配合 Claude Code、Codex 或 Cursor 使用的开发插件。

摘要由 AI 生成,请以原文为准。
观测历史 · 最近 1 条 展开 / 收起

缺失不计为零;增长只比较同一指标来源的有效记录,按实际间隔折算每小时。上游缓存可能延迟数值更新。

采集时间 · 北京时间指标数值来源状态
10-28 08:30:29Star8,972GitHub 公开页面已取得
采集原文 展开 / 收起

harness-sdk

Build an agent harness and control it end-to-end. Open-source SDK for production AI agents in Python & TypeScript - any model, any cloud.
项目说明 展开 / 收起
Strands Agents A model-driven approach to building AI agents in just a few lines of code. Documentation ◆ Samples ◆ CLI ◆ MCP Server ◆ Discord Harness (Python, TypeScript) ◆ SDK (Python, TypeScript) ◆ Box ◆ Shell ◆ Evals ◆ Labs Strands Agents is an open-source SDK for building and running AI agents in Python and TypeScript. Choose Strands when you would otherwise write your own agent loop: it runs in your process with no hosted control plane, and it covers the jobs a hand-rolled loop grows into. In one SDK you get lifecycle controls (turn limits, token budgets, cancellation, stop reasons), tools and structured output, MCP, multi-agent patterns, memory and sessions, model portability, streaming, guardrails, tracing, and evals. Using a coding agent? Install the Strands plugin for Claude Code, Codex, or Cursor. It adds framework selection, scaffolding, tool authoring, MCP server connections, web framework guides, and LangGraph migration guidance. See Use Strands with AI coding agents for install and verification steps. This monorepo contains Strands harness, the Python and TypeScript SDKs, the documentation site, and supporting packages: Directory Description harness-py/ Python Strands harness: fully assembled agent via create_harness() (PyPI · docs) harness-ts/ TypeScript Strands harness: fully assembled agent via createHarness() (npm · docs) strands-cli/ strands CLI: prototype and chat with a harness agent from the terminal (npm) strands-py/ Python SDK: agent loop, model providers, tools (PyPI · releases) strands-ts/ TypeScript SDK: agent loop, model providers, tools (npm · releases) strands-mcp/ MCP server that gives coding agents knowledge about building with Strands Agents (PyPI) site/ Source for the strandsagents.com documentation site (Astro/Starlight) team/ Governance and cross-SDK process docs (tenets, decisions, PR & compatibility guidelines, and designs/ proposals) test-infra/ CDK stack provisioning the AWS resources a subset of integration tests run against (knowledge bases, SSH sandboxes) Why Strands Build an agent harness. Control it end-to-end. Build your way. Any model, any cloud. Context management, execution limits, and observability built in before you write a line of config. Swap backends when you scale; your code stays the same. Model agnostic. First-class support for Amazon Bedrock, Anthropic, OpenAI, and Gemini, plus many more providers and custom ones. Stay in control. The agent loop traces every decision by default. Hooks let you intercept any step to log it, validate it, or redirect it. Deliver outcomes that work. Guardrails catch mistakes before they run. Steering handlers let agents correct themselves instead of failing silently. MCP, streaming, multi-agent patterns, and structured output are all built in. Quick Start The easiest way to get started is with Strands harness, a fully assembled, state-of-the-art agent. A single create_harness() (Python) or createHarness() (TypeScript) call gives you an optimized agent with benchmarked defaults for the model, tools, memory, sessions, and context management — ready to take from idea to production. Follow the harness quickstart, or see the Python Strands harness and TypeScript Strands harness packages to get started. Python pip install strands-harness from strands_harness import create_harness agent = create_harness() agent("Find the slowest test in this repo and explain why it's slow") TypeScript npm install @strands-agents/harness import { createHarness } from '@strands-agents/harness' const agent = await createHarness() await agent.invoke("Find the slowest test in this repo and explain why it's slow") Start here to get a batteries-included agent, then drop down to the SDKs below when you want to own the agent loop and wire up tools, model providers, and memory yourself. The harness configuration reference documents every default you can override. The Quickstart Guide covers configuring providers (Amazon Bedrock, Anthropic, OpenAI, Gemini, Ollama, and more). Working with the SDK The Strands Harness SDK lets you go deeper and control every part of the agent: the loop, tools, model providers, memory, sessions, and hooks. You can dive into the SDK after working with Strands harness or if you prefer building your own harness from the ground up when the assembled defaults aren't enough. Python Requires Python 3.10+: pip install strands-agents from strands import Agent from strands.vended_tools import http_request agent = Agent(tools=[http_request]) agent("Tell me about the Strands harness features: https://strandsagents.com/docs/user-guide/harness/index.md") The Python SDK README covers tools, model providers, MCP, and bidirectional streaming. TypeScript To build a Strands agent in TypeScript, install the SDK in a Node.js 22+ ESM project ("type": "module"): npm install @strands-agents/sdk import { Agent } from '@strands-agents/sdk' import { httpRequest } from '@strands-agents/sdk/vended-tools/http-request' const agent = new Agent({ tools: [httpRequest] }) await agent.invoke('Tell me about the Strands harness features: https://strandsagents.com/docs/user-guide/harness/index.md') The agent uses Amazon Bedrock by default, so configure AWS credentials or pass another model. Start with the TypeScript quickstart to configure a model provider, run your first agent, and add tools. Use the TypeScript API reference for the full SDK surface, or explore more examples in the TypeScript SDK README. Documentation For detailed guidance & examples, explore our documentation: User Guide Strands Harness Guide (quickstart · configuration reference) Quick Start Guide Agent Loop Bidirectional Streaming (Python) Examples API Reference: Python · TypeScript Production & Deployment Guide The docs themselves live in this monorepo under site/, and doc PRs are welcome alongside code changes. Development Git operations (commits, branches, PRs) are done from the repo root. Each package has its own toolchain: Python SDK (strands-py/): cd strands-py pip i