# Airas Agent

{% embed url="<https://www.youtube.com/watch?v=xItfyp42f2E>" %}
Airas Agent booking a flight from Toronto to Dubai by autonomously browsing the web
{% endembed %}

### Overview

Airas Agent is our AI-driven automation tool that interacts with websites, performs complex tasks, and even handles multi-step processes. Built with a focus on real-world assets (RWA), it’s ideal for gathering data on tokenized real estate, monitoring market trends, or automating repetitive tasks in the DeFi and NFT space.

### Key Features

* **AI-Enhanced Navigation**\
  Interprets page layouts and elements using AI vision, so it can handle even dynamic or complex UIs.
* **Multiple AI Providers**\
  Switch between OpenAI or Ollama for different performance or cost needs.
* **Autonomous Workflow**\
  Give it a goal (e.g., “Find the latest tokenized property listings”) and watch it plan and execute the steps.
* **Browser-Based Automation**\
  Uses Playwright under the hood for stable, reliable multi-tab handling.

### Installation

```
git clone https://github.com/airas-network/airas-agent.git
cd airas-agent
npm install
cp .env.example .env
```

Update your .env file with your preferred AI provider and credentials.

### Configuration

```
AI_PROVIDER=openai
OPENAI_API_KEY=YOUR_API_KEY
OPENAI_MODEL=gpt-4o-mini
# For Ollama
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_MODEL=llama3.1
```

Use timeouts, logging, and screenshot options to suit your workflow.

### Usage

1. **Start the Agent**\
   Run:\
   npm run dev\
   Then open <http://localhost:3000> in your browser.
2. **Set a Goal**\
   For example: “Monitor real estate listings and find anything under $500k.”
3. **Observe Automation**\
   Watch Airas Agent open new tabs, click through listings, and gather data.

### Use Cases

* **Real Estate Scouting**\
  Automate scanning of multiple listing sites for undervalued properties.
* **DeFi Tasks**\
  Farm yields or claim rewards across various protocols.
* **NFT Market Analysis**\
  Compare prices, traits, or trading volumes on multiple marketplaces.
* **Compliance Checks**\
  Scrape KYC/AML data across relevant platforms.

### Best Practices

* **Set Clear Goals**\
  The more specific your instructions, the better the results.
* **Use Logging**\
  Enable logs to debug or optimize workflows.
* **Stay Updated**\
  Pull the latest changes from GitHub for new features and improvements.

### Next Steps

* Integrate with **Airas Cloud** to handle large-scale data scraping.
* Use **Airas Assistant** to interpret findings and generate insights.
* Explore advanced custom actions for specialized real-world asset workflows.

### Check out GitHub

Check out Airas Agent on GitHub: <https://github.com/airas-network/airas-agent>
