nooa-context-and-state

Installation
SKILL.md

Context, Events, and State

Every agent has two managers, always present, hidden from the LLM by default:

  • agent.context_manager (ContextManager) — named context blocks rendered into the system prompt each turn.
  • agent.event_manager (EventManager) — the event history (tasks, messages, code executions, LLM calls).

Their agent-facing APIs are self.context (ContextApi) and self.events (EventsApi). To let the LLM see and manage them, opt in per subclass:

from nooa.agentdoc import spec

class MyAgent(Agent, llm=llm):
    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        spec(self, "context", hidden=False)   # LLM can now use self.context
        spec(self, "events", hidden=False)    # LLM can now query self.events
Installs
1
GitHub Stars
1.5K
First Seen
Aug 13, 2026
nooa-context-and-state — nvidia-nemo/labs-oo-agents