Skip to main content

fish-agents

Baseline agents for Fish, a six-player team card game of asking, deduction and calls, and the interface they share, from the Fish benchmark.

  • Agent: an agent is any object with act(view, rng) -> int. It sees only its own seat's view and draws its randomness from the generator it is given, so games replay exactly.
  • B0 (b0-v1): plays uniformly at random among its legal actions, except that in a declaration window it passes all but 1 time in 100.
  • play_game(agents, seed) plays one game with six agents and returns its record (needs the env extra).
from fish_agents.b0 import B0
from fish_agents.play import play_game

record = play_game([B0()] * 6, 42)
print("winner: team", record["winner"])

Install with pip install "fish-agents[env]" (Python 3.14 or later), or pip install fish-agents for the interface and agents alone. Stronger baselines (B1 to B3) come in later releases. Documentation is in the repository.

Licensed under Apache-2.0.

Metadata

Release files for fish-agents 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fish-agents 0.1.0
File Size Uploaded Provenance Actions
fish_agents-0.1.0.tar.gz 8.8 kB Without provenance Details for fish_agents-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fish-agents 0.1.0
File Interpreter ABI Platform Actions
fish_agents-0.1.0-py3-none-any.whl Python 3 none any Details for fish_agents-0.1.0-py3-none-any.whl

Total release size: 19.2 kB

Release files / fish_agents-0.1.0.tar.gz

Download URL fish_agents-0.1.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5c4a4d3067271cd4ba212eb38a9041eb3054c0f01643d898186ab768dd427e01
BLAKE2b-256 checksum
How to use checksums
98c410366a74d769890f7e454ae5b82e5e73b276e4bfbbb80c57d17f095f13a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fish_agents-0.1.0-py3-none-any.whl

Download URL fish_agents-0.1.0-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a74a7d7ea6f6402f8f7f1a587803aa89eb7f8bb1b90e87d8bdfa1ec43410b67b
BLAKE2b-256 checksum
How to use checksums
8ea00f99d1f199a22195b59266320b41314f6ddb17b8f15ff8bd44e5eb588997
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for fish-agents 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page