NovaAgents: a production-oriented agent harness derived from Deep Agents, with managed sessions, Nova context, skills, and long-term memory.
NovaAgents (novaagents) is a production-oriented agent harness for building stateful AI agents with managed sessions, context management, skills, subagents, and long-term memory.
Provenance: NovaAgents is derived from Deep Agents (LangChain). It keeps compatibility where practical, but it is an independent package with Nova-specific APIs and behavior.
Install from PyPI (recommended, once published):
pip install novaagents # or uv add novaagents For local development, run from the repository root:
pip install "novaagents[aws]" # AWS Bedrock support pip install "novaagents[video]" # video/media helpers (av, pillow) Quickstart Use create_nova_agent for the Nova graph. create_deep_agent is a separate compatibility factory with the inherited behavior.
from novaagents import create_nova_agent from langchain.chat_models import init_chat_model model = init_chat_model("anthropic:claude-sonnet-4-6") agent = create_nova_agent( model=model, system_prompt="You are a concise, reliable assistant.", ) result = agent.invoke( {"messages": [{"role": "user", "content": "Summarize this repository."}]} ) print(result["messages"][-1].content) Managed Sessions (Nova-specific) NovaSession supervises local background tasks and serializes parent invocations. Pass it a compiled Nova graph:
import asyncio from novaagents import NovaSession async def main(): # Use the agent constructed in the quickstart above. async with NovaSession(agent, thread_id="demo-001") as session: result = await session.ainvoke({ "messages": [{"role": "user", "content": "List files in / and summarize the project."}], }) print(result["messages"][-1].content) await session.wait_until_idle() asyncio.run(main()) See MANAGED_SESSIONS.md for lifecycle, resume, and background-task behavior. Persistence across restarts requires a persistent checkpointer and the appropriate backend. Local background workers live only for the current process.
NovaAgents includes capabilities layered on the Deep Agents foundation:
Compatibility APIs from the upstream lineage may still exist; prefer Nova APIs for new integrations and verify behavior against this repository's tests/docs.
# install dev/test deps (example) uv sync --group test # lint / type / test (requires deps) make lint make type make test See DEVELOPMENT.md for development and PUBLISHING.md for PyPI releases.
See THREAT_MODEL.md. NovaAgents inherits the general agent/tool risk profile of Deep Agents-derived systems: treat tool outputs, files, web content, and model outputs as untrusted inputs to policy decisions; enforce least privilege and human approval for sensitive actions.
NovaAgents is derived from the Deep Agents project by LangChain:
NovaAgents follows a "trust the LLM, enforce at the tool boundary" model: the agent can do anything its tools allow. Enforce boundaries via sandboxing, least-privilege tools, and human approval for sensitive actions (see THREAT_MODEL.md). Upstream Deep Agents security guidance: Deep Agents security policy.
Contributions are welcome (features, fixes, docs, tests). Before opening changes, run available checks and record blocked validation honestly. If your work touches upstream-derived behavior, keep Nova-specific intent and compatibility clear; upstream project context: Deep Agents.
agents ai llm langgraph langchain novaagents deep-agents sub-agents agentic
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




