Skip to main content

animica-serve

Serve Animica AICF inference jobs from anything with a CPU — phones under Termux included. Torch-free and dependency-free: llama.cpp does the inference, this package does the earning. Each job you win credits its full estimated cost in ANM to your wallet address on the network's worker ledger.

The zero-install browser version of this worker lives at https://pool.animica.org/serve — this package is the terminal lane: it survives reboots in a tmux/sv session, doesn't need the screen on, and uses llama.cpp's native ARM speed.

Termux (Android)

pkg install python llama-cpp        # llama.cpp built for your phone's CPU
pip install animica-serve
animica-serve --address anim1yourwallet

The default model (Qwen 2.5 1.5B Instruct, Q4_K_M, ~1.1 GB) downloads once and is cached; use --model qwen2.5-0.5b on older/low-RAM phones. Add --charge-only to pause while unplugged (needs the Termux:API app + pkg install termux-api). Keep Termux alive in the background with termux-wake-lock.

Anywhere else

Any Linux/macOS box works the same way. If you already run a llama-server or Ollama, skip the model download and point at it:

animica-serve --address anim1… --openai-url http://127.0.0.1:11434/v1 --openai-model qwen2.5:1.5b

No llama-server binary? pip install 'animica-serve[python-backend]' uses llama-cpp-python in-process.

How earning works

Your worker registers your address (no keys ever leave your device), claims jobs from the shared AICF queue on rpc.animica.org, answers locally, and submits. Jobs are raced across several workers — the first good answer wins and is credited (animica-serve earnings --address anim1… shows your ledger). Losing races to faster desktop GPUs is normal; you win whenever you are the fastest or only worker awake.

Metadata

Release files for animica-serve 0.1.8

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

Source distribution (sdist)

Source distribution for animica-serve 0.1.8
File Size Uploaded Provenance Actions
animica_serve-0.1.8.tar.gz 13.1 kB Without provenance Details for animica_serve-0.1.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for animica-serve 0.1.8
File Interpreter ABI Platform Actions
animica_serve-0.1.8-py3-none-any.whl Python 3 none any Details for animica_serve-0.1.8-py3-none-any.whl

Total release size: 26.1 kB

Release files / animica_serve-0.1.8.tar.gz

Download URL animica_serve-0.1.8.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e27d6328f398effaceaba25c043ebdac22596b3eeef8006b75ed4cb78e654cf5
BLAKE2b-256 checksum
How to use checksums
fba734825bb36a4e46b567d4542efdf674b5d5efa149e3377c131c55d0a62c4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / animica_serve-0.1.8-py3-none-any.whl

Download URL animica_serve-0.1.8-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d15157c41fcbe417f49b5b5106cffcaf738ba4acd18968bfb9377843b6a68236
BLAKE2b-256 checksum
How to use checksums
5d869a5260a51dec004495fa945948148b12e6265e8149a72435648cc5662cbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for animica-serve 0.1.8

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.

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