Skip to main content

🤖 A fast, pure-Rust Python client for the ARC-AGI-3 API.

Project description

🕹️ ARC AGI RS

ARC AGI

Crates.io Docs.rs npm PyPI MIT License

arc-agi-rs is a multi-language toolkit for interacting with the ARC-AGI-3 REST API. The core is written entirely in Rust and compiled to native extensions, so Python and Node.js callers enjoy the same performance and correctness guarantees as the Rust library 🗿.

🦀 Rust 🐍 Python 🟩 Node.js
Rust Guide Python Guide Node.js Guide
cargo add arc-agi-rs pip install arc-agi-rs npm install arc-agi-rs

🤔 What does this crate provide?

The library exposes the full ARC-AGI-3 client API:

  • Environment discovery - list and inspect all available game environments.
  • Scorecard management - open, retrieve, and close scored sessions.
  • Game interaction - reset a game to its initial state and step through it action-by-action.
  • Anonymous access - obtain an anonymous API key when no personal key is available.

A fluent builder API (mirroring the Python Arcade class) covers all client configuration: API key, base URL, cookie storage, and HTTP proxy.

🦀 Rust

The Rust crate is available on crates.io. It provides a high-performance, async-first interface for building ARC-AGI agents.

For a complete API reference, installation guide, and examples, visit the Rust Usage Guide.

🐍 Python

The Python bindings are published to PyPI as arc-agi-rs. They provide a native extension that operates a robust tokio runtime under the hood, ensuring top-tier performance with a simple synchronous API.

For installation instructions, configuration options, and full method signatures, see the Python usage guide.

🟩 Node.js

The Node.js bindings are published to npm as arc-agi-rs. Built with napi-rs, they offer extremely fast, native synchronous bindings that save you from deep async closures for one-off game calls.

For installation instructions, type definitions, and examples, read the Node.js usage guide.

⚙️ Configuration

All credentials can be supplied via environment variables as a fallback:

Variable Description Default
ARC_API_KEY API key for authentication (empty)
ARC_BASE_URL Base URL of the ARC-AGI-3 server https://three.arcprize.org

📄 License

Licensed under the MIT License.

⭐ Star us

If you find this library useful, please leave a star on GitHub! It helps others discover the project and keeps the momentum going ☕.

Star History Chart

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

arc_agi_rs-0.1.0-cp312-cp312-manylinux_2_38_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.38+ x86-64

File details

Details for the file arc_agi_rs-0.1.0-cp312-cp312-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for arc_agi_rs-0.1.0-cp312-cp312-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 a902ff44127cf40bc648f7f1cf27604450da06fd179e55c446cd4d500381b625
MD5 1c20210eeaefa731c30d1c4d24c6c210
BLAKE2b-256 73c66e56501947c8117829facba17130d5301b968f6fac1e1a90996810489d0e

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