Skip to main content

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-ayush 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentsdk-ayush 0.1.0
File Size Uploaded
agentsdk_ayush-0.1.0.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agentsdk-ayush 0.1.0
File Interpreter ABI Platform
agentsdk_ayush-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.8 kB

Release files / agentsdk_ayush-0.1.0.tar.gz

Download URL agentsdk_ayush-0.1.0.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e37a1f7faf44b3222abdb6dd0fc476b86ce92c1859fce69172328cbffda9b5fa
BLAKE2b-256 checksum
How to use checksums
6953c1fe42c83cb693cdfcf0c6e5ba02cb183ebd027d5af485dba35a7c607cba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / agentsdk_ayush-0.1.0-py3-none-any.whl

Download URL agentsdk_ayush-0.1.0-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
551dba86b9247eac9a810f229fed91d21b073af118e9196e03c21e5f7e72c757
BLAKE2b-256 checksum
How to use checksums
b41e448c3e05f77849ebf490bfe883a639a219ae98e1e375f52c8df0629829f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page