Catalog PyPI
PACKAGE EXPLORERView in registry

agentpanel

PyPI

Domain-agnostic multi-agent orchestration core (LangGraph) with pluggable local/cloud LLM providers.

agentslanggraphllmmulti-agentollamastructured-output
Versions collected1
Direct dependencies8From release 0.1.2
Last observed20 Oct, 22:50 UTC

README

Version 0.1.2 documentation

agentpanel

A small, domain-agnostic core for multi-agent LLM workflows on LangGraph:

  • Specialists produce artifacts in parallel.
  • Reviewers judge each other's artifacts; rejections send the author back to revise, with the feedback, for a bounded number of rounds.
  • A coordinator assembles the result, including anything still unresolved.

It runs on local models by default (Ollama), with bring-your-own-key OpenAI and Anthropic support, and gets reliable structured output from small models.

pip install agentpanel            # Ollama only
pip install "agentpanel[cloud]"   # plus OpenAI and Anthropic

Example

import asyncio
from agentpanel import AgentContext, LLMReviewer, LLMSpecialist, Workflow
from agentpanel.config import LLMSettings
from agentpanel.llm import create_chat_model

model = create_chat_model(LLMSettings())  # qwen3:8b on local Ollama by default


class Join:
    async def assemble(self, ctx: AgentContext) -> str:
        return ctx.artifacts["writer"].content


workflow = Workflow(
    specialists=[
        LLMSpecialist(
            name="writer",
            kind="product description",
            model=model,
            instructions="You write concise product descriptions.",
            render=lambda ctx: f"Describe {ctx.inputs['product']} in two sentences.",
        )
    ],
    reviewers=[LLMReviewer("editor", model, "You edit marketing copy for accuracy.")],
    coordinator=Join(),
    max_revisions=1,
)
result = asyncio.run(workflow.run({"product": "a solar-powered kettle"}))
print(result.result, result.unresolved)

Pieces

ModuleWhat it gives you
agentpanel.graphWorkflow: parallel specialists, cross-review, bounded revision, progress callbacks
agentpanel.agentsSpecialist, Reviewer, Coordinator protocols: bring any implementation
agentpanel.llm_agentsLLMSpecialist, LLMReviewer: prompt-driven agents with revision handling
agentpanel.structuredainvoke_structured: pydantic-validated output with error feedback and domain checks; constrained decoding on Ollama
agentpanel.llmcreate_chat_model, check_provider: provider factory and health checks
agentpanel.configLLMSettings: env/.env settings, per-agent model and reasoning overrides
agentpanel.testingScriptedChatModel: a deterministic fake chat model for tests

Configuration

LLMSettings reads AGENTPANEL_* environment variables (subclass it to use your own prefix): PROVIDER (ollama, openai, anthropic), MODEL, BASE_URL, TIMEOUT, REASONING, CONTEXT_WINDOW, AGENT_MODELS, AGENT_REASONING. Cloud keys use the standard OPENAI_API_KEY / ANTHROPIC_API_KEY.

Built for and used by API Shakedown, where the source lives. Issues and contributions: see that repository.

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.215 Oct 20268

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
anzar-ahsan-commits/api-shakedown

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:50 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ef3547951338fad6bb40ac77c02bd0ec325a6fa07da32ef4cddfbb9c5453d4bc