-
Notifications
You must be signed in to change notification settings - Fork 0
custom activity example #59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
abcd743 to
a4bcc76
Compare
|
🙏 |
a4bcc76 to
4ab804d
Compare
4ab804d to
be4e2e5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR creates a new tutorial example demonstrating how to implement a custom Temporal activity within an agentic ACP agent. It's a clone of the 010_agent_chat tutorial but with a custom activity implementation instead of using built-in activities.
Key changes:
- Implements a custom Temporal activity
special_run_agentfor agent execution with streaming - Creates a complete workflow that uses the custom activity for processing chat interactions
- Adds comprehensive project structure with configuration files, development tools, and deployment manifests
Reviewed Changes
Copilot reviewed 12 out of 15 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Project configuration with dependencies for the custom agent tutorial |
| project/workflow.py | Main workflow implementation using the custom activity |
| project/special_run_agent.py | Custom Temporal activity for agent execution with streaming support |
| project/run_worker.py | Worker setup that registers the custom activity |
| project/acp.py | ACP server configuration for Temporal integration |
| manifest.yaml | Agent deployment configuration and metadata |
| example.env | Environment variable template |
| dev.ipynb | Development notebook for testing the agent |
| README.md | Tutorial documentation |
| Makefile | Development commands |
| Dockerfile | Container build configuration |
| .dockerignore | Docker build context exclusions |
examples/tutorials/10_agentic/10_temporal/011_custom_agent_chat/Dockerfile
Outdated
Show resolved
Hide resolved
examples/tutorials/10_agentic/10_temporal/011_custom_agent_chat/Dockerfile
Outdated
Show resolved
Hide resolved
examples/tutorials/10_agentic/10_temporal/011_custom_agent_chat/project/special_run_agent.py
Outdated
Show resolved
Hide resolved
examples/tutorials/10_agentic/10_temporal/011_custom_agent_chat/project/special_run_agent.py
Outdated
Show resolved
Hide resolved
examples/tutorials/10_agentic/10_temporal/011_custom_agent_chat/project/special_run_agent.py
Outdated
Show resolved
Hide resolved
examples/tutorials/10_agentic/10_temporal/011_custom_agent_chat/project/special_run_agent.py
Outdated
Show resolved
Hide resolved
|
thank you for spending your time on this! |
clone of 010_agent_chat, but using a custom implemented temporal activity