Commit Graph

81 Commits

Author SHA1 Message Date
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
Steve Androulakis
5a3bfbd848 mock football data if no key (#37) 2025-05-27 10:47:50 -07:00
Steve Androulakis
847f4bbaef Review dallastexas92 nostripekey (#35)
* Update setup.md

Detail that the stripe key must be commented out in order to create a dummy invoice

* Update create_invoice.py

Remove the example invoice function as the 'else' statement already captures this

* Update setup.md

Edited verbiage for the create invoice explanation

* cover empty stripe api env

---------

Co-authored-by: Dallas Young <33672687+dallastexas92@users.noreply.github.com>
2025-05-26 14:13:59 -07:00
Steve Androulakis
05041f9433 prompt eng on money movement args 2025-04-25 07:25:29 -07:00
Steve Androulakis
0767533ca1 prompt goal fix: not money order 2025-04-25 07:17:17 -07:00
Steve Androulakis
7850af6be2 prompt engineering 2025-04-24 20:25:02 -07:00
Steve Androulakis
a29b100017 mucho fixes and prompt engineering 2025-04-24 20:16:24 -07:00
Joshua Smith
47c4b99f2c adjusting loan sample conversation 2025-04-22 15:16:33 -04: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
b4d57cfad6 Merge main changes into development 2025-04-21 09:56:58 -04:00
Joshua Smith
2a1624f621 back to claud 3.5
prompts and adding list-agents automatically in goal registry
fixing some finserv tool args
2025-04-21 09:55:45 -04:00
Joshua Smith
163477c066 Merge branch 'main' into ecommerce 2025-04-18 17:11:26 -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
Laine
4410f30642 Default to dummy data for tracking package 2025-04-17 10:09:58 -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
cf55f0eaee fixing some post-merge bugs 2025-04-17 08:59:15 -04:00
Joshua Smith
e5405907fa Merge branch 'ecommerce' into main 2025-04-17 08:52:17 -04:00
Joshua Smith
dddd2977b9 adding ecommerce to .env.example and some error handling in track_package 2025-04-13 17:03:50 -04:00
Joshua Smith
79dcd40dde well it kinda works 2025-04-12 15:41:47 -04:00
Joshua Smith
f0524f2b5f yeah this won't work 2025-04-11 17:45:46 -04:00
Joshua Smith
5b58f30e0d wip checkin 2025-04-11 17:43:34 -04:00
Laine
4e0ff0e535 Rename get_order_status to get_order, add ecommerce list orders goal 2025-04-11 17:14:10 -04:00
Laine
aba934e8b4 Initial add of ecommercie - order status goal and tools 2025-04-10 16:57:15 -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
Joshua Smith
40bd76e80f changes to be specific about travel scenarios, setup guidance about goal_categories, fixed a bug about llm selection in tool_activities.py, better comments 2025-03-28 15:33:56 -04:00
Joshua Smith
50d3e3d638 setup instructions for money movement/real workflow or fake, and some minor code cleanup 2025-03-27 11:22:17 -04:00
Joshua Smith
64f8a34d19 improved money movement scenario 2025-03-27 09:24:44 -04:00
Joshua Smith
a3ec7b045a adding move money scenario - still a bit rough but it works 2025-03-26 13:21:13 -04:00
Joshua Smith
4eeab32cb2 Merge branch 'development' of https://github.com/joshmsmith/temporal-ai-agent into development 2025-03-20 13:37:57 -04:00
Joshua Smith
c3084eec41 adding fin goals and tools 2025-03-20 13:37:51 -04:00
Laine
d8a8fe44f9 Add additional hints 2025-03-19 15:28:20 -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
bd1cfbad01 two more HR scenarios added 2025-03-18 15:44:03 -04:00
Laine
f2ab6c03e8 Remove sample conversation re: conflict checking 2025-03-18 09:18:16 -04:00
Laine
c1b662090d Add pirate treasure goal and more info to documentation re: how to make goals and tools 2025-03-17 16:01:30 -04:00
Laine
5f8f81a15d Move HR-related tools to their own folder, add print statement for BookPTO functionality, and add SILLY_MODE 2025-03-14 10:20:11 -04:00
Laine
ece3ac1d3c Add the category tag to the goals and example env file, and filter the results based on tags in list_agents 2025-03-13 14:53:03 -04:00
Laine
a7a90c3289 Add functionality to future_pto_calc, remove calendar_conflict step from goal 2025-03-13 14:19:13 -04:00
Laine
5c3bfcf957 Add source mocked data file, make current_pto tool functional, rename future_pto to future_pto_calc 2025-03-13 11:33:38 -04:00
Laine
ea1ad383bb Add in bare bones yet functional HR goal: goal_hr_schedule_pto 2025-03-12 16:54:13 -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
fdf5550ea3 Add "done" back in for prompts, remove argument from ListAgents tool def 2025-03-12 09:01:31 -04:00
Laine
8db1dcd4a7 Dynamically generate list of agents, try to fix goal changing flow 2025-03-11 14:48:39 -04:00
Laine
804568e366 Rename ChooseAgent tool to ListAgents 2025-03-11 10:41:22 -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
Laine
d09db9f11f Move where goal is set, make dummy data default for create_invoice 2025-03-05 17:24:18 -05:00