Building AI agents, atomically
Merge branch 'v2.0' into type_parameters
Koichi KAWAMURA569a30ad4c9c
diff --cc atomic-examples/basic-multimodal/poetry.lockindex 5cb4e72,a4a5db1..d8bdb43--- a/atomic-examples/basic-multimodal/poetry.lock+++ b/atomic-examples/basic-multimodal/poetry.lock@@@ -1626,44 -1626,44 +1626,6 @@@ files ={file = "sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"},]--[[package]]--name = "sse-starlette"- version = "2.2.1"-version = "2.3.3"--description = "SSE plugin for Starlette"--optional = false--python-versions = ">=3.9"--groups = ["main"]--files = [- {file = "sse_starlette-2.2.1-py3-none-any.whl", hash = "sha256:6410a3d3ba0c89e7675d4c273a301d64649c03a5ef1ca101f10b47f895fd0e99"},- {file = "sse_starlette-2.2.1.tar.gz", hash = "sha256:54470d5f19274aeed6b2d473430b08b4b379ea851d953b11d7f1c4a2c118b419"},- {file = "sse_starlette-2.3.3-py3-none-any.whl", hash = "sha256:8b0a0ced04a329ff7341b01007580dd8cf71331cc21c0ccea677d500618da1e0"},- {file = "sse_starlette-2.3.3.tar.gz", hash = "sha256:fdd47c254aad42907cfd5c5b83e2282be15be6c51197bf1a9b70b8e990522072"},--]----[package.dependencies]--anyio = ">=4.7.0"--starlette = ">=0.41.3"----[package.extras]--examples = ["fastapi"]--uvicorn = ["uvicorn (>=0.34.0)"]----[[package]]--name = "starlette"--version = "0.46.2"--description = "The little ASGI library that shines."--optional = false--python-versions = ">=3.9"--groups = ["main"]--files = [-- {file = "starlette-0.46.2-py3-none-any.whl", hash = "sha256:595633ce89f8ffa71a015caed34a5b2dc1c0cdb3f0f1fbd1e69339cf2abeec35"},-- {file = "starlette-0.46.2.tar.gz", hash = "sha256:7f7361f34eed179294600af672f565727419830b54b7b084efe44bb82d2fccd5"},--]----[package.dependencies]--anyio = ">=3.6.2,<5"----[package.extras]--full = ["httpx (>=0.27.0,<0.29.0)", "itsdangerous", "jinja2", "python-multipart (>=0.0.18)", "pyyaml"]--[[package]]name = "tenacity"version = "9.0.0"@@@ -1817,25 -1817,25 +1779,6 @@@ h2 = ["h2 (>=4,<5)"socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"]zstd = ["zstandard (>=0.18.0)"]--[[package]]--name = "uvicorn"--version = "0.34.2"--description = "The lightning-fast ASGI server."--optional = false--python-versions = ">=3.9"--groups = ["main"]--files = [-- {file = "uvicorn-0.34.2-py3-none-any.whl", hash = "sha256:deb49af569084536d269fe0a6d67e3754f104cf03aba7c11c40f01aadf33c403"},-- {file = "uvicorn-0.34.2.tar.gz", hash = "sha256:0e929828f6186353a80b58ea719861d2629d766293b6d19baf086ba31d4f3328"},--]----[package.dependencies]--click = ">=7.0"--h11 = ">=0.8"----[package.extras]- standard = ["colorama (>=0.4) ; sys_platform == \"win32\"", "httptools (>=0.6.3)", "python-dotenv (>=0.13)", "pyyaml (>=5.1)", "uvloop (>=0.14.0,!=0.15.0,!=0.15.1) ; sys_platform != \"win32\" and sys_platform != \"cygwin\" and platform_python_implementation != \"PyPy\"", "watchfiles (>=0.13)", "websockets (>=10.4)"]-standard = ["colorama (>=0.4)", "httptools (>=0.6.3)", "python-dotenv (>=0.13)", "pyyaml (>=5.1)", "uvloop (>=0.14.0,!=0.15.0,!=0.15.1)", "watchfiles (>=0.13)", "websockets (>=10.4)"]--[[package]]name = "yarl"version = "1.18.3"diff --cc atomic-examples/deep-research/poetry.lockindex bfe993c,ef2ba9d..23e1a7b--- a/atomic-examples/deep-research/poetry.lock+++ b/atomic-examples/deep-research/poetry.lock@@@ -160,7 -160,7 +160,7 @@@ trio = ["trio (>=0.26.1)"[[package]]name = "atomic-agents"- version = "1.0.26"-version = "1.1.0"++version = "1.0.16"description = "A versatile framework for creating and managing intelligent agents."optional = falsepython-versions = ">=3.12,<4.0"@@@ -2069,37 -1905,21 +2173,6 @@@ files ={file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"},]- [[package]]- name = "tzdata"- version = "2025.2"- description = "Provider of IANA time zone data"- optional = false- python-versions = ">=2"- groups = ["main"]- markers = "platform_system == \"Windows\""- files = [- {file = "tzdata-2025.2-py2.py3-none-any.whl", hash = "sha256:1a403fada01ff9221ca8044d701868fa132215d84beb92242d9acd2147f667a8"},- {file = "tzdata-2025.2.tar.gz", hash = "sha256:b60a638fcc0daffadf82fe0f57e53d06bdec2f36c4df66280ae79bce6bd6f2b9"},- ]---[[package]]- name = "tzlocal"- version = "5.3.1"- description = "tzinfo object for the local timezone"-name = "typing-inspection"-version = "0.4.0"-description = "Runtime typing introspection tools"--optional = false--python-versions = ">=3.9"--groups = ["main"]--files = [- {file = "tzlocal-5.3.1-py3-none-any.whl", hash = "sha256:eb1a66c3ef5847adf7a834f1be0800581b683b5608e74f86ecbcef8ab91bb85d"},- {file = "tzlocal-5.3.1.tar.gz", hash = "sha256:cceffc7edecefea1f595541dbd6e990cb1ea3d19bf01b2809f362a03dd7921fd"},- {file = "typing_inspection-0.4.0-py3-none-any.whl", hash = "sha256:50e72559fcd2a6367a19f7a7e610e6afcb9fac940c650290eed893d61386832f"},- {file = "typing_inspection-0.4.0.tar.gz", hash = "sha256:9765c87de36671694a67904bf2c96e395be9c6439bb6c87b5142569dcdd65122"},--]----[package.dependencies]- tzdata = {version = "*", markers = "platform_system == \"Windows\""}-- [package.extras]- devenv = ["check-manifest", "pytest (>=4.3)", "pytest-cov", "pytest-mock (>=3.3)", "zest.releaser"]-typing-extensions = ">=4.12.0"--[[package]]name = "uc-micro-py"version = "1.0.3"@@@ -2232,5 -2071,5 +2324,5 @@@ propcache = ">=0.2.0[metadata]lock-version = "2.1"--python-versions = ">=3.12,<4.0"- content-hash = "b22ee4c1dccfd4866fb4a28c565790ecb8f78cb00a85692a189dc6ac0c591e17"-content-hash = "2a9556c6759fd38904ec06fca3b7455b04b520d8a28f1d2d177043146db9a26f"++python-versions = "^3.11"++content-hash = "607c2bbc0001117884749bc7dbfb468be318090b45daff5d6caee92233a4d43e"diff --cc atomic-examples/orchestration-agent/poetry.lockindex 48d118c,2a00645..1243bd8--- a/atomic-examples/orchestration-agent/poetry.lock+++ b/atomic-examples/orchestration-agent/poetry.lock@@@ -174,7 -174,7 +174,7 @@@ trio = ["trio (>=0.26.1)"[[package]]name = "atomic-agents"- version = "1.0.26"-version = "1.1.0"++version = "1.0.16"description = "A versatile framework for creating and managing intelligent agents."optional = falsepython-versions = ">=3.12,<4.0"diff --cc atomic-examples/quickstart/poetry.lockindex e3a6bef,8aa60ea..74a125c--- a/atomic-examples/quickstart/poetry.lock+++ b/atomic-examples/quickstart/poetry.lock@@@ -199,7 -199,7 +199,7 @@@ trio = ["trio (>=0.26.1)"[[package]]name = "atomic-agents"- version = "1.0.26"-version = "1.1.0"++version = "1.0.16"description = "A versatile framework for creating and managing intelligent agents."optional = falsepython-versions = ">=3.12,<4.0"diff --cc atomic-examples/rag-chatbot/poetry.lockindex 1bd728e,26dd4b5..4ac54a2--- a/atomic-examples/rag-chatbot/poetry.lock+++ b/atomic-examples/rag-chatbot/poetry.lock@@@ -155,8 -160,8 +160,10 @@@ sniffio = ">=1.1typing_extensions = {version = ">=4.5", markers = "python_version < \"3.13\""}[package.extras]+doc = ["Sphinx (>=7.4,<8.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx_rtd_theme"]+test = ["anyio[trio]", "coverage[toml] (>=7)", "exceptiongroup (>=1.2.0)", "hypothesis (>=4.0)", "psutil (>=5.9)", "pytest (>=7.0)", "trustme", "truststore (>=0.9.1) ; python_version >= \"3.10\"", "uvloop (>=0.21) ; platform_python_implementation == \"CPython\" and platform_system != \"Windows\" and python_version < \"3.14\""]+ doc = ["Sphinx (>=8.2,<9.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx_rtd_theme"]+ test = ["anyio[trio]", "blockbuster (>=1.5.23)", "coverage[toml] (>=7)", "exceptiongroup (>=1.2.0)", "hypothesis (>=4.0)", "psutil (>=5.9)", "pytest (>=7.0)", "trustme", "truststore (>=0.9.1)", "uvloop (>=0.21)"]trio = ["trio (>=0.26.1)"][[package]]@@@ -176,10 -181,10 +183,12 @@@ tests = ["mypy (>=0.800)", "pytest", "p[[package]]name = "atomic-agents"+version = "1.0.26"+ version = "1.1.0"description = "A versatile framework for creating and managing intelligent agents."optional = falsepython-versions = ">=3.12,<4.0"++python-versions = ">=3.12,<4.0"groups = ["main"]files = []develop = true@@@ -1137,7 -1192,7 +1196,7 @@@ cover = ["pytest-cov"doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"]enabler = ["pytest-enabler (>=2.2)"]perf = ["ipython"]- test = ["flufl.flake8", "importlib-resources (>=1.3) ; python_version < \"3.9\"", "jaraco.test (>=5.4)", "packaging", "pyfakefs", "pytest (>=6,!=8.1.*)", "pytest-perf (>=0.9.2)"]-test = ["flufl.flake8", "importlib_resources (>=1.3)", "jaraco.test (>=5.4)", "packaging", "pyfakefs", "pytest (>=6,!=8.1.*)", "pytest-perf (>=0.9.2)"]++test = ["flufl.flake8", "importlib-resources (>=1.3)", "jaraco.test (>=5.4)", "packaging", "pyfakefs", "pytest (>=6,!=8.1.*)", "pytest-perf (>=0.9.2)"]type = ["pytest-mypy"][[package]]@@@ -3440,5 -3647,5 +3651,5 @@@ type = ["pytest-mypy"[metadata]lock-version = "2.1"--python-versions = ">=3.12,<4.0"- content-hash = "6b59574c818689badc3ffa14a822d2cb163fce2244b3d4b8a271c2ae15ef38bf"-content-hash = "6d4f9594197d06bbbcd8aa7a0d9fc3c6640b7414b8e6e9d7556af361b7a1ccfa"++python-versions = ">=3.11,<4.0"++content-hash = "0cf223a73e6bed8c399a54f21ae377ad116e61b2201319a9fe32641c52e96f88"diff --cc atomic-examples/web-search-agent/poetry.lockindex ebdaa21,a626e08..6fd4ed9--- a/atomic-examples/web-search-agent/poetry.lock+++ b/atomic-examples/web-search-agent/poetry.lock@@@ -174,7 -174,7 +174,7 @@@ trio = ["trio (>=0.26.1)"[[package]]name = "atomic-agents"- version = "1.0.26"-version = "1.1.0"++version = "1.0.16"description = "A versatile framework for creating and managing intelligent agents."optional = falsepython-versions = ">=3.12,<4.0"diff --cc atomic-examples/youtube-summarizer/poetry.lockindex 0ce46e9,7b4e46e..93c67c9--- a/atomic-examples/youtube-summarizer/poetry.lock+++ b/atomic-examples/youtube-summarizer/poetry.lock@@@ -174,7 -174,7 +174,7 @@@ trio = ["trio (>=0.26.1)"[[package]]name = "atomic-agents"- version = "1.0.26"-version = "1.1.0"++version = "1.0.16"description = "A versatile framework for creating and managing intelligent agents."optional = falsepython-versions = ">=3.12,<4.0"diff --cc poetry.lockindex 2195a5d,fdeb090..e48954e--- a/poetry.lock+++ b/poetry.lock@@@ -2264,8 -2264,8 +2264,51 @@@ rich = ">=13.3.3typing-extensions = ">=4.4.0,<5.0.0"[package.extras]- syntax = ["tree-sitter (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-bash (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-css (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-go (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-html (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-java (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-javascript (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-json (>=0.24.0) ; python_version >= \"3.9\"", "tree-sitter-markdown (>=0.3.0) ; python_version >= \"3.9\"", "tree-sitter-python (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-regex (>=0.24.0) ; python_version >= \"3.9\"", "tree-sitter-rust (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-sql (>=0.3.0) ; python_version >= \"3.9\"", "tree-sitter-toml (>=0.6.0) ; python_version >= \"3.9\"", "tree-sitter-xml (>=0.7.0) ; python_version >= \"3.9\"", "tree-sitter-yaml (>=0.6.0) ; python_version >= \"3.9\""]+ syntax = ["tree-sitter (>=0.23.0)", "tree-sitter-bash (>=0.23.0)", "tree-sitter-css (>=0.23.0)", "tree-sitter-go (>=0.23.0)", "tree-sitter-html (>=0.23.0)", "tree-sitter-java (>=0.23.0)", "tree-sitter-javascript (>=0.23.0)", "tree-sitter-json (>=0.24.0)", "tree-sitter-markdown (>=0.3.0)", "tree-sitter-python (>=0.23.0)", "tree-sitter-regex (>=0.24.0)", "tree-sitter-rust (>=0.23.0)", "tree-sitter-sql (>=0.3.0)", "tree-sitter-toml (>=0.6.0)", "tree-sitter-xml (>=0.7.0)", "tree-sitter-yaml (>=0.6.0)"]+++[[package]]++name = "tomli"++version = "2.2.1"++description = "A lil' TOML parser"++optional = false++python-versions = ">=3.8"++groups = ["dev"]++markers = "python_full_version <= \"3.11.0a6\""++files = [++ {file = "tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249"},++ {file = "tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:023aa114dd824ade0100497eb2318602af309e5a55595f76b626d6d9f3b7b0a6"},++ {file = "tomli-2.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ece47d672db52ac607a3d9599a9d48dcb2f2f735c6c2d1f34130085bb12b112a"},++ {file = "tomli-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6972ca9c9cc9f0acaa56a8ca1ff51e7af152a9f87fb64623e31d5c83700080ee"},++ {file = "tomli-2.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c954d2250168d28797dd4e3ac5cf812a406cd5a92674ee4c8f123c889786aa8e"},++ {file = "tomli-2.2.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:8dd28b3e155b80f4d54beb40a441d366adcfe740969820caf156c019fb5c7ec4"},++ {file = "tomli-2.2.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:e59e304978767a54663af13c07b3d1af22ddee3bb2fb0618ca1593e4f593a106"},++ {file = "tomli-2.2.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:33580bccab0338d00994d7f16f4c4ec25b776af3ffaac1ed74e0b3fc95e885a8"},++ {file = "tomli-2.2.1-cp311-cp311-win32.whl", hash = "sha256:465af0e0875402f1d226519c9904f37254b3045fc5084697cefb9bdde1ff99ff"},++ {file = "tomli-2.2.1-cp311-cp311-win_amd64.whl", hash = "sha256:2d0f2fdd22b02c6d81637a3c95f8cd77f995846af7414c5c4b8d0545afa1bc4b"},++ {file = "tomli-2.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4a8f6e44de52d5e6c657c9fe83b562f5f4256d8ebbfe4ff922c495620a7f6cea"},++ {file = "tomli-2.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8d57ca8095a641b8237d5b079147646153d22552f1c637fd3ba7f4b0b29167a8"},++ {file = "tomli-2.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4e340144ad7ae1533cb897d406382b4b6fede8890a03738ff1683af800d54192"},++ {file = "tomli-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:db2b95f9de79181805df90bedc5a5ab4c165e6ec3fe99f970d0e302f384ad222"},++ {file = "tomli-2.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:40741994320b232529c802f8bc86da4e1aa9f413db394617b9a256ae0f9a7f77"},++ {file = "tomli-2.2.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:400e720fe168c0f8521520190686ef8ef033fb19fc493da09779e592861b78c6"},++ {file = "tomli-2.2.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:02abe224de6ae62c19f090f68da4e27b10af2b93213d36cf44e6e1c5abd19fdd"},++ {file = "tomli-2.2.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b82ebccc8c8a36f2094e969560a1b836758481f3dc360ce9a3277c65f374285e"},++ {file = "tomli-2.2.1-cp312-cp312-win32.whl", hash = "sha256:889f80ef92701b9dbb224e49ec87c645ce5df3fa2cc548664eb8a25e03127a98"},++ {file = "tomli-2.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:7fc04e92e1d624a4a63c76474610238576942d6b8950a2d7f908a340494e67e4"},++ {file = "tomli-2.2.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f4039b9cbc3048b2416cc57ab3bda989a6fcf9b36cf8937f01a6e731b64f80d7"},++ {file = "tomli-2.2.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:286f0ca2ffeeb5b9bd4fcc8d6c330534323ec51b2f52da063b11c502da16f30c"},++ {file = "tomli-2.2.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a92ef1a44547e894e2a17d24e7557a5e85a9e1d0048b0b5e7541f76c5032cb13"},++ {file = "tomli-2.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9316dc65bed1684c9a98ee68759ceaed29d229e985297003e494aa825ebb0281"},++ {file = "tomli-2.2.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e85e99945e688e32d5a35c1ff38ed0b3f41f43fad8df0bdf79f72b2ba7bc5272"},++ {file = "tomli-2.2.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ac065718db92ca818f8d6141b5f66369833d4a80a9d74435a268c52bdfa73140"},++ {file = "tomli-2.2.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:d920f33822747519673ee656a4b6ac33e382eca9d331c87770faa3eef562aeb2"},++ {file = "tomli-2.2.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a198f10c4d1b1375d7687bc25294306e551bf1abfa4eace6650070a5c1ae2744"},++ {file = "tomli-2.2.1-cp313-cp313-win32.whl", hash = "sha256:d3f5614314d758649ab2ab3a62d4f2004c825922f9e370b29416484086b264ec"},++ {file = "tomli-2.2.1-cp313-cp313-win_amd64.whl", hash = "sha256:a38aa0308e754b0e3c67e344754dff64999ff9b513e691d0e786265c93583c69"},++ {file = "tomli-2.2.1-py3-none-any.whl", hash = "sha256:cb55c73c5f4408779d0cf3eef9f762b9c9f147a77de7b258bef0a5628adc85cc"},++ {file = "tomli-2.2.1.tar.gz", hash = "sha256:cd45e1dc79c835ce60f7404ec8119f2eb06d38b1deba146f07ced3bbc44505ff"},++]+[[package]]name = "tqdm"version = "4.67.1"