Connectors
Connect a Google account and Akili can read your Drive and your mail, save what it makes into Drive, and draft replies β which you read and send yourself.
/connectors what is connected
/connectors connect google sign in, in your browser
/connectors disconnect google forget the account
Connecting opens your browser, waits for Google to hand back, and stores the result on your machine only (readable by your account alone). Nothing is pasted.
What it can do
| Read documents you wrote in Drive | yes |
| Save a document it made into Drive | yes |
| Overwrite a file it only read | no |
| Read your mail | yes |
| Draft a reply | yes |
| Send mail on its own | no β there is no tool for it |
| Send a draft after you read it and press s | yes |
Things to ask
do I have any unread email from Ken?
read the Q3 brief in my Drive and turn it into a five-slide deck, then put it back in Drive
find the auditor's email from last week and draft a reply answering their three questions
The Drive and Gmail tools appear in Build and Work only while an account is connected. With nothing connected they do not exist, so the agent writes files to disk and tells you where β instead of trying a call that cannot work.
Reviewing and editing a draft
When Akili writes a message, the run finishes and then the message is shown:
ββββββββββββββββββββββββββββββββββββββββ
To amina@example.com
Re Contract β signed copy and payment terms
ββββββββββββββββββββββββββββββββββββββββ
Thanks Amina β signed copy by Thursday.
ββββββββββββββββββββββββββββββββββββββββ
[s]end Β· [e]dit Β· [r]evise with Akili Β· [c]opy Β· [o]pen in Gmail Β· [d]iscard Β· [β΅] keep
e edits in place: the recipient, subject and body open already filled in. Move with the arrow keys, change what needs changing, press Enter to keep a field. In the body, up and down move between lines and Alt+Enter adds a new line. Ctrl+C cancels and keeps nothing of the edit.
r revises with Akili: say what should change β warmer, shorter, mention Thursday at 10 β and the body is rewritten for you to review again. It is one model call with no tools; it cannot send or save anything else.
Every change is saved to the Gmail draft straight away, because s sends the draft Gmail holds. If a save fails, the panel says so and refuses to send until it succeeds. s then asks once more, naming the recipient β a wrong address is the mistake you cannot take back. d deletes the draft from Gmail; Enter keeps it.
Being exact about sending. The agent has a tool that saves drafts and no tool that sends. The only way a message reaches an inbox is the review panel above, after a person has read it. That promise is kept by Akili Code rather than by Google's permissions β the account is granted gmail.send so that the panel's send button can work.
Permissions it asks Google for
| Scope | Used for |
|---|---|
drive.readonly | Reading documents you already have |
drive.file | Saving new files β and only changing files Akili created |
gmail.readonly | Reading and searching mail |
gmail.compose | Saving drafts |
gmail.send | The review panel's send button β never a tool |
userinfo.email | Showing which account is connected |
The sign-in secret lives on Akili's server and is never in the app, so a copy of the program yields nothing. Your tokens stay on your machine.
When it goes wrong
| You see | Do this |
|---|---|
| βNo Google account is connectedβ | /connectors connect google |
| βinsufficient scopesβ or a permission error | The account was connected before a permission was added. /connectors disconnect google, then connect again. |
| βGoogle did not return a lasting tokenβ | Remove Akili Code at myaccount.google.com/permissions, then connect again. |
| A file you expected is not found | Check which account is connected with /connectors β a personal and a work account are two different Drives. |
| βunknown command /connectorsβ | Your build predates it: akili-code update. |