strands-stigmer
The execution graph of AWS for Strands agents.
A single toolset that gives your agent verified AWS method contracts (required params, IAM permissions, pagination contracts, call-chain links, and known traps) plus a least-privilege IAM policy generator for multi-step workflows.
Backed by Stigmer, an open MCP knowledge network with 30,000+ contracts across 380 services.
Install
pip install strands-stigmer
Usage
from strands import Agent
from strands_stigmer import stigmer_query, stigmer_policy
agent = Agent(tools=[stigmer_query, stigmer_policy])
# Generate a least-privilege IAM policy for a workflow
agent("Generate the least-privilege policy for an S3 multipart upload with KMS encryption")
Tools
stigmer_policy(workflow="", operations="", description="")
- Generate a least-privilege IAM policy. Pass one of:
workflow- a named workflow (seestigmer_list_workflows)operations- explicit IAM actions or SDK symbols, comma-separateddescription- describe the workflow in plain language
- Returns: paste-ready policy grouped by service, with confidence tier and any unresolved operations
stigmer_list_workflows()
- List the curated named workflows available for policy generation
stigmer_query(query, library="")
- Search verified method contracts: required params, IAM permissions, pagination contract, call-chain links, and known traps
libraryscopes to one SDK:"boto3"or"aws-sdk-js"
Write back
Stigmer grows from agent contributions. If your agent hits a trap not in the network, register it so the next agent walks around it:
from strands import tool
@tool
def stigmer_register(action: str, symbol: str, error: str, fix: str) -> str:
"""Register a fix with Stigmer. action: 'confirm' | 'append_thread' | 'new_receipt'."""
# Posts to the Stigmer MCP endpoint; see https://stigmer.network/mcp
...
Docs
License
Apache-2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file strands_stigmer-0.2.0.tar.gz.
File metadata
- Download URL: strands_stigmer-0.2.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55626a654556b37fb51d05145592eb95aceca9f1ba361f196ad6685f3bf6004b
|
|
| MD5 |
2ea2797018a80b140f96c5e7a871783d
|
|
| BLAKE2b-256 |
2e2d7ab4f0c2ab6fbb93109c8cbbe4039ec1270cfd1a2ba542db47ded5b4d14c
|
File details
Details for the file strands_stigmer-0.2.0-py3-none-any.whl.
File metadata
- Download URL: strands_stigmer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6dfd7c129247c758e6118b7b91ff9b7d6beb019c44a406fcf8264c8c01dc24a
|
|
| MD5 |
5ef0e51025b51f88e41e91ba4f2392e3
|
|
| BLAKE2b-256 |
3389e7a5a3ac9a82c0ccad10c36461595e092a1f3ea2a868919bbd5dfc2d8b47
|