Skip to content

Index

zocrates.agents

Zocrates multi-agent systems package.

__all__ module-attribute

__all__ = ['app', 'coordinator_agent', 'root_agent', 'set_agent_models']

__dir__

__dir__()
Source code in zocrates/agents/__init__.py
def __dir__() -> list[str]:
    return sorted(list(globals().keys()) + __all__)

__getattr__

__getattr__(name)
Source code in zocrates/agents/__init__.py
def __getattr__(name: str) -> Any:
    if name in __all__:
        module = importlib.import_module("zocrates.agents.app")
        val = getattr(module, name)
        globals()[name] = val
        return val
    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")