Multi-agent SDK with Bedrock, ReAct, parallel sub-agents
Project description
AgentSDK
A Python SDK for building multi-agent systems with Bedrock-backed LLMs, ReAct tool-use, and parallel sub-agent orchestration.
Install
pip install agentsdk
Quickstart
from agentsdk import (
BedrockClient, SessionManager, ToolRegistry, Agent,
OrchestratorAgent, load_sub_agents_from_dir,
FileSystemTool, ShellTool, WebFetchTool,
)
bedrock = BedrockClient(model_id="openai.gpt-oss-120b-1:0", region_name="us-west-2")
sessions = SessionManager()
registry = ToolRegistry()
registry.register(FileSystemTool(root="."))
registry.register(ShellTool(root="."))
registry.register(WebFetchTool())
def on_thought(agent, kind, text):
print(f"[{agent}][{kind}] {text[:160]}")
default = Agent(
name="default", bedrock=bedrock, registry=registry,
sessions=sessions, system_prompt="You are a helpful coding assistant.",
on_thought=on_thought,
)
subs = load_sub_agents_from_dir(".agents", base_agent=default)
orch = OrchestratorAgent(
planner=default, sub_agents=subs, sessions=sessions,
)
print(orch.run(session_id="sess1", query="Audit repo for secrets and summarize."))
CLI
agentsdk run --agents-dir .agents --show-thoughts --query "Your task"
License
Apache-2.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
agentsdk_ayush2-0.1.0.tar.gz
(13.3 kB
view details)
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 agentsdk_ayush2-0.1.0.tar.gz.
File metadata
- Download URL: agentsdk_ayush2-0.1.0.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3692bbe95c8c18ffd9ff4bcfd5f78fb8bf3c1100e2763f7f83ce47c504c7fcb1
|
|
| MD5 |
39c5f9432899dda79c12333b198e0b8f
|
|
| BLAKE2b-256 |
22e2cdda86cdb14d32d05d68fded22ab6cc01880ce8d0f28b54e2c6fd4e9fb86
|
File details
Details for the file agentsdk_ayush2-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentsdk_ayush2-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a13e5d5cb1fb9bc3e3dc7b6afb7ea8ec0307c2e2b02a0d5b8ce75aff17de0ef
|
|
| MD5 |
0fa21ca74bedeb21aed969dbddecaa59
|
|
| BLAKE2b-256 |
8d9a6688354eddfe4ac2d32bc15b1d100c7898f3803ea99a3f9617f93c96beb7
|