Skip to main content

ATP Logo

What is Agent Tool Protocol (ATP)?

Agent Tool Protocol (ATP) is a platform that enables you to register, expose, and serve your own functions as tools via the ChatATP platform. It supports:
  • Secure OAuth2 flows for third-party integrations
  • Dynamic tool registration with metadata
  • Real-time tool invocation via WebSocket or https
  • LLM integration with OpenAI, Anthropic, and Mistral AI
  • Framework support for Django, FastAPI, and Flask

How ATP Works

ATP enables any LLM to call your custom Python functions through a shared context protocol.
  • LLM: OpenAI, Anthropic, or Mistral AI models that generate tool calls
  • ATP Server: The orchestrator that routes tool requests
  • ToolKit: Your custom package of capabilities using the ATP SDK
  • Tools: Python functions exposed with the @register_tool decorator
  • LLM Client: The client that sends tool calls to your toolkits
  • ToolKit Client: The client that registers and serves your tools

Installation

pip install AgentToolProtocol

Quick Start

Build Tools with ToolKitClient

Register Python functions as tools and serve them via WebSocket

Connect LLMs with LLMClient

Integrate OpenAI, Anthropic, or Mistral AI with your toolkits

Key Features

ToolKitClient

Register and serve Python functions as tools

LLMClient

Connect LLMs to your toolkits and execute tool calls

OAuth2 Integration

Secure authentication with HubSpot, Google, Salesforce, and more

Framework Integration

Use ATP with Django, FastAPI, or Flask

Use Cases

API Integration Tools

Wrap third-party APIs (HubSpot, Salesforce, etc.) as LLM tools

Local Tools

Access local files, databases, and scripts through ATP

Multi-Step Workflows

Chain multiple tool calls for complex tasks

Custom Integrations

Build custom tools for your specific use case

Supported LLM Providers

ChatATP works seamlessly with:
  • OpenAI (GPT-4, GPT-3.5, etc.)
  • Anthropic (Claude 3 Opus, Sonnet, Haiku)
  • Mistral AI (Mistral Large, Medium, Small)

Feedback & Support


License

MIT License. See LICENSE for details.