Skip to main content

A bridge package for connecting multiple agent frameworks (LangGraph, CrewAI, Microsoft Agent Framework, etc.) with GreenNode AgentBase

Project description

GreenNode Agent Bridge

A bridge package for connecting multiple agent frameworks (LangGraph, CrewAI, Microsoft Agent Framework, etc.) with GreenNode AgentBase. Use your preferred agent framework while persisting state and memory in AgentBase Memory and Runtime services.

Features

  • Framework adaptors – Integrate agent frameworks with GreenNode AgentBase Memory and Runtime.
  • Optional extras – Install only the frameworks you use; extras are isolated so installing one does not pull in others.
  • LangGraph support – First-class support for LangGraph with:
    • AgentBaseMemoryEvents – A BaseCheckpointSaver that persists LangGraph checkpoints as events in AgentBase Memory.
    • AgentBaseMemoryRecords – A BaseStore that saves chat messages as conversational events and retrieves memories via semantic search (embedding and processing run in AgentBase Memory).

Requirements

Installation

Base package (AgentBase only; no framework adaptors):

pip install greennode-agent-bridge

With LangGraph support:

pip install "greennode-agent-bridge[langgraph]"

Other extras (e.g. CrewAI) may be added in future releases. Installing one extra does not install packages from other extras.

Usage

LangGraph checkpoint and store

When the [langgraph] extra is installed, you can use AgentBase Memory as a checkpoint saver and as a store for conversation and memory:

from greennode_agent_bridge import AgentBaseMemoryEvents, AgentBaseMemoryRecords

# Checkpoint saver for LangGraph (persists graph state to AgentBase Memory)
checkpointer = AgentBaseMemoryEvents(
    memory_id="your-memory-id",
    # optional: memory_client=client,
)

# Store for chat messages and semantic memory (saves events, retrieves via AgentBase)
store = AgentBaseMemoryRecords(
    memory_id="your-memory-id",
)

# Use with your LangGraph graph
# graph = ... .compile(checkpointer=checkpointer)
# app with store for memory operations

Configure memory_id (and optionally credentials/client) according to your AgentBase Memory setup.

Without optional dependencies

If you import LangGraph types without installing the [langgraph] extra, the package raises an error that tells you to install greennode-agent-bridge[langgraph].

Development

With uv:

uv sync --group dev --group build
uv run ruff check src
uv run pytest

License

Apache-2.0. See LICENSE for details.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

greennode_agent_bridge-1.0.1.tar.gz (115.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

greennode_agent_bridge-1.0.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file greennode_agent_bridge-1.0.1.tar.gz.

File metadata

  • Download URL: greennode_agent_bridge-1.0.1.tar.gz
  • Upload date:
  • Size: 115.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for greennode_agent_bridge-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ae0d26d2084085e1c38865977e2a87affb2fca419e30bec4f8a84d4b95e45c24
MD5 a062dea4dac7cd4ea5a095d5fb14958d
BLAKE2b-256 bb36c6318e0baaab7d874cd181eb7413324e224dab7e3c97e0f0536f03efa3aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for greennode_agent_bridge-1.0.1.tar.gz:

Publisher: publish.yml on vngcloud/greennode-agent-bridge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file greennode_agent_bridge-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for greennode_agent_bridge-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4bb1c4c4f3c7930e05218ee6639b4eae0d6bd430d16c08abead6adcb9f4fd21f
MD5 e8f265d47c7266e21ba9d453361f3f36
BLAKE2b-256 8cb15bdb7cb01ed768fcc8e728635f4e11cb8f52aa6a498b9290f0ac268cbc37

See more details on using hashes here.

Provenance

The following attestation bundles were made for greennode_agent_bridge-1.0.1-py3-none-any.whl:

Publisher: publish.yml on vngcloud/greennode-agent-bridge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page