72 Commits

Author SHA1 Message Date
Steve Androulakis
98a1b75dff Fix mcp native tool goals (#58)
* frontend ui error configurable timeout

* fixed bug where goals with MCP stopped native tools from executing
2025-09-28 12:20:36 -07:00
Dan Davison
3c71a062fd Improve implementation of is_mcp_tool (#53) 2025-09-04 09:54:12 -07:00
Steve Androulakis
5d55a9fe80 Model Context Protocol (MCP) support with new use case (#42)
* initial mcp

* food ordering with mcp

* prompt eng

* splitting out goals and updating docs

* a diff so I can get tests from codex

* a diff so I can get tests from codex

* oops, missing files

* tests, file formatting

* readme and setup updates

* setup.md link fixes

* readme change

* readme change

* readme change

* stripe food setup script

* single agent mode default

* prompt engineering for better multi agent performance

* performance should be greatly improved

* Update goals/finance.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update activities/tool_activities.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* co-pilot PR suggested this change, and now fixed it

* stronger wording around json format response

* formatting

* moved docs to dir

* moved image assets under docs

* cleanup env example, stripe guidance

* cleanup

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-09 16:39:57 -07:00
Steve Androulakis
eb06cf5c8d Enhance Dev Experience and Code Quality (#41)
* Format codebase to satisfy linters

* fixing pylance and ruff-checked files

* contributing md, and type and formatting fixes

* setup file capitalization

* test fix
2025-06-01 08:54:59 -07:00
Joshua Smith
823208db3c - adding Steve's updated confirm box UI
- goal prompts and agent changes to smooth out that interaction and remove listagents duplication
adding extra confirmation for money movement tool
2025-04-22 12:22:42 -04:00
Joshua Smith
d48dafcaa5 - fixes for multi-goal:post first real goal goal switch: duplicate listagents behavior from the toolplanner
- adding ecommerce initial guidance
- fixed new-goal guidance prompts for multi-goal mode
- (minor) fixed abug in money movement so it won't connect to temporal cloud if it's not doing a real workflow
- (minor) fixed abug in loan application so it won't connect to temporal cloud if it's not doing a real workflow
- some todo notes cleanup
2025-04-18 17:08:44 -04:00
Joshua Smith
32e856e494 fixing second goal selection loop with prompts 2025-04-17 15:20:17 -04:00
Laine
77942b19a1 Merge branch 'ecommerce' of https://github.com/joshmsmith/temporal-ai-agent into ecommerce 2025-04-17 09:19:33 -04:00
Laine
247bac0a28 Try to fix multiple ListAgents steps 2025-04-17 09:19:29 -04:00
Joshua Smith
6f245a1998 Merge branch 'development' into main 2025-04-17 08:48:15 -04:00
Joshua Smith
86a6dfe991 renaming signal from confirmed to confirm 2025-04-17 06:00:17 -04:00
Joshua Smith
83c6a2454d 1. These aren't the tests you're looking for
2. fixing confirmed signal for now
2025-04-17 05:57:55 -04:00
Joshua Smith
812e295f3a switching to method activity calls 2025-04-14 09:27:33 -04:00
Joshua Smith
c18a40b502 - dynamic agent prompt based on multi goal or not
- made choose_agent_goal be dynamically included
- made tool selection not be required in all toolchains
- changes to get env vars easier in workflow
- Updated docs/guides, todo based on aboe
2025-04-08 15:01:11 -04:00
Joshua Smith
87b5699dc1 documentation & guidance updates, getting things done, fixing a possible NDE if you change env vars, changes to enable user picking "done", minor test changes, minor goal selection prompt improvements 2025-04-03 15:54:44 -04:00
Laine
3debef5781 Add clarification re: format of start and end dates, and (probably?) fix non-determinism error caused by SHOW_CONFIRM 2025-03-19 12:48:49 -04:00
Joshua Smith
850404e0d5 updaates to readme, docs, added some logging in case goal setting goes bad 2025-03-19 08:08:38 -04:00
Joshua Smith
9ead007849 change logging to info unless there needs to be a warning 2025-03-14 10:16:16 -04:00
Joshua Smith
36894c91f9 cleaning up workflow code 2025-03-14 10:13:07 -04:00
Laine
380581b0d9 Part two of making confirmation optional - add flag to ToolData so the button won't show in the UI 2025-03-12 13:22:04 -04:00
Laine
a488bbac23 Use False, not Off 2025-03-12 12:50:44 -04:00
Laine
02a63917b2 Part of one of making confirmation optional - auto-confirm but still show everything 2025-03-12 12:49:00 -04:00
Laine
504361a5a7 Add a bunch of logging and comments re: what's happenin' 2025-03-12 11:25:57 -04:00
Laine
df58eee9d4 Change to use goal_list in the api code, add list_agents to the other goal as the last tool 2025-03-12 09:40:56 -04:00
Laine
947c5cd0f7 Take out specific goals, add back in elif done so the workflow ends 2025-03-12 09:20:09 -04:00
Joshua Smith
c0a874b90e added some workflow debugging, converted from "done" to pick-new-goal and updated prompts 2025-03-11 15:52:47 -04:00
Laine
3ff3b60b5e Merge branch 'development' of https://github.com/joshmsmith/temporal-ai-agent into development 2025-03-11 14:50:30 -04:00
Laine
8db1dcd4a7 Dynamically generate list of agents, try to fix goal changing flow 2025-03-11 14:48:39 -04:00
Joshua Smith
39dabaa81b Merge branch 'development' of https://github.com/joshmsmith/temporal-ai-agent into development 2025-03-11 14:02:22 -04:00
Joshua Smith
b2e4999562 adding and clarifying comments 2025-03-11 13:02:08 -04:00
Laine
f13ed70bfe Change instructions to AI to handle switching back to ListAgents when done with tool chain 2025-03-11 12:02:26 -04:00
Joshua Smith
64ffe7f635 clean up logging and comments 2025-03-11 10:32:28 -04:00
Joshua Smith
6939e3f942 log less chatgpt stuff and actually change the goal 2025-03-11 10:03:45 -04:00
Laine
8fafe4b090 Change agent goal to be an element of the workflow, including query 2025-03-11 09:07:25 -04:00
Laine
4117d5d62d Add new goal to choose agent type - only kind of working 2025-03-07 16:12:21 -05:00
Joshua Smith
64d2a92630 more understanding 2025-03-07 09:58:25 -05:00
Joshua Smith
4c933b5052 making plans 2025-03-07 09:46:22 -05:00
Steve Androulakis
71fe9925a8 activity init function to load llm client only once 2025-02-28 07:08:18 -06:00
Steve Androulakis
6fc43a4593 rollback to claude sonnet 3.5 and slight timeout changes 2025-02-25 08:23:09 -06:00
Steve Androulakis
08672d79e3 merged old agent goal in with keynote goal 2025-02-20 15:30:54 -08:00
Steve Androulakis
d996927855 refactor workflow file for clarity 2025-02-16 07:45:44 -08:00
Steve Androulakis
355203c8fd prompt strings out of workflow file 2025-02-16 07:14:49 -08:00
Steve Androulakis
b37d158770 renaming workflows and activities 2025-02-15 12:12:39 -08:00
Steve Androulakis
4776d29d0f support fixtures search for date range, prompt engineering 2025-02-15 07:35:14 -08:00
Steve Androulakis
d6bbb900b7 tcloud compatibility, dotnet bug fixes 2025-02-14 11:10:16 -08:00
Rob Holland
87e22d3360 Use legacy queue for both train APIs. 2025-02-13 13:23:06 +00:00
Rob Holland
95d00d86d6 Add second task queue to make demo easier.
Legacy (initially broken) activity will run on this task queue.
2025-02-13 13:18:38 +00:00
Steve Androulakis
34924e8008 tuning start to close for llm 2025-02-09 19:29:09 -08:00
Steve Androulakis
2f8a7e9222 policy tuning (fast activity retries) 2025-02-04 15:05:54 -08:00
Steve Androulakis
0db358df47 minor code improvements to workflow 2025-02-04 09:57:52 -08:00