groundforgeai/demo
The
simple_agent_service_adapter.py example uses explicit input and output adapters.Why use an adapter?
Automatic mode works when the Agent accepts normal message state and returns a normal final assistant message. Use adapters when your Agent expects a different state object or returns a custom result.Input adapter
The GroundForge job contains normalized input. The demo reads only the field it needs:user_id, tenant metadata, or application metadata unless your own Channel contract explicitly supplies them.
Output adapter
Run the example
Use the same environment variables as the previous page:Screenshot placeholderRead SDK Inputs and Outputs for the adapter hooks.
Add/images/examples/langchain-adapter-trace.pngshowing Channel input, Agent execution, and Channel output.

