Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1791796
fix: apply workflow sync fix to public branch
zealoushacker Nov 4, 2025
87079ed
feat: add programmatic tool calling demonstration
PedramNavid Nov 15, 2025
6a6d94d
feat: add rich and python-dotenv dependencies
PedramNavid Nov 18, 2025
da280d0
Migrate PTC example to use team expense API
PedramNavid Nov 19, 2025
d6179fa
Add crop tool notebook for FigureQA chart analysis
nadine-anthropic Nov 20, 2025
4198e6d
Update PTC example with sequential calling
PedramNavid Nov 21, 2025
33f45d1
refactor: simplify beta flags in tool use example
PedramNavid Nov 21, 2025
d1a8fa1
Add Claude Agent SDK example and improve notebook
nadine-anthropic Nov 21, 2025
35aab71
docs: update notebook output and refactor variable names
PedramNavid Nov 21, 2025
1577be9
Add cookbook demonstrating tool search tool with client side implemen…
henrykeetay Oct 17, 2025
8c11a43
update
henrykeetay Nov 17, 2025
f3eb62d
Merge pull request #22 from anthropics/update-memory-cookbook-context…
zealoushacker Nov 21, 2025
8af4ca7
Fix yes/no distribution counting in crop tool notebook
nadine-anthropic Nov 22, 2025
d9ef1a8
update api call
PedramNavid Nov 24, 2025
7ca3661
update cookbook with new approach
PedramNavid Nov 21, 2025
b509795
address PR comments
PedramNavid Nov 21, 2025
7e64b95
refactor: streamline automatic context compaction notebook
PedramNavid Nov 21, 2025
924de69
docs: clean up notebook cell output
PedramNavid Nov 21, 2025
99dea6c
remove unused viz improt
PedramNavid Nov 21, 2025
f83fe51
add non-agentic example
PedramNavid Nov 21, 2025
b401e57
address pr comments
PedramNavid Nov 24, 2025
774b177
fix lint
PedramNavid Nov 24, 2025
634ae9b
full run
PedramNavid Nov 24, 2025
df2dbc7
Simplify crop tool notebook
cal-anthropic Nov 24, 2025
2391d3e
Updates requirements to prevent dependency errors
zealoushacker Nov 24, 2025
156458a
Merge branch 'public'
zealoushacker Nov 24, 2025
4f95b05
Merge branch 'pdrm/ptc' into zh/adds-all-cookbooks
zealoushacker Nov 24, 2025
b058122
Merge branch 'henry/10-16-tool-search-tool-cookbook' into zh/adds-all…
zealoushacker Nov 24, 2025
2910c87
Merge branch 'pdrm/acc' into zh/adds-all-cookbooks
zealoushacker Nov 24, 2025
d2b45b6
Merge branch 'nadine/crop-tool' into zh/adds-all-cookbooks
zealoushacker Nov 24, 2025
a0b47a0
Merge changes from public/main into zh/adds-all-cookbooks
zealoushacker Nov 24, 2025
7fd2ac6
Merge pull request #302 from anthropics/zh/adds-all-cookbooks
zealoushacker Nov 24, 2025
bedc03b
Add tool search cookbook (#301)
henrykeetay Nov 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
771 changes: 771 additions & 0 deletions multimodal/crop_tool.ipynb

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ dependencies = [
"numpy>=2.3.4",
"pandas>=2.3.3",
"jupyter>=1.1.1",
"rich>=14.2.0",
"python-dotenv>=1.2.1",
"voyageai>=0.3.5",
]

[tool.uv.sources]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
Expand Down Expand Up @@ -41,7 +41,11 @@ indent-style = "space"
line-ending = "auto"

[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP", "S", "B"]
ignore = [
"E501", # line too long
"S101", # assert used (ok in tests)
"S311", # pseudo-random generators ok for non-crypto
"N806", # variable in function should be lowercase (allow for API responses)
]

Expand Down
Empty file added tool_use/__init__.py
Empty file.
1,242 changes: 1,242 additions & 0 deletions tool_use/automatic-context-compaction.ipynb

Large diffs are not rendered by default.

1,831 changes: 1,831 additions & 0 deletions tool_use/ptc.ipynb

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion tool_use/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
anthropic>=0.18.0
python-dotenv>=1.0.0
ipykernel>=6.29.0 # For Jupyter in VSCode
ipykernel>=6.29.0 # For Jupyter in VSCode
rich>=13.0.0
pandas>=2.0.0
Loading
Loading