You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.1 KiB
1.1 KiB
Realtor Agent Example
This example demonstrates how to create an AI-powered rental property specialist using the Swarms framework and the Realtor API.
Quick Start
- Install dependencies:
pip install swarms
- Get your Realtor API key:
- Visit Realtor Search API
- Sign up for RapidAPI
- Subscribe to the API
- Copy your API key
- Update the API key in
realtor_agent.py
:
headers = {
"x-rapidapi-key": "YOUR_API_KEY_HERE",
"x-rapidapi-host": "realtor-search.p.rapidapi.com",
}
- Run the example:
from realtor_agent import agent
# Search single location
response = agent.run(
"What are the best properties in Menlo Park for rent under $3,000?"
f"Data: {get_realtor_data_from_one_source('Menlo Park, CA')}"
)
print(response)
Features
- Property search across multiple locations
- Detailed property analysis
- Location assessment
- Financial analysis
- Tenant matching recommendations
For full documentation, see docs/examples/realtor_agent.md.