Commit a484c0a
Minimal Claude Agent SDK support (#212)
* Add Claude SDK dependencies and env vars
* Add minimal Claude activity wrapper
* Add Claude MVP example workflow and worker setup
* Add basic text streaming to UI
* Add MVP documentation and roadmap
* Fix manifest validation - add required fields and Docker config
* Fix import: StreamTaskMessageDelta is in task_message_update
* Use relative workspace path and fix determinism issue
* Fix workflow import path
* Add .gitignore for workspace and env files
* works but no context
* claude sdk tool callign. works!
* Add session resume, tool call streaming, and subagent support
- Session resume: Maintain conversation context across turns via session_id
- Tool streaming: Stream ToolRequestContent/ToolResponseContent to UI
- Handle UserMessage as tool results (when permission_mode=acceptEdits)
- Subagent support: Task tool with nested tracing spans
- Add AgentDefinition imports and example subagents (code-reviewer, file-organizer)
- Update documentation with subagent examples
- Fix ContextInterceptor to support run_claude_agent_activity
* Fix AgentDefinition serialization - reconstruct dataclass instances in activity
* Fix tracing API - use adk.tracing.span() directly
* subagent tracing support
* working state, updated readme
* fix context contuinuiation
* logging cleanup
* switch from manual parsing to hooks
* claude agent sdk readme updated
* fix linting
* update docs with caveats
* updated agent workspace logic
---------
Co-authored-by: Prassanna Ravishankar <prassanna.ravishankar@scale.com>1 parent fb9c0f9 commit a484c0a
File tree
19 files changed
+1592
-4
lines changed- examples/tutorials/10_async/10_temporal/090_claude_agents_sdk_mvp
- project
- workspace
- src/agentex/lib
- core/temporal/plugins
- claude_agents
- hooks
- openai_agents/interceptors
19 files changed
+1592
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 53 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
0 commit comments