You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/agentex/lib/cli/templates/default/README.md.j2
+23-2Lines changed: 23 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ This file is essential for both local development and deployment of your agent.
62
62
│ └── acp.py # ACP server and event handlers
63
63
├── Dockerfile # Container definition
64
64
├── manifest.yaml # Deployment config
65
+
├── dev.ipynb # Development notebook for testing
65
66
{%ifuse_uv%}
66
67
└── pyproject.toml # Dependencies (uv)
67
68
{%else%}
@@ -76,7 +77,27 @@ This file is essential for both local development and deployment of your agent.
76
77
- Add your own tools and capabilities
77
78
- Implement custom state management
78
79
79
-
### 2. Manage Dependencies
80
+
### 2. Test Your Agent with the Development Notebook
81
+
Use the included `dev.ipynb` Jupyter notebook to test your agent interactively:
82
+
83
+
```bash
84
+
# Start Jupyter notebook (make sure you have jupyter installed)
85
+
jupyter notebook dev.ipynb
86
+
87
+
# Or use VS Code to open the notebook directly
88
+
code dev.ipynb
89
+
```
90
+
91
+
The notebook includes:
92
+
- **Setup**: Connect to your local AgentEx backend
93
+
- **Task creation**: Create a new task for the conversation
94
+
- **Event sending**: Send events to the agent and get responses
95
+
- **Async message subscription**: Subscribe to server-side events to receive agent responses
96
+
- **Rich message display**: Beautiful formatting with timestamps and author information
97
+
98
+
The notebook automatically uses your agent name (`{{ agent_name }}`) and demonstrates the agentic ACP workflow: create task → send event → subscribe to responses.
99
+
100
+
### 3. Manage Dependencies
80
101
81
102
{%ifuse_uv%}
82
103
You chose **uv** for package management. Here's how to work with dependencies:
Copy file name to clipboardExpand all lines: src/agentex/lib/cli/templates/temporal/README.md.j2
+24-3Lines changed: 24 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,7 @@ This file is essential for both local development and deployment of your agent.
68
68
│ └── run_worker.py # Temporal worker setup
69
69
├── Dockerfile # Container definition
70
70
├── manifest.yaml # Deployment config
71
+
├── dev.ipynb # Development notebook for testing
71
72
{%ifuse_uv%}
72
73
└── pyproject.toml # Dependencies (uv)
73
74
{%else%}
@@ -82,12 +83,32 @@ This file is essential for both local development and deployment of your agent.
82
83
- Add your own tools and capabilities
83
84
- Implement custom state management
84
85
85
-
### 2. Develop Temporal Workflows
86
+
### 2. Test Your Agent with the Development Notebook
87
+
Use the included `dev.ipynb` Jupyter notebook to test your agent interactively:
88
+
89
+
```bash
90
+
# Start Jupyter notebook (make sure you have jupyter installed)
91
+
jupyter notebook dev.ipynb
92
+
93
+
# Or use VS Code to open the notebook directly
94
+
code dev.ipynb
95
+
```
96
+
97
+
The notebook includes:
98
+
- **Setup**: Connect to your local AgentEx backend
99
+
- **Task creation**: Create a new task for the conversation
100
+
- **Event sending**: Send events to the agent and get responses
101
+
- **Async message subscription**: Subscribe to server-side events to receive agent responses
102
+
- **Rich message display**: Beautiful formatting with timestamps and author information
103
+
104
+
The notebook automatically uses your agent name (`{{ agent_name }}`) and demonstrates the agentic ACP workflow: create task → send event → subscribe to responses.
105
+
106
+
### 3. Develop Temporal Workflows
86
107
- Edit `workflow.py` to define your agent's async workflow logic
87
108
- Modify `activities.py` to add custom activities
88
109
- Use `run_worker.py` to configure the Temporal worker
89
110
90
-
### 3. Manage Dependencies
111
+
### 4. Manage Dependencies
91
112
92
113
{%ifuse_uv%}
93
114
You chose **uv** for package management. Here's how to work with dependencies:
0 commit comments