For the complete documentation index, see llms.txt. This page is also available as Markdown.

Examples

The ncp-sdk-examples repository contains complete, runnable agent projects. Start with hello-agent, then pick examples by the concept you want to learn.

Shared workflow

Every example follows the same run sequence:

git clone https://github.com/AvizNetworks/ncp-sdk-examples.git
cd ncp-sdk-examples/<example-name>

pip install -r requirements.txt   # install dependencies
ncp validate .                    # validate the project
ncp authenticate                  # authenticate with the platform
ncp package .                     # build the .ncp package
ncp deploy <example-name>.ncp     # deploy
ncp playground --agent <example-name>   # try it

Learning path

Example
Concept

Your first agent - built-in knowledge plus a custom tool

Multiple tools working together through multi-step reasoning

Asynchronous tools

Using MCP servers for external capabilities (basic synchronous tool + agent)

Conversation memory strategies (TOKEN_WINDOW, LAST_N_MESSAGES)

The reference store - store, retrieve, analyze, and delete large datasets

Exporting stored memory data

Project and admin Files API

Semantic search over ingested documents

Agent Skills

Saving artifacts from a tool

Generic SSH connectors using ssh_session

Using a platform data connector

Execution hooks

Agent handoffs

Custom status and streaming output

Multi-agent composition with AgentTool and platform agents

RoutingAgent orchestration

Routing-root-Agent orchestration

SequentialAgent orchestration

Sequential-root-Agent orchestration

ParallelAgent fan-out

Parallel-root-Agent fan-out

LoopAgent with a StopCondition

Loop-root-Agent with a StopCondition

DynamicParallelAgent fan-out over items from state

Dynamic-root-Parallel-Agent fan-out over items from state

memory-config-agent covers conversation-memory strategies, while memory-store-agent covers the stored-dataset reference store - they demonstrate the two different memory systems.

Last updated