Dria Search Agent replies queries with scientifically grounded answers with a multi-agent system.
DRIA Searching Agent is an AI-powered tool that answers your questions by selecting the most relevant agent from a pool of agents with different backstories. The selected agent searches the internet, reads articles and websites, and provides a detailed response to your query.
- Python 3.12 or 3.13
- Poetry
- Docker
- Install Poetry:
curl -sSL https://install.python-poetry.org | python3 -
- Clone the repository:
git clone git@github.com:firstbatchxyz/dria-searching-agent.git cd dria-searching-agent
- Install dependencies using Poetry:
poetry install
To run the app with poetry, first start the Qdrand and Browserless services using docker-compose
docker-compose up -d
Then run the application using Poetry in one of three modes:
poetry run search
poetry run search_v2 # with manager
poetry run server # server mode
Which compiles three different versions of the program.
This command sets up a virtual environment specific to the project and executes the app
script or module specified in the pyproject.toml
under [tool.poetry.scripts]
.
Project can be run in a server mode with the following docker compose profile
docker-compose --profile server up
Which sets up Qdrant, Browserless and agent services
After the services are ready, agent server will be listening on port 5000, example request body:
{
"query":"How does Google Maps detects traffic?",
"with_manager": true
}
- Ask a question or provide a query.
- The DRIA Searching Agent will select the most relevant agent from its pool based on the question.
- The selected agent will search the internet, read articles, and gather information to provide a detailed response.
- The agent will present the answer to your question, along with the sources used to compile the response.
- Run tests with Poetry using a command like
poetry run pytest
. - Update Python dependencies using
poetry update
.