* fix: await create_session and add license header in agent_cli example
create_session is async; the un-awaited coroutine caused a RuntimeError
when session.id was accessed. Also added the missing Apache 2.0 header.
* Apply suggestion from @joefernandez
---------
Co-authored-by: Joe Fernandez <931947+joefernandez@users.noreply.github.com>