Example
groundforgeai/demo
Follow the full setup in LangChain Agent Example.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Initialize GroundForge around a LangChain or LangGraph Agent.
import os
from groundforge_langchain import init as init_groundforge
runtime = init_groundforge(
agent=agent,
endpoint="https://platform.groundforge.ai",
api_key=os.environ["GROUNDFORGE_API_KEY"],
agent_id=os.environ["GROUNDFORGE_AGENT_ID"],
tenant_id=os.environ["GROUNDFORGE_TENANT_ID"],
workspace_id=os.environ["GROUNDFORGE_WORKSPACE_ID"],
name="Weather Agent",
execution_mode="managed_intake",
serve=False,
)
result = agent.invoke(
{"messages": [{"role": "user", "content": "What is the weather in Ottawa?"}]}
)
