CrewAI integration for AgentPhone — telephony tools for AI agents
Project description
crewai-agentphone
CrewAI integration for AgentPhone — telephony tools that let AI agents send SMS messages, make phone calls, and manage phone numbers.
Installation
pip install crewai-agentphone
Setup
Get your API key from agentphone.to and set it as an environment variable:
export AGENTPHONE_API_KEY="your-api-key"
Quick Start
Use all tools with an agent
from crewai import Agent
from crewai_agentphone import AgentPhoneToolkit
toolkit = AgentPhoneToolkit()
agent = Agent(
role="Sales Caller",
goal="Call leads and send follow-up texts",
tools=toolkit.get_tools(),
)
Use specific tools
from crewai_agentphone import AgentPhoneToolkit
toolkit = AgentPhoneToolkit(selected_tools=["send_sms", "make_call"])
tools = toolkit.get_tools()
Use individual tools
from crewai_agentphone import AgentPhoneSendSMS
tool = AgentPhoneSendSMS()
result = tool.run(
number_id="num_abc123",
to_number="+14155551234",
body="Hello from CrewAI!"
)
Full crew example
from crewai import Agent, Task, Crew
from crewai_agentphone import AgentPhoneToolkit
toolkit = AgentPhoneToolkit()
caller = Agent(
role="Outbound Caller",
goal="Call leads to schedule demos",
backstory="You are a friendly sales rep who calls prospects to schedule product demos.",
tools=toolkit.get_tools(),
)
task = Task(
description="Call +14155551234 and schedule a demo for next week",
expected_output="Call transcript and confirmation of scheduled demo",
agent=caller,
)
crew = Crew(agents=[caller], tasks=[task])
result = crew.kickoff()
Available Tools
| Tool | Name | Description |
|---|---|---|
AgentPhoneSendSMS |
agentphone_send_sms |
Send an SMS message |
AgentPhoneMakeCall |
agentphone_make_call |
Make an AI-powered outbound call |
AgentPhoneGetTranscript |
agentphone_get_transcript |
Get a call transcript |
AgentPhoneListCalls |
agentphone_list_calls |
List phone calls |
AgentPhoneListConversations |
agentphone_list_conversations |
List SMS conversations |
AgentPhoneGetConversation |
agentphone_get_conversation |
Get conversation with messages |
AgentPhoneBuyNumber |
agentphone_buy_number |
Buy a phone number |
AgentPhoneListNumbers |
agentphone_list_numbers |
List phone numbers |
AgentPhoneCreateAgent |
agentphone_create_agent |
Create an AI phone agent |
AgentPhoneListAgents |
agentphone_list_agents |
List AI phone agents |
AgentPhoneCreateContact |
agentphone_create_contact |
Create a contact |
AgentPhoneListContacts |
agentphone_list_contacts |
List contacts |
API Reference
See the AgentPhone documentation for full API details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crewai_agentphone-0.1.0.tar.gz.
File metadata
- Download URL: crewai_agentphone-0.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02d84bf5967ce4e2ceb6d4fa7c65b67db0cd556d3a24dcdfcf9cdc765c734c4b
|
|
| MD5 |
c212f644194357cdacd659aff76be4e2
|
|
| BLAKE2b-256 |
2480b979cb6956a37ea248694e390e35b8309ea865a3a6a4aa381db12767db59
|
File details
Details for the file crewai_agentphone-0.1.0-py3-none-any.whl.
File metadata
- Download URL: crewai_agentphone-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0c0199e2eeda96c67f34844923e79dcf0b1c7a957378cfa2d1b9fc17d147258
|
|
| MD5 |
bd187e9083e5c3cf29536adb9a759fea
|
|
| BLAKE2b-256 |
622f972a5801980c6d4f3476315b97766ad4e944a2dbd8ecc4be393ae409c46b
|