Commit graph

27 commits

Author SHA1 Message Date
Nate Barbettini
d90101ea70
Fix authorized tools (#14)
A few quick fixes while testing the gmail tool with the real Engine:
- Renamed `tool.requirements.auth` to `authorization` -- Engine already
used `authorization`
- Fixed the credentials initializer in the gmail tool
2024-08-16 17:13:44 -07:00
Sam Partee
35baaf0dc8
Pass ToolContext and CLI cleanup (#13)
Added
-  `arcade dev` - serves a simple fastapi actor
- `arcade config` - show/edit/change config in `~/.arcade`
- `arcade chat` - chat with LLM without toolcalls

Changed:
- `arcade show`, `arcade run` - can now use all installed toolkits

---------

Co-authored-by: Nate Barbettini <nate@arcade-ai.com>
2024-08-13 15:40:08 -07:00
Nate Barbettini
554f47cfd7
Spike FlaskActor and cleanup of BaseActor (#12)
Cleanup and refactor of actor abstraction and
related classes/methods


[ committed by @Spartee ]
[ Authored by @nbarbettini ]
2024-08-05 13:26:56 -07:00
Nate Barbettini
14998a43e3
Add ToolContext and OAuth tool support (#10)
- Adds initial `ToolContext` to tool invocations
- This unlocks the ability to call authenticated tools (e.g. Gmail),
which works in this branch against Nate's dev engine
2024-08-02 11:25:08 -07:00
Nate Barbettini
1b67cee667
JWT auth for Engine->Actor communication (#11)
Implements:
https://app.clickup.com/9014390315/v/dc/8cmtbhb-2714/8cmtbhb-5974

Todo:
- [x] Initial demo
- [x] Get API key config from `arcade.config`
- [x] Get engine URL from config
- [x] Final cleanup
- [ ] Enforce auth for all requests (waiting for engine)
2024-08-01 09:14:37 -07:00
Sam Partee
41cc749a6e
Cleanup Examples (#9) 2024-07-26 00:23:25 -07:00
Nate Barbettini
8254489879
Format multi-line docstrings (#6)
Fix issue with multi-line docstrings and write format

[ authored by @nbarbettini ]
[ committed by @Spartee ]
2024-07-26 00:02:40 -07:00
Sam Partee
90f1146968
Cleanup examples and README (#8)
As the title states.

Also added in a prompt/execute capabiltiy into the CLI for the ``arcade
run`` command

Committed by @nbarbettini 
Original work by @Spartee
2024-07-24 09:10:31 -07:00
Sam Partee
8964111023
Refactor into library approach (#7)
This PR makes a few sweeping changes to the actor, cli, and overall
structure of the project.

- CLI commands skeleton 
- ``arcade run``, ``arcade show``, and ``arcade new``
- Working package mangement solution (``arcade_`` packages)
- Actor approach for using frameworks other than FastAPI
- Client for calling Engine within ``arcade/core``
- beginning of the config interface.

---------

Co-authored-by: Nate Barbettini <nate@arcade-ai.com>
2024-07-23 16:26:54 -07:00
Sam Partee
4b469eaa66
CI pipeline (#4)
Start of the CI/CD workflow for the python library and actor.

Covered:
- multiple python versions with Tox (3.10+) and pytest
- Docs eventually with mkdocs (commented out for now)
- Linting and formatting with Ruff and prettier
- Codecov
- include the mypy checks when the mypy errors are resolved.
2024-07-16 17:36:32 -07:00
Sam Partee
28fe56cfc1
MyPy Compliant (#5)
MyPy compliance for the whole codebase

- systematic way of executing tools (`executor.py`)
- support for using pydantic models in tool inputs and outputs
- mypy compliance (most of the changes)
- removal of unused code (from previous iterations)

Co-authored-by: Nate Barbettini <nate@arcade-ai.com>
2024-07-16 17:01:38 -07:00
Sam Partee
7f3abfd1f9
Tool SDK, Schemas (#2)
Co-authored-by: Nate Barbettini <nathanaelb@gmail.com>
2024-07-14 23:37:46 -07:00
Sam Partee
a5decd4483 Minor Cleanup 2024-06-04 09:05:18 -07:00
Sam Partee
5a3c28ab5e checin 2024-05-15 18:15:33 -07:00
Sam Partee
16c8156f98 multiple branch example 2024-05-14 21:47:10 -07:00
Sam Partee
2e4542c260 checkin 2024-05-10 19:05:15 -07:00
Sam Partee
6272a426f1 4 simple flows working 2024-05-08 21:25:23 -07:00
Sam Partee
ea708d62f0 Working product example 2024-05-03 18:59:59 -07:00
Sam Partee
8b3d977bcd Working pre-specified flow 2024-05-02 19:40:05 -07:00
Sam Partee
2e5e5ef7c8 more tools in sql example 2024-05-01 23:53:53 -07:00
Sam Partee
41b783ef2e Sql chat example 2024-04-29 21:28:58 -07:00
Sam Partee
8b62119cb2 CLI fix 2024-04-26 15:37:15 -07:00
Sam Partee
31d9fbf020 README 2024-04-26 15:35:08 -07:00
Sam Partee
fcb3e99f34 README 2024-04-26 15:26:32 -07:00
Sam Partee
4d446bccb1 Serving multiple tools and builtins with data m 2024-04-26 15:23:35 -07:00
Sam Partee
9ba728f755 Working read email call 2024-04-25 18:20:31 -07:00
Sam Partee
56531cbd18 initial commit 2024-04-22 14:13:09 -07:00