"""stdlib - Standard library for agent execution.

Built-in implementations available to all agents:

    primitives/     Built-in tools
    ├── tools/      Atomic capabilities
    │   ├── web/        web.search, web.fetch
    │   ├── workspace/  workspace.read_file, workspace.write_file, workspace.list_files
    │   ├── memory/     memory.get, memory.set, memory.search
    │   └── shell/      shell.execute (privileged)
    ├── orchestration/  Agent lifecycle
    │   └── agent/      agent.turn, agent.list
    └── code/       code.execute (sandboxed Python)

    llm/            LLM provider adapters (OpenAI, Anthropic, Google, Ollama)

Key exports:
- get_tool_registry(): Get the global tool registry
- ToolRegistry: The registry class
- bootstrap.load_stdlib(): Loads all tools at startup

Layering: stdlib → core, infrastructure (never server or albus)
"""

from core.tools import ToolRegistry, get_tool_registry, set_tool_registry

__all__ = [
    "ToolRegistry",
    "get_tool_registry",
    "set_tool_registry",
]
