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 SCML and ran in the qualifications round will be returned.
  • finalists_only: If true, only agents that were submitted to SCML and passed qualifications will be returned.
  • winners_only: If true, only winners of SCML (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 SCML.
  • 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.0.tar.gz (6.6 MB view details)

Uploaded Source

Built Distribution

anl_agents-0.1.0-py3-none-any.whl (6.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anl_agents-0.1.0.tar.gz
  • Upload date:
  • Size: 6.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.7

File hashes

Hashes for anl_agents-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bd33eea929a1b34052e408fc67d35016dbea5680f2a30cec886a5727793db23b
MD5 5268e91ca15f8dad20a9460a16df2f59
BLAKE2b-256 40dad6c3f273a7437304217f3255dd2e1f4ffa368c7a95c37161d61d192d6e90

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anl_agents-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.7

File hashes

Hashes for anl_agents-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82bab254b7c1836de7219b39bbf65e553cf7edd91065ed03d8fcaf7c4f433b6e
MD5 9306285ebf098d2ffb66c4d51daf43ce
BLAKE2b-256 28a1feadbb398af9866dd48e97714a85778cc7a2a136439c994af913d7f330e7

See more details on using hashes here.

Supported by

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