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.

Download files

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

Source Distribution

animica_serve-0.1.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

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

animica_serve-0.1.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: animica_serve-0.1.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for animica_serve-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4b14453de58840628813302d20bad437dba839bd8404b97554150d199965ddef
MD5 50ad69a356ecfff1c4a96e2fbdf4cc38
BLAKE2b-256 07ee2a6d05924d58b369ba6061bd18132e97c89375db383db77caffdbaada9fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: animica_serve-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for animica_serve-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10e36f7dbd60db97a46f46db5d6042d5b6400a3f4c8a106aa82bdd2d237276c2
MD5 66a633e87c7388a4bc13980fef46d674
BLAKE2b-256 d4f98a22e26a9814a3820d00d8133e5cd7c24001f8bb523c7ee3a05ea9d8e9fb

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page