🤖 A fast, pure-Rust Python client for the ARC-AGI-3 API.
Project description
🕹️ ARC AGI RS
arc-agi-rsis 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 -
reseta game to its initial state andstepthrough 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 ☕.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arc_agi_rs-0.1.0-cp312-cp312-manylinux_2_38_x86_64.whl.
File metadata
- Download URL: arc_agi_rs-0.1.0-cp312-cp312-manylinux_2_38_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.12, manylinux: glibc 2.38+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a902ff44127cf40bc648f7f1cf27604450da06fd179e55c446cd4d500381b625
|
|
| MD5 |
1c20210eeaefa731c30d1c4d24c6c210
|
|
| BLAKE2b-256 |
73c66e56501947c8117829facba17130d5301b968f6fac1e1a90996810489d0e
|