Skip to content

Sync main with internal feature work (16 MRs)#5

Merged
fede-kamel merged 1 commit into
mainfrom
feat/sync-orahub-to-github
Apr 29, 2026
Merged

Sync main with internal feature work (16 MRs)#5
fede-kamel merged 1 commit into
mainfrom
feat/sync-orahub-to-github

Conversation

@fede-kamel
Copy link
Copy Markdown
Contributor

Pulls the internal repo's main tree onto github/main as a single sync commit. Two histories diverged at the public release; this lands all the work that's been merged internally so the docs site deploys to GitHub Pages.

What's included

  • feat(structured-output): output_schema= on Agent, parsed / parsed_as on AgentResult, native response_format on OpenAI / OCI, tool-use translation on Anthropic, validate-and-repair retries, StructuredStream partial parsing.
  • feat(termination): wire AgentConfig.termination into the agent loop (| / & algebra).
  • feat(idempotent): apply @tool(idempotent=True) dedup in Agent.run(); ToolExecution.idempotent_cache_hit.
  • feat(playbooks): PlaybookEnforcerHook + Agent(playbook=...) auto-install.
  • feat(agent): wire auxiliary_model into max-iterations summary + grounding eval.
  • feat(graph): real intermediate-event streaming in StateGraph.stream(); new emit_custom API + StreamMode.CUSTOM.
  • feat(server): GET / DELETE /threads/{tid} with bearer-principal scoping.
  • fix(imports): from locus import Reflexion + ModelRetryHook / SteeringHook re-exports.
  • test: live coverage across OCI v1 (5 model families), OCI native SDK (Cohere R+), OpenAI direct, Anthropic direct.
  • test(tutorials): 37 / 37 tutorials run end-to-end against a real model.
  • docs: full Material-themed website with multi-agent patterns, provider pages, observability, server, evaluation pages — 52 HTML pages — plus brand assets.

Verification

  • ~3000 unit tests green
  • 40+ live integration tests across providers
  • Strict mkdocs build clean (52 HTML pages, 8.9 MB)
  • ruff + mypy clean

Tone tweak on the homepage: replaced "agent stack you'd actually let near a credit card" with production-grade language Oracle customers will recognise.

Pulls orahub/main's tree onto github/main as a single sync commit.
Two histories diverged at the public release; this lands all the
work merged on orahub today on the public mirror so the docs site
deploys to GitHub Pages.

Feature-level summary (each landed as its own MR on orahub):

- feat(structured-output): output_schema= on Agent, parsed/parsed_as
  on AgentResult, response_format on OpenAI/OCI, tool-use translation
  on Anthropic, validate-and-repair retries, StructuredStream partial
  parsing
- feat(termination): wire AgentConfig.termination into the agent loop
- feat(idempotent): apply @tool(idempotent=True) dedup in Agent.run()
- feat(playbooks): PlaybookEnforcerHook + Agent(playbook=...) auto-install
- feat(agent): wire auxiliary_model into max-iterations summary +
  grounding eval
- feat(graph): real intermediate-event streaming in StateGraph.stream()
  via async-queue sink + emit_custom + StreamMode.CUSTOM
- feat(server): GET / DELETE /threads/{tid} with principal scoping
- fix(imports): from locus import Reflexion + hook re-exports
- test(integration): live coverage across OCI v1, OCI native SDK,
  OpenAI direct, Anthropic direct
- test(tutorials): every tutorial_NN_*.py runs against a real model
- docs: full Material-themed website with multi-agent patterns,
  provider pages, observability, etc.
- docs: walk back fabricated claims

Tone tweak on the homepage: replace "agent stack you'd actually let
near a credit card" with production-grade language Oracle customers
will recognise.
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 29, 2026
@fede-kamel fede-kamel merged commit bb4e358 into main Apr 29, 2026
1 check passed
@fede-kamel fede-kamel deleted the feat/sync-orahub-to-github branch April 29, 2026 22:56
fede-kamel added a commit that referenced this pull request May 4, 2026
Two threads in one commit (small enough to cohabitate):

1) Subtitle: drop "Orchestrator" everywhere — locus is the
   "Multi-Agent Reasoning SDK". Updated docs/img/logo.svg,
   docs/stylesheets/locus.css (CSS-injected docs header subtitle),
   sandbox/web/index.html brand-tag, and the playwright assertion
   in sandbox/e2e/tests/sandbox.spec.ts so the e2e test still passes.

2) Six things you can ship — swap two weak sections for two
   genuinely-shipped, peer-differentiated tutorials:

   - "Claims grounded …" (Reflexion+Grounding) → "Map-reduce a
     code-review crew" (tutorial 42). Send fan-out is shorter than
     LangGraph's routing function + targets dict; this is locus's
     most ergonomically-distinct primitive.
   - "Agent meshes across teams …" (A2A, niche audience) → "An
     incident runbook in one graph.execute()" (tutorial 46) — Send
     scatter to 3 investigators, severity gate, interrupt() for
     human approval, typed Postmortem.
   - "Day-one production deployment" (Agent Server) → "Voice in.
     Voice out." (tutorial 50) — multimodal gpt-audio in one
     chat-completions round-trip; net-new vs every peer SDK.

   Kept #2 idempotent tools, #3 handoff (now linking tutorial 45 too
   for the meatier HITL example), and #5 termination algebra
   verbatim — those three are the genuine differentiators the audit
   surfaced.

   The reflexion=True example was honest as code (the validator now
   coerces correctly post-d18d52f) but advertised result.grounding_score
   that the SDK doesn't surface that cleanly today; pulling it out of
   the marquee until the surface stabilises.

Signed-off-by: Federico Kamelhar <federico.kamelhar@oracle.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant