Skip to content
@greennode-samples

GreenNode Samples

Official GreenNode AgentBase code samples: AI agents, MCP servers, MCP Gateway, long-term memory, multi-agent A2A and enterprise auth (OIDC, OAuth).

GreenNode Samples

Sample code for GreenNode AgentBase: build, deploy and connect AI agents and MCP (Model Context Protocol) servers on GreenNode.

Every repository is a complete, deployable example. Each one comes with a step-by-step Portal setup guide (aiplatform.console.vngcloud.vn), architecture diagrams, tests and CI.

Samples

Sample What you build AgentBase features
sample-travel-buddy Travel assistant AI agent with a web UI Agent Runtime (LangGraph) · long-term Memory (CUSTOM + SEMANTIC strategies) · MCP Gateway + Tavily web search · Policy Group · network diagrams
sample-zalo-restaurant Restaurant booking chatbot on Zalo Custom MCP server in the customer VPC · Private MCP Gateway · returning-guest memory · Zalo Bot Platform webhook · self-hosted Langfuse
sample-mcp-stock-server Vietnam stock market MCP server (24hMoney, 13 tools) Fail-closed API-key auth · one image deploys to Agent Runtime, vServer / VKS in your VPC, or on-premises
sample-byo-agent-mcp-gateway Bring your own agent, running outside AgentBase Call MCP Gateway with IAM or JWT auth from a CLI, a LangGraph agent, Claude Desktop or Cursor
sample-onprem-mcp-vpn Internal ERP/HR MCP server in your data center VPN Site-to-Site (IPsec, strongSwan) · Private MCP Gateway with Route CIDRs · firewall rules and a lab guide
sample-multi-agent-a2a Multi-agent "Trip Concierge" orchestrator Delegates in parallel over A2A to travel-buddy and zalo-restaurant · MCP tools through the MCP Gateway · agent-card discovery · streaming progress
sample-enterprise-assistant-oauth Enterprise assistant that acts as the signed-in user OIDC sign-in (Keycloak) · JWT inbound auth at the MCP Gateway · OAuth 3LO to GitHub as the user · Policy Group with conditions on claims and tool arguments · human-in-the-loop approval of every write
sample-greennode-agentbase-builder-skills Skills that teach coding agents to build on AgentBase Agent skills for Claude Code / Codex — scaffold, memory, identity, MCP Gateway, policy, deploy

Find a sample by scenario

I want to… Start with
Build an agent with memory that calls SaaS tools on the Internet sample-travel-buddy
Build a chatbot for Zalo sample-zalo-restaurant
Write my own MCP server and run it on Agent Runtime sample-mcp-stock-server
Run an MCP server in my VPC (vServer / VKS) behind a Private MCP Gateway sample-mcp-stock-server · sample-zalo-restaurant
Reach an MCP server on-premises over VPN or Interconnect sample-onprem-mcp-vpn
Use MCP Gateway from an agent that does not run on AgentBase sample-byo-agent-mcp-gateway
Compose several agents into one system (agent-to-agent delegation) sample-multi-agent-a2a
Make an agent act as the signed-in enterprise user (SSO, per-user permissions, approvals) sample-enterprise-assistant-oauth
Teach my coding agent (Claude Code, Codex) to build agents on AgentBase sample-greennode-agentbase-builder-skills
Understand how Runtime, LLM, Memory and MCP Gateway connect on the network sample-travel-buddy/docs/network

How the pieces fit together

Agent Runtime (LangGraph) ── Memory (strategies / actors)
        │
        ├── LLM (OpenAI-compatible endpoint)
        └── MCP Gateway (IAM / JWT inbound auth, Policy Group)
                 ├── connector → MCP SaaS on the Internet   (API key / OAuth)
                 ├── connector → MCP server on Agent Runtime
                 ├── connector → MCP server in your VPC     (Private gateway)
                 └── connector → MCP server on-premises     (VPN / Interconnect)

Getting started

  1. Sign in to the GreenNode AI Platform console: aiplatform.console.vngcloud.vn.
  2. Pick a sample from the table above and follow its README. Each one runs locally first, then deploys to your own AgentBase account.
  3. Most samples share the same stack: Python, the greennode-agentbase SDK, LangGraph, MCP and Docker.

Feedback

Found a bug or have an idea for a new sample? Open an issue in the repository it relates to.

All samples are released under the MIT License.

Popular repositories Loading

  1. sample-travel-buddy sample-travel-buddy Public

    Travel assistant AI agent with a web UI — long-term memory (CUSTOM + SEMANTIC strategies), MCP Gateway + Tavily web search, per-agent Policy Group, network diagrams. Runs on GreenNode AgentBase.

    Python

  2. sample-zalo-restaurant sample-zalo-restaurant Public

    Restaurant booking chatbot on Zalo — custom MCP server as a separate AgentBase runtime, Private MCP Gateway, returning-guest memory, real Zalo Bot Platform webhook and web simulator.

    Python

  3. sample-mcp-stock-server sample-mcp-stock-server Public

    Vietnam stock market MCP server (24hMoney, 13 tools) with fail-closed API-key auth — one image deploys to AgentBase Agent Runtime, vServer/VKS in your VPC, or on-premises.

    Python

  4. sample-byo-agent-mcp-gateway sample-byo-agent-mcp-gateway Public

    Bring your own agent: an agent running outside GreenNode AgentBase calls MCP tools through the MCP Gateway with IAM or JWT inbound auth — CLI, LangGraph agent, Claude Desktop or Cursor.

    Python

  5. sample-onprem-mcp-vpn sample-onprem-mcp-vpn Public

    Internal ERP/HR MCP server in your data center, reached by GreenNode AgentBase through VPN Site-to-Site (IPsec, strongSwan) and a Private MCP Gateway with Route CIDRs — firewall rules and lab guide…

    Python

  6. .github .github Public

    Organization profile and community health files for GreenNode Samples

Repositories

Showing 9 of 9 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…