Repository navigation
docs(cookbook): add Oracle Agent Spec × Memory recipe - #5521
Merged
Merged
Conversation
Adds a cookbook recipe showing how to define an agent once in Oracle Agent Spec, run it on LangGraph over AG-UI, give it long-term memory on Oracle AI Database, and render it in CopilotKit. Registers the page in the cookbook sidebar (meta.json) and overview (index.mdx). Draft: live-demo video pending CDN upload; example source repo (CopilotKit/oracle-cookbook) pending publish. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📣 Social Copy GeneratorGenerate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.
|
Contributor
Production Digest-Pinning Audit12 of 41 service(s) not digest-pinned.
Run 2026-06-18 18:52:34 PDT — 12 finding(s). |
2 tasks
Retitles to 'Build an Agentic Travel App with Oracle Agent Memory, Agent Spec, and CopilotKit' and syncs the recipe with the latest example: adds the memory-ownership diagram + 'what's CopilotKit, what's Oracle' section, documents memory reconciliation/supersession, and updates booking + multi-turn guidance (follow-ups now work via a server-side history-replace). Keeps the CDN media + clone conventions. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…cases/oracle-agent-memory
4 tasks done
jerelvelarde
marked this pull request as ready for review
June 18, 2026 23:40
jerelvelarde
requested review from
jpr5,
marthakelly,
mme,
ranst91 and
tylerslaton
as code owners
June 18, 2026 23:40
@copilotkit/a2ui-renderer
@copilotkit/agentcore-runner
@copilotkit/angular
@copilotkit/bot
@copilotkit/bot-discord
@copilotkit/bot-slack
@copilotkit/bot-ui
@copilotkit/core
@copilotkit/react-core
@copilotkit/react-native
@copilotkit/react-textarea
@copilotkit/react-ui
@copilotkit/runtime
@copilotkit/runtime-client-gql
@copilotkit/sdk-js
@copilotkit/shared
@copilotkit/sqlite-runner
@copilotkit/voice
@copilotkit/vue
@copilotkit/web-inspector
commit: |
…oken CDN image dependency)
tylerslaton
approved these changes
Jun 19, 2026
jerelvelarde
added a commit
that referenced
this pull request
Jun 30, 2026
Runnable companion to the #5521 cookbook recipe — a portable Oracle Agent Spec agent on LangGraph over AG-UI, long-term memory on Oracle AI Database, and a CopilotKit V2 frontend (generative UI + HITL booking). Lives beside `daytona-runcode`. - `agent/` — Python (uv) Agent Spec agent + FastAPI AG-UI server - `frontend/` — Next.js CopilotKit V2 chat (flight cards, recall chip, HITL booking) - `db/` — Oracle AI Database (Free image) + cookbook-user init - `docker-compose.yml` (local Oracle) + per-service `railway.json` ✅ Live cross-session recall verified working on the hosted demo (a preference taught in one thread is recalled in a fresh thread). ### Pre-merge follow-ups — resolved ✅ - [x] **Workspace deps** — the frontend builds standalone (`npm ci` + `next build` ✓ inside the monorepo). It ships its own `package-lock.json` and is intentionally excluded from the pnpm workspace (the `daytona-runcode` / `shell-dashboard` convention), so the published prerelease `@copilotkit/*` resolve and no `workspace:*`/`catalog:` is needed. - [x] **Promote SSOT** — the live demo is hosted independently (not part of CopilotKit's Railway promote fleet), so no `showcase/scripts/railway-envs.ts` entry is required. - [x] **`db/build-and-push.sh`** — default image namespace genericized to an `OWNER` placeholder (still `IMAGE`-overridable). - [x] **Oracle license** — `db/Dockerfile` and `build-and-push.sh` both document that the built image must stay in a PRIVATE registry (re-publishing the Oracle base image violates the license). > The Vercel preview deploys and `fork-pr-monitor` fail because this is a cross-fork PR (forks can't access deploy secrets) — not code issues. `config-allowlist` is fixed. Docs: #5521.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the "Build an Agentic Travel App with Oracle Agent Memory, Agent Spec, and CopilotKit" cookbook recipe, alongside
daytona.mdxand following the same section pattern (Try it live → Prerequisites → setup → Try it → key code → Going further → coding-agent prompt).It wires together:
pyagentspec)ag_ui_agentspecadapter, served over AG-UI (SSE)oracleagentmemory) so the agent remembers across sessionsHttpAgentThe example is a travel concierge that recalls your preferences across sessions, searches flights, and books them with a human-in-the-loop confirmation card that stamps into a boarding pass.
Try it live
Embeds the hosted demo as a live
<iframe>— cross-session recall verified working end-to-end (teach a preference in one thread, open a new thread, it recalls from Oracle AI Database).Files
cookbook/oracle-agent-spec-memory.mdx(new)cookbook/meta.json— sidebar entrycookbook/index.mdx— overview cardCompanion code
#5563 adds the runnable demo at
examples/showcases/oracle-agent-memory(Python agent + Next.js frontend + Oracle AI Database), besidedaytona-runcode. The recipe's "Get the code" links point there.No external asset dependencies
<iframe>— no CDN video to upload.Caveat kept honest in the doc
Verified
book_flightis a CopilotKit ClientTool (useHumanInTheLoop) — the confirm→book HITL resolves in a single agent run. Multi-turn follow-ups work via a server-side full-history replace that sidesteps an upstream Agent Spec × AG-UItool_call_idcorrelation bug (documented inline + in feat(examples): add oracle-agent-memory showcase #5563's known-issues).🤖 Generated with Claude Code