Skip to main content

A LangGraph-based agent for tool calling capabilities

Project description

Tool Anywhere Agent

A production-ready LangGraph agent that enables tool calling for any LLM, regardless of native tool support.

Overview

Tool Anywhere Agent provides a clean, efficient way to add tool calling capabilities to any language model. Built on LangGraph's agent architecture, it integrates seamlessly into existing workflows while maintaining optimal performance.

Key Features

Native LangGraph Architecture: Built as a genuine LangGraph agent with proper state management, routing, and tool execution nodes.

Automatic Prompt Engineering: Dynamically generates system prompts based on your tools - no manual prompt crafting required.

Efficient Request Pattern: Uses a direct model→route→tools flow instead of multi-step planning, reducing LLM API calls.

Smart State Management: Automatically tracks completed tool calls to prevent redundant operations.

Custom System Role: You can specify a custom system role to control the agent's behavior and persona by passing.

Custom Output Parser: You can define and use your own Pydantic output parser for structured responses.

Zero Configuration: Works out of the box with any LangChain tools and models.

Installation

pip install tool-anywhere-agent

License

MIT License

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

tool_anywhere_agent-0.0.1.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

tool_anywhere_agent-0.0.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file tool_anywhere_agent-0.0.1.tar.gz.

File metadata

  • Download URL: tool_anywhere_agent-0.0.1.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for tool_anywhere_agent-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d8c8fe86c2018d37dc909221569a7ecdc54cf52e48973e37fc5af89ed84c543a
MD5 5c23b7fdffe8f1ee811ec17ddac68717
BLAKE2b-256 827518e918d0032d863f2f4e816badce2e122066f308226814dac33f7740882a

See more details on using hashes here.

File details

Details for the file tool_anywhere_agent-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tool_anywhere_agent-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1615e6a8ea690c402160dc53a9a67e47da1e34a7a6a6742144c263256cd846f4
MD5 67a02c3358790d2ab12a568810e722d4
BLAKE2b-256 014da8431cf29dda2d9b731f911dfe133e9d373ed9c46bb5a880c04220e1c150

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