Real Application Harness Examples
These examples show OmniCoreAgent as an application-facing agent harness, not a toy loop. Each app combines domain behavior with the built-in runtime pieces it needs: local tools, workspace files, tool offloading, guardrails, telemetry identifiers, and file commands.Examples
Run an Example
trace_id and run_id. Workspace examples also print or create files under the
configured workspace.
The examples default to the provider/model from cookbook/shared.py. Override them with:
Why these examples exist
Application builders need to see where OmniCoreAgent owns the base harness and where their application code plugs in.- App code provides domain tools, instructions, data sources, and business rules.
- OmniCoreAgent provides the model loop, tool execution, workspace files, structured observations, offloading, telemetry, memory, and guardrails.
- The same application pattern can be served through OmniServe with
cookbook/omniserve/real_application_agent.py. - The same application pattern can run as a background task with
cookbook/background_agents/real_application_background_task.py.