Skip to content

Farzan Arena 8.3.0

Choose a tag to compare

@aliGhadyani aliGhadyani released this 27 Nov 04:09
· 35 commits to main since this release

🚀 Epics and highlights

  • Plugins with code, pages and access to Arena, installed like today's. Plugins v3 (the plugin framework,
    Binchitects/farzan-arena-plugin-framework 0.2.0):
    server code with tools for models, routes, hooks, events and scheduled jobs; pages in the menu, panels beside a chat,
    a project, the home page and the admin overview, a settings screen and chat actions; a versioned host API to chats,
    projects, models, knowledge, files, people, groups, settings, storage, the internet hosts granted, the bell and the
    audit log. arena-plugin dev pushes a developer's own install on every save.
  • A plugin that breaks takes only itself down. Its code runs in the new plugins service, each plugin a worker of
    its own (its own user, no network, rlimits, a heap cap, memory and CPU watched, a deadline on every call); its pages
    in sandboxed frames behind a checked bridge. The framework's chaos plugin crashes, hangs, leaks, forks, floods and
    tries to escape while everything else answers; five failures in a row turn a plugin off by itself, its admins told.
  • Grants an admin can read. What each plugin asks for in words, granted all, some or none and taken back at once;
    only packages signed by trusted publishers run code; every denial, write and outward call audited.

✨ New features & Enhancements

  • Two engines more, each its own feature (off until asked for), run by the same supervisor as vLLM, with its
    launcher, compose service, Helm Deployment and fake for tests:
    • FreeToken 0.2.3 (Apache-2.0): MoE models on one GPU, GGUF files or snapshots, the experts that do not fit
      there in RAM. arena-freetoken is built on SGLang's image with no resolve of its dependencies (about 0.4 GB from
      PyPI); its kernels are compiled on its GPU on its first start and kept.
    • Ollama 0.40.18 (MIT): a GGUF file of the library made Ollama's model, nothing pulled, behind a front that asks
      the engine key (Ollama's own server asks none); its layers in RAM when the GPUs are short.
  • TokenSpeed and Unsloth were weighed and left out: TokenSpeed's 0.1.1 image (its latest release) fails as it starts,
    its own FlashInfer packages not matching, so it never serves; Unsloth's server is Unsloth Studio, an application with
    its own accounts and the keys it mints, a notebook shell and a tunnel in its image, serving through its own
    llama.cpp, which Arena runs already. Unsloth's GGUF files run on llama.cpp, Ollama and FreeToken.
  • The vLLM and SGLang supervisor's readiness reads a /health that answers 200 while it loads (FreeToken's
    "status": "loading").
  • The plugins feature and service (on by default), its volume and its Helm Deployment (TCP with a key, a
    NetworkPolicy with no egress).
  • Every extension point a plugin's manifest takes runs: hooks on a message before the model reads it, on the finished
    answer (a change replaces the words on the page), on a tool call, and on a file a person uploads before it is kept
    (renamed or refused); events for chats, messages, projects, tasks, uploads, people made and group members; IDE
    panels in Code Studio (the Code page's Plugins tab, and beside each review, told which).
  • Admin → Plugins: on and off with the reason, the signer, what it may reach, its worker and logs, its own settings
    screen, trusted publishers; .fap uploads.
  • New permissions: plugins.grant, plugins.enable, feature.plugins.develop. Settings → Plugins: Allow unsigned plugins
    with code; Developers' own installs.
  • POST /api/plugins/packages (publish and dev installs by API key), /api/p/{plugin}/... (a plugin's routes),
    /api/plugins/mine.
  • tools/plugin-dev-stack.sh: a throwaway Arena for making plugins; tools/plugin-framework-sync.sh: the framework's
    conformance suite into tests/fixtures/plugins.
  • Compliance: a new control, OPS-03 (plugins run apart, with only what an admin granted), with its tests; IAM-08 (the
    engine key no command line shows) covers FreeToken and Ollama, Ollama's front included.

💥 Breaking changes & Deprecations

  • plugin.yaml needs apiVersion: arena.plugins/v3 and a version like 1.2.3 (arena-plugin migrate makes a v2
    folder v3). Installed plugins are made v3 by the upgrade, their settings, grants and versions kept.

⬆️ Deps updates

  • llama.cpp pinned to its build b12767 (1.1.0-dev) in place of the floating server-cuda tag, for chat models and
    the embedder (ROCm: server-rocm-b12767). Every preset key the app writes is still one of its flags.
  • vLLM's PyPI build (vllm-build.yml, for a host that cannot pull vLLM's image) pinned to 0.34.0, the vLLM, PyTorch
    and GGUF plugin arena-vllm already runs.

Images

Pull them from GitHub Packages (docker pull REF), or use the offline bundle.

service image digest
app ghcr.io/binchitects/farzan/app:8.3.0 sha256:4fdcd00860f0c4d391295bfe6223d3bbc1c3860a9c64f8b95967e11c0ef890c1
audio ghcr.io/binchitects/farzan/audio:8.3.0 sha256:0cacec37afe5a10859ed9c4d2b43b429bc56ba8f19199733df723f6042bb187b
blender ghcr.io/binchitects/farzan/blender:8.3.0 sha256:511f479e7cd038604b52956bef32ecb98156cda9290604ad658ed5e405623408
browser ghcr.io/binchitects/farzan/browser:8.3.0 sha256:fbda2a67affe662d8eeea6b264e86e5ee467da81cb53484a74b42d2309284a70
code-intel ghcr.io/binchitects/farzan/code-intel:8.3.0 sha256:03b49fb3a1d6998fe250a616b4fbff16977b3f046d2aeb9787ad6f26621a9ae5
freetoken ghcr.io/binchitects/farzan/freetoken:8.3.0 sha256:5210f4a114947931558c6c536c67cc604105657d44d230835692ff77474531a6
laya ghcr.io/binchitects/farzan/laya:8.3.0 sha256:ca7a2dd36736f0e5aa41365b39cc617f2d2c5b3f0c3ea76a3bf02467185bbe9d
lean ghcr.io/binchitects/farzan/lean:8.3.0 sha256:fabfbcfc11874f1e66918e543a5e19a5bcfdad78f78fdfe7f00c325753ecf972
lmdeploy ghcr.io/binchitects/farzan/lmdeploy:8.3.0 sha256:fc035ad8de4426b0608d381a4a66326b7c72c60fecb8870279ed48ae0638101f
ollama ghcr.io/binchitects/farzan/ollama:8.3.0 sha256:6490917dbb853a5f62c6a93132373045b8bd9e6def95610e653b0c59c2941923
plugins ghcr.io/binchitects/farzan/plugins:8.3.0 sha256:7667ff5e8ec0ab11390961f7b0d88c10b69cc2a8187fee9d2eb5e6c44d2499c2
postgres ghcr.io/binchitects/farzan/postgres:8.3.0 sha256:e027282435acc8fe1f08d87c9ba334d90e4d90cd8d856b80e49df4a14975d08f
sandbox ghcr.io/binchitects/farzan/sandbox:8.3.0 sha256:1cccdfb4a82c46bd7174bcc1e985aedf0098a324c5ceaf76e951fc73f3aecaaa
scanners ghcr.io/binchitects/farzan/scanners:8.3.0 sha256:9d9e10487c733671af76c5df5bc938f7af7541da927d504666dffc9c05b2e07f
studio ghcr.io/binchitects/farzan/studio:8.3.0 sha256:a953e4cdc1f2d9403e62cb2a506b7b4c2e70009ae6b286d52f93b0eb71edcfd1
vllm ghcr.io/binchitects/farzan/vllm:8.3.0 sha256:a52e276db1143fb949fb8aa50951fbc5b00aa883fb1792c32734f9b125ed396c
web ghcr.io/binchitects/farzan/web:8.3.0 sha256:51e1167844de885f50b16ccef4d0404d49ad85996d233c29b17b5b961ae5cf23