Skip to main content

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.3.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentsdk_ayush2-0.1.3-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file agentsdk_ayush2-0.1.3.tar.gz.

File metadata

  • Download URL: agentsdk_ayush2-0.1.3.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for agentsdk_ayush2-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ad65d0ba36bb744477388cdaff1104fd1ce53c465d55b1aa44673c204332e6a7
MD5 52e2ef361bd7bab70de93535054cf767
BLAKE2b-256 aac0940db3bf68289b3dbea0e00233002bc173748118dfdbb444a3fdd0426e30

See more details on using hashes here.

File details

Details for the file agentsdk_ayush2-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for agentsdk_ayush2-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8fe09a10e1b8f0b438ea98ad3cb600fc226ba711cdeefbc525cf18fcd37ae269
MD5 bc3948fbeb58a453c4cab82b2e93dce7
BLAKE2b-256 a4633759f0845df6e8ccc60edba8babe62713d6c0b6aa19b8e3fe5b653318438

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page