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
Release files for agentsdk-ayush2 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agentsdk_ayush2-0.1.4.tar.gz | 14.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agentsdk_ayush2-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.1 kB
Release files / agentsdk_ayush2-0.1.4.tar.gz
| Download URL | agentsdk_ayush2-0.1.4.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b12db24cb47acf356fe7f3e6a92787901dd4488c340c082d59f47bb157be23a
|
|
BLAKE2b-256 checksum How to use checksums |
073a09b92f0145e7260b188bd430b6ebb3b3fa3cc059e09338182130ec1f7d92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.4
|
Release files / agentsdk_ayush2-0.1.4-py3-none-any.whl
| Download URL | agentsdk_ayush2-0.1.4-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f05de979f32faa81d4c2b2a95d1c43a1efbee1d43c184a4e799e9748b15c1af8
|
|
BLAKE2b-256 checksum How to use checksums |
5677ff8acb05f8f3ccfab5d27f20e00f7cb6da68e795137f95f489726b62b251
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.4
|