Skip to main content

Advanced Tool Use for Factory.ai Droid CLI

Research and implementation of advanced tool use patterns to enhance Factory.ai Droid CLI capabilities.

Goal

Implement cutting-edge tool use patterns from Anthropic and Cloudflare research to make Droid CLI more efficient, capable of handling larger tool libraries, and better at complex multi-step workflows.

Key Concepts

Pattern Description Benefit
Code Mode Have Claude write code to call tools instead of direct tool calling LLMs handle complex tools better as code APIs
Tool Search Tool Dynamic tool discovery with semantic search 85-90% reduction in context usage
Programmatic Tool Calling Execute tools from code in sandbox Filter results before context, reduce latency
Tool Use Examples Provide input_examples for better patterns Improved tool usage accuracy
Code Execution with MCP Present MCP servers as code APIs Unlimited tool libraries, efficient orchestration

Research References

Cookbooks

Status

Phase: Research & Goal Definition

Metadata

Release files for tool-search 0.1.2

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

Source distribution (sdist)

Source distribution for tool-search 0.1.2
File Size Uploaded Provenance Actions
tool_search-0.1.2.tar.gz 23.0 kB Without provenance Details for tool_search-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tool-search 0.1.2
File Interpreter ABI Platform Actions
tool_search-0.1.2-py3-none-any.whl Python 3 none any Details for tool_search-0.1.2-py3-none-any.whl

Total release size: 52.9 kB

Release files / tool_search-0.1.2.tar.gz

Download URL tool_search-0.1.2.tar.gz
Size 23.0 kB
Tags Source
SHA-256 checksum
How to use checksums
30ea23d196b3fcc17692f42aa1894f58dae59f2c8765603c54e4ce637ca2e7a5
BLAKE2b-256 checksum
How to use checksums
151067668d8492c233418fb3882d3b6b8df03181ed8be07d6e8b91918efc1ffc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

Release files / tool_search-0.1.2-py3-none-any.whl

Download URL tool_search-0.1.2-py3-none-any.whl
Size 29.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08d6f9935399b14ac98683eecc93f588b3a032c648ada2fd0dd65eac0798703b
BLAKE2b-256 checksum
How to use checksums
5e2ceeb2f980c2f8345efcb9cdc2a63aa1c035e336d2aab8ae36b70c1bd03380
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

Security for tool-search 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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