Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

bannaha

Latest version: v0.2.0

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
PyPI package Publisher: siavashmonfared
0 Stars
0 Forks
2 Versions
40 Downloads
Python Repo language

Scan summary

bannaha was last scanned on 24 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions; the latest was published on 24 Nov 2026.
  • Findings: No rules fired in version 0.2.0.
  • Downloads: 40 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 24 Nov 2026 No rules fired
0.1.0 12 Oct 2026 No rules fired

No rules fired in 0.2.0

Findings

Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

bannaha

A terminal sandbox for multi-agent coordination. Give a fleet of LLM agents a question, pick how they coordinate, and watch it happen live: who searches what, which claims get posted, endorsed or challenged, how the group reaches an answer, and what happens when part of the fleet goes dark.

  • Any harness, any backend. Mix agents built on different agent loops (Anthropic SDK, OpenAI Agents SDK, Google ADK, Hermes Agent, banna) reaching models through different routes (direct API, OpenRouter, Amazon Bedrock) in one fleet.
  • Pluggable strategies. A single-agent baseline, independent voting, a shared blackboard where peers cross-check evidence until they agree, and a deliberative vote where peers rank each other's proposals every round. Adding one is one file.
  • Follow-ups with memory. When a run ends, keep asking about it; the answers come from an agent that has the whole run as memory.
  • Same tools everywhere. One tool spec, translated per harness: web search, page fetch, document search, sandboxed Python, and a set of communication tools for the shared board.
  • Fault injection. Drop a fraction of the fleet mid-run and compare how strategies cope.
  • Everything is an event. The live view and the JSONL run log are subscribers to one event stream, including the exact prompts each agent was sent.
  • Small local models welcome. Run Ollama models through the banna harness with no key and no extra dependency; tool calls that small models garble are repaired where that is unambiguous.

Install

uv tool install "bannaha[all]"        # or: pipx install "bannaha[all]"

From a clone:

git clone https://github.com/siavashmonfared/bannaha && cd bannaha
uv sync --all-extras
uv run bannaha --help

Extras: anthropic, openai (OpenAI Agents SDK), adk (Google ADK), hermes (Hermes Agent), banna, litellm (ADK and OpenAI-SDK access to OpenRouter/Bedrock models), bedrock (boto3 + LiteLLM), all. Install only what you use; hermes in particular pulls in a large dependency tree.

Quickstart

No API keys needed for a first look; the mock harness is a scripted offline agent whose model field is the answer it gives:

bannaha run "What is the answer?" -s blackboard -f "mock@local:42*2,mock@local:41*2,mock@local:40" --no-web

With real models (keys in the environment or a .env file, see API keys):

bannaha run "Which element has the highest melting point, and what is it in kelvin?" \
  -s blackboard -f "anthropic@direct:claude-haiku-4-5*3,openai@openrouter:google/gemini-2.5-flash*2"

API keys

Put keys in ~/.config/bannaha/.env (read from any directory, and never inside a project you might commit), in a .env in the directory you run from, or in your shell environment. Variables already set in the environment win; empty values are ignored. .env.example lists every variable.

ANTHROPIC_API_KEY=...     # anthropic@direct, banna@direct:anthropic/...
OPENAI_API_KEY=...        # openai@direct, hermes@direct, banna@direct:openai/...
GEMINI_API_KEY=...        # adk@direct, banna@direct:gemini/..., and web search
OPENROUTER_API_KEY=...    # any harness @openrouter
AWS_REGION=us-east-1      # any harness @bedrock, plus AWS credentials: AWS_PROFILE,
AWS_PROFILE=default       # or AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY, or `aws sso login`

bannaha list reports whether the web search key was found, and every run checks the keys its fleet needs before starting.

How a run is shown

Runs are shown as one continuous transcript, in time order, the way Claude Code and Codex show work: a header when the speaking agent changes, one line per finished tool call with a short preview of its result, answers, proposals and votes in full, round boundaries and decisions, and a live status line at the bottom with what each agent is doing, the round, tokens and cost.

  • bannaha run prints the transcript into the terminal, so it stays in your scrollback. --full shows tool results in full; --dashboard gives the boxed dashboard instead; --plain prints one line per event.
  • In the full-screen app (Run page, and replays on the Runs page): ctrl+o expands or shortens tool results, ctrl+g follows one agent at a time, ctrl+t switches between the transcript and the dashboard.

Follow-ups: ask about a finished run

When a run finishes, what you type next is a follow-up question about it, not a new task. It goes to one agent, by default the strongest model in the fleet (the one with the highest per-token price), together with the run's memory: the task, how the strategy decided, what every agent submitted, the key tool results, and a search_run tool over the full trace. The agent can also use web search and Python to check things. The conversation builds turn by turn and is saved with the run (followups.jsonl).

command what it does
plain text after a run: a follow-up question about it; before any run: a new task
/new <task> a fresh run that knows nothing of the current one
/rerun <clarification> the same strategy and fleet again, told the previous answer and your clarification
/to <agent> send follow-ups to another fleet agent (a3) or any model (harness@backend:model)
/agents the fleet, and who answers follow-ups
/forget clear the follow-up conversation (the run's memory stays)
/help all commands and keys

This works on the Run page of the app, after bannaha run in the terminal (an › prompt; --no-followup skips it), and on any saved run (a on the Runs page, or bannaha ask <run folder | last> ["question"]).

The app

Run bannaha with no arguments to open the full-screen app. Number keys switch pages:

page what it does
1 Setup the settings dashboard: ↑↓ move, ←/→ toggle a value in place, ↵ open a picker; s start, d save as default and start. Shows whether the setup is ready to run, and what is missing if not. Limits (↵) edits tool calls and model calls per turn, output tokens per reply, wall time, tokens per run, and cost caps per run and per agent
2 Fleet the fleet as a table of agent groups with each group's key status; a add, e/↵ edit, x remove, +/- count
3 Keys every API key variable: found or missing, where it was found, and which ones your current fleet needs; e opens ~/.config/bannaha/.env in your editor, r reloads
4 Run type a question in the › box and press Enter; agents (with live tokens and cost), board activity, rounds and the answer update live, and the activity panel shows, per agent, the tool call it is running and its last few steps (searches, pages, code, messages, errors). Esc cancels a run, ↑↓ recall earlier questions
5 Runs every saved run; ↵ replays a run's rounds, board and answer

The animated header (a torus and the crew member who builds on it) sits under the page bar; ctrl+b hides or shows it on any page, and Setup → Banner saves the choice.

The app shares its look with banna: the same themes (solarized-light, the default, solarized-dark, gruvbox-dark, dracula, mono), registered as the same Textual themes, and the same color roles in the run panels. Pick one on Setup → Theme or with --theme; the older names ocean and sunset map to solarized-dark and gruvbox-dark.

Settings saved with d go to ~/.config/bannaha/config.toml. bannaha run … is the scriptable path with no full-screen app; flags override the saved settings for that run.

Limits and cost

limit default bannaha run flag
tool calls per agent turn 16 --max-calls
model calls per agent turn 24 –
output tokens per model reply 16384 –
wall time per run 900 s --max-wall
tokens per run none --max-tokens
cost per run (USD) none --max-cost
cost per agent (USD) none --max-agent-cost

Defaults come from the Setup page (saved settings); flags override them for one run. Cost is metered live at list prices (bannaha prices): each agent's model tokens plus its web searches (Gemini search tokens and $0.035 per search). When the run reaches --max-cost it stops at the next tool call; an agent that reaches --max-agent-cost ends its turn and does no more work while the others carry on. The Anthropic, OpenAI Agents and ADK harnesses report tokens after every model call, so their limits apply mid-turn; Hermes and banna report at the end of a turn, so their spend is checked between turns. result.json records each agent's tokens, searches and cost, and the run total.

Prices come from OpenRouter's public model list, which also lists OpenAI, Anthropic and Google models, so it serves as the list price for direct and Bedrock runs too; pin anything else in ~/.config/bannaha/prices.toml (["model"] with input_per_mtok and output_per_mtok), which always wins. Models on the local backend run on your machine and cost $0 (the offline mock harness uses a fixed made-up price so cost limits can be tested). bannaha prices shows what your fleet will be charged, and bannaha prices --md prices.md writes it as a table with the pricing links. Caching, batch discounts and long-context surcharges are not modeled.

Fleets

A fleet is harness@backend:model*count, comma separated. Count defaults to 1.

harness backends notes
anthropic direct, bedrock Anthropic SDK, Messages API tool-use loop
openai direct, openrouter, bedrock OpenAI Agents SDK; tracing disabled; Bedrock via LiteLLM
adk direct (Gemini), openrouter, bedrock Google ADK; non-Gemini models via LiteLLM
hermes openrouter, direct (OpenAI), local Nous Research Hermes Agent; local is any OpenAI-compatible server at BANNAHA_HERMES_BASE_URL
banna direct, openrouter, bedrock, local banna's ReAct policy; on direct the model is vendor/model (anthropic/…, openai/…, gemini/…); local is an Ollama model such as banna@local:qwen2.5:3b (OLLAMA_BASE_URL, default http://localhost:11434)
mock local offline scripted agent for demos and tests
backend needs
direct the vendor's key: ANTHROPIC_API_KEY, OPENAI_API_KEY, or GEMINI_API_KEY
openrouter OPENROUTER_API_KEY
bedrock AWS_REGION and AWS credentials (profile, keys or SSO); model ids such as us.anthropic.claude-haiku-4-5-20251001-v1:0

bannaha list shows what is installed. The fleet is checked before anything runs: unsupported harness/backend pairs, missing packages, keys and AWS credentials are reported up front.

Every harness gets the same tools from the same spec, and a conformance test checks each adapter (nested arguments arrive unchanged, the turn stops at the finishing tool, a dropped agent really stops). Some notes on how the adapters work:

  • Hermes: bannaha's tools are registered in-process in Hermes's tool registry and only the current turn's tools are enabled, so Hermes's own terminal, browser and file tools are never offered. Hermes keeps state in a private home (BANNAHA_HERMES_HOME, default ~/.cache/bannaha/hermes) with memory, context files and persona loading off; your own ~/.hermes is not read or written.
  • banna: banna's loop has its own final-answer step; if a model answers that way instead of calling the turn's finishing tool, the answer is submitted through that tool.
  • ADK: tools declare their full JSON Schema, and instructions are passed so ADK does not treat braces in a prompt as template variables.

Strategies

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases bannaha

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229