Skip to content

Conversation

@charlotte-zhuang
Copy link

@charlotte-zhuang charlotte-zhuang commented Aug 6, 2025

clone of 010_agent_chat, but using a custom implemented temporal activity

This comment was marked as outdated.

@charlotte-zhuang charlotte-zhuang force-pushed the c/examples/custom_activity/0 branch from abcd743 to a4bcc76 Compare August 6, 2025 00:32
@MichaelSun48
Copy link
Contributor

🙏

@charlotte-zhuang charlotte-zhuang force-pushed the c/examples/custom_activity/0 branch from a4bcc76 to 4ab804d Compare August 7, 2025 19:26
@charlotte-zhuang charlotte-zhuang force-pushed the c/examples/custom_activity/0 branch from 4ab804d to be4e2e5 Compare August 7, 2025 19:30
@charlotte-zhuang charlotte-zhuang changed the title DO NOT MERGE: custom activity examples custom activity example Aug 7, 2025
@charlotte-zhuang charlotte-zhuang marked this pull request as ready for review August 7, 2025 22:53
Copy link

Copilot AI left a 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_agent for 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

@smoreinis
Copy link
Contributor

thank you for spending your time on this!

@charlotte-zhuang charlotte-zhuang marked this pull request as draft August 11, 2025 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants