.agents/skills/adk-architecture/references/principles/api-principles.md
Guidelines for designing and maintaining the ADK public API surface.
The public API surface of ADK includes:
google.adk namespace.agent.py convention loaded by CLI).__init__.py is not allowed. Import from the specific module directly.__init__.py.__init__.py. This keeps __init__.py minimal and prevents accidental exposure of internal implementation details.Public Naming
Runner.run(), Session.get_events()Runner.orchestrate_agent_invocation_loop(), Session.retrieve_all_events_from_storage()Private Naming
_prepare_context_for_llm(), _should_trim_history()_prep(), _trim()