Skip to main content
Demo coding agent using ACP.

uom_deep_agent.uom_agent.get_example_input

View Source Load input from a file, with caching.

uom_deep_agent.uom_agent.configurable_model

View Source A wrapper middleware for deepagents model calls that dynamically configures the target ChatModel. It extracts the provider/model string from the runtime context, configures OpenAI/Ollama settings, loads the correct chat model, and forwards the overridden request. Arguments:
  • request - The dynamic model invocation request containing context.
  • handler - The downstream handler callable to execute the model call.
Returns:
  • ModelResponse - The generated response from the configured model.

uom_deep_agent.uom_agent.custom_system_prompt

View Source Always append the system prompt from the runtime context to the system prompt from the request.

uom_deep_agent.uom_agent.build_deep_agent

View Source Build and assemble the DeepAgent workspace graph, wrapping it with specialized sub-agents and tools. Arguments:
  • model - The base language model to use for core agent reasoning.
  • dotnet_sandbox - Pre-allocated Daytona sandbox instance for C# compilation.
  • java_sandbox - Pre-allocated Daytona sandbox instance for Java Maven compilation.
  • extra_middleware - Optional list of additional middleware handlers to register.
  • checkpointer - Optional persistence checkpointer for the graph’s execution state.
  • context - Optional agent session context containing custom rules and current mode.
Returns:
  • DeepAgent - The constructed and compiled DeepAgent workspace graph instance.

uom_deep_agent.uom_agent.build_uom_agent

View Source Builds the Universal Object Mapping Assistant using LangChain’s DeepAgents SDK.