Skip to main content

Add your description here

Project description

This repository contains agents (negotiators) submitted to the ANL league of the ANAC Competition

To install this package just run:

pip install anl-agents

There are two ways to submit agents to this repository:

  1. Participate in the ANAC competition https://anac.cs.brown.edu/anl
  2. Submit a pull-request with your agent added to the contrib directory.

Getting lists of agents

You can get any specific subset of the agents in the library using get_agents(). This function has the following parameters:

  • version: Either a competition year (2024, ...) or the value "contrib" for all other agents. You can also pass "all" or "any" to get all agents.
  • track: The track (advantage, utility, welfare, nash, kalai, kalai-smorodinsky)
  • qualified_only: If true, only agents that were submitted to ANL and ran in the qualifications round will be returned.
  • finalists_only: If true, only agents that were submitted to ANL and passed qualifications will be returned.
  • winners_only: If true, only winners of ANL (the given version) will be returned.
  • top_only: Either a fraction of finalists or the top n finalists with highest scores in the finals of ANL.
  • as_class: If true, the agent classes will be returned otherwise their full class names.

For example, to get the top 10% of the "advantage" track finalists in year 2024 as strings, you can use:

get_agents(version=2024, track="advantage", finalists_only=True, top_only=0.1, as_class=False)

Winners of the ANL 2024 Competition

Advantage Track

  • First Place: Shochan
  • Second Place: UOAgent
  • Third Place: AgentRenting2024

You can get these agents after installing anl-agents by running:

get_agents(2024, track="advantage", winners_only=True)

Nash Track

  • First Place: Shochan

You can get this agent after installing anl-agents by running:

get_agents(2024, track="nash", winners_only=True)

Installation Note

If you are on Apple M1, you will need to install tensorflow before installing this package on conda using the method described here

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anl_agents-0.1.1.tar.gz (105.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anl_agents-0.1.1-py3-none-any.whl (155.3 kB view details)

Uploaded Python 3

File details

Details for the file anl_agents-0.1.1.tar.gz.

File metadata

  • Download URL: anl_agents-0.1.1.tar.gz
  • Upload date:
  • Size: 105.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.8

File hashes

Hashes for anl_agents-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5ab9c1044df3be6b1172145efe04107474fa9f42dc664109d401f702ca661990
MD5 e54a4b391e5ea3d6728f10bcb77beb98
BLAKE2b-256 e115b66421c175c73604d5c9cfce2b2222598cf439d754840c97dcd67c6f9c64

See more details on using hashes here.

File details

Details for the file anl_agents-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: anl_agents-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 155.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.8

File hashes

Hashes for anl_agents-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a0bf60970643887296c96eba8fde7c23f447cd4fb209c16499b2e65a371ba80e
MD5 e74504338cc6e0579385fd7d982d1768
BLAKE2b-256 4227750404b80edd812d49386acc39cb2a549de07932a613ea295fa80d310d27

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page