Add security policy, contribution guide and public install docs (#200)
* Add security policy, contribution guide and public install docs Adds SECURITY.md with a private reporting route and a plain account of Otto's security boundaries, CONTRIBUTING.md, a code of conduct, issue and pull request templates and CODEOWNERS. Rewrites the README around the desktop app and source install, and moves the Composio key guide to docs/composio.md without the internal alpha notes. * Address review: desktop boundary, hosted keys, portable key setup Says the desktop server runs on the Mac with the database, workspace and browser in the VM, notes hosted per-user key derivation, makes the Linux Vault key commands private and portable, points the access-key reset at the data folder, describes daily releases as scheduled, and drops the unapproved legal safe-harbour sentence. * Say where Otto runs for each kind of installation
This commit is contained in:
1 parent
b1497e2817
commit
468902ce13
12 files changed
+512
-73
No files matched your search
@@ -0,0 +1,16 @@
|
||||
* @n8n-io/n8n-labs
|
||||
|
||||
/package.json
|
||||
/package-lock.json
|
||||
/desktop/package.json
|
||||
/desktop/package-lock.json
|
||||
/deployment/cloudflare/package.json
|
||||
/deployment/cloudflare/package-lock.json
|
||||
/Dockerfile.browser
|
||||
/Dockerfile.workspace
|
||||
/compose.yaml
|
||||
/deployment/cloudflare/Dockerfile
|
||||
/deployment/cloudflare/Dockerfile.browser
|
||||
/deployment/cloudflare/Dockerfile.workspace
|
||||
/deployment/e2b/Dockerfile.computer
|
||||
/deployment/e2b/Dockerfile.workspace
|
||||
@@ -0,0 +1,84 @@
|
||||
name: Bug report
|
||||
description: Report something in Otto that doesn't work as described
|
||||
labels: [bug]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
> This form is for bugs only. Ask questions and share ideas in [Discussions](https://github.com/n8n-io/otto/discussions).
|
||||
> Never report a security vulnerability here. Follow the [security policy](https://github.com/n8n-io/otto/blob/main/SECURITY.md) instead.
|
||||
> Don't paste API keys, passwords, tokens, access links, private conversations or other people's data. Describe them instead.
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: What happened?
|
||||
description: What Otto did, including any error message.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: reproduction
|
||||
attributes:
|
||||
label: Steps to reproduce
|
||||
description: Use synthetic data where you can.
|
||||
placeholder: |
|
||||
1. Ask Otto to ...
|
||||
2. Approve ...
|
||||
3. See ...
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected
|
||||
attributes:
|
||||
label: What did you expect?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Logs and screenshots
|
||||
description: Remove keys, tokens, email addresses and private content first.
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: '## Environment'
|
||||
- type: dropdown
|
||||
id: install
|
||||
attributes:
|
||||
label: How do you run Otto?
|
||||
options:
|
||||
- Desktop app
|
||||
- From source (npm start)
|
||||
- From source (npm run dev)
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: Otto version
|
||||
description: 'Desktop: Otto → About Otto. Source: `git rev-parse --short HEAD`.'
|
||||
placeholder: ex. 0.1.10 or 6c3af62
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: os
|
||||
attributes:
|
||||
label: Operating system
|
||||
placeholder: ex. macOS 15.6 on Apple M3, or Ubuntu 24.04
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: model
|
||||
attributes:
|
||||
label: Model connection
|
||||
placeholder: ex. OpenAI API key, GPT-6.1 Sol
|
||||
- type: dropdown
|
||||
id: channel
|
||||
attributes:
|
||||
label: Where did it happen?
|
||||
multiple: true
|
||||
options:
|
||||
- Chat in the app
|
||||
- Telegram
|
||||
- WhatsApp
|
||||
- Setup or onboarding
|
||||
- Other
|
||||
@@ -0,0 +1,8 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Question or idea
|
||||
url: https://github.com/n8n-io/otto/discussions
|
||||
about: Ask for help, share what you built or suggest an improvement
|
||||
- name: Security vulnerability
|
||||
url: https://github.com/n8n-io/otto/security/advisories/new
|
||||
about: Report privately. Never open a public issue for a vulnerability.
|
||||
@@ -0,0 +1,20 @@
|
||||
## Summary
|
||||
|
||||
<!-- What changes and why. Add screenshots or a short video for UI changes. -->
|
||||
|
||||
## How to test
|
||||
|
||||
<!-- Steps a reviewer can follow, with synthetic data. Say which checks you ran. -->
|
||||
|
||||
## Related issues
|
||||
|
||||
<!-- Link the GitHub issue or Linear ticket. Use "Fixes #123" to close an issue on merge. -->
|
||||
|
||||
## Checklist
|
||||
|
||||
- [ ] I have seen this code, I have run this code, and I take responsibility for this code.
|
||||
- [ ] `npm run check`, `npm run test:integration` and `npm run build` pass, plus any area checks from [CONTRIBUTING](https://github.com/n8n-io/otto/blob/main/CONTRIBUTING.md#checks).
|
||||
- [ ] New tests would catch a real regression ([test policy](https://github.com/n8n-io/otto/blob/main/AGENTS.md#tests)), or none are needed.
|
||||
- [ ] No keys, credentials, real accounts, private conversations or other people's data in code, tests, fixtures, logs or screenshots.
|
||||
- [ ] Docs are updated where setup or behaviour changed.
|
||||
- [ ] Changes to approvals, the trust check, Vault, sign-in, the sandbox or owner isolation are called out in the summary.
|
||||
@@ -1,6 +1,6 @@
|
||||
# Otto
|
||||
|
||||
Setup and commands are in [README](README.md); how the system works is in [architecture](docs/architecture.md).
|
||||
Setup is in [README](README.md), development and checks are in [CONTRIBUTING](CONTRIBUTING.md), and how the system works is in [architecture](docs/architecture.md).
|
||||
|
||||
## Rules
|
||||
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
# Contributor Covenant Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
|
||||
In the interest of fostering an open and welcoming environment, we as
|
||||
contributors and maintainers pledge to making participation in our project and
|
||||
our community a harassment-free experience for everyone, regardless of age, body
|
||||
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
||||
level of experience, education, socio-economic status, nationality, personal
|
||||
appearance, race, religion, or sexual identity and orientation.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to creating a positive environment
|
||||
include:
|
||||
|
||||
- Using welcoming and inclusive language
|
||||
- Being respectful of differing viewpoints and experiences
|
||||
- Gracefully accepting constructive criticism
|
||||
- Focusing on what is best for the community
|
||||
- Showing empathy towards other community members
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
- The use of sexualized language or imagery and unwelcome sexual attention or
|
||||
advances
|
||||
- Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
- Public or private harassment
|
||||
- Publishing others' private information, such as a physical or electronic
|
||||
address, without explicit permission
|
||||
- Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
## Our Responsibilities
|
||||
|
||||
Project maintainers are responsible for clarifying the standards of acceptable
|
||||
behavior and are expected to take appropriate and fair corrective action in
|
||||
response to any instances of unacceptable behavior.
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or
|
||||
reject comments, commits, code, wiki edits, issues, and other contributions
|
||||
that are not aligned to this Code of Conduct, or to ban temporarily or
|
||||
permanently any contributor for other behaviors that they deem inappropriate,
|
||||
threatening, offensive, or harmful.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies both within project spaces and in public spaces
|
||||
when an individual is representing the project or its community. Examples of
|
||||
representing a project or community include using an official project e-mail
|
||||
address, posting via an official social media account, or acting as an appointed
|
||||
representative at an online or offline event. Representation of a project may be
|
||||
further defined and clarified by project maintainers.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported by contacting the project team at jan@n8n.io. All
|
||||
complaints will be reviewed and investigated and will result in a response that
|
||||
is deemed necessary and appropriate to the circumstances. The project team is
|
||||
obligated to maintain confidentiality with regard to the reporter of an incident.
|
||||
Further details of specific enforcement policies may be posted separately.
|
||||
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in good
|
||||
faith may face temporary or permanent repercussions as determined by other
|
||||
members of the project's leadership.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
||||
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
|
||||
For answers to common questions about this code of conduct, see
|
||||
https://www.contributor-covenant.org/faq
|
||||
+103
@@ -0,0 +1,103 @@
|
||||
# Contributing to Otto
|
||||
|
||||
Thanks for helping improve Otto. This guide covers how to report problems, set up a development copy and get a change merged.
|
||||
|
||||
## Code of conduct
|
||||
|
||||
Everyone taking part in Otto follows the [code of conduct](CODE_OF_CONDUCT.md).
|
||||
|
||||
## Ways to help
|
||||
|
||||
- **Report a bug** with the [bug report form](https://github.com/n8n-io/otto/issues/new/choose).
|
||||
- **Ask a question or share an idea** in [Discussions](https://github.com/n8n-io/otto/discussions).
|
||||
- **Report a vulnerability** privately, as described in the [security policy](SECURITY.md). Never in a public issue.
|
||||
- **Send a pull request.** For anything larger than a small fix, open an issue or discussion first so we can agree on the approach before you build it.
|
||||
|
||||
## Development setup
|
||||
|
||||
You need Node.js 24.21.0 or newer, Docker with Compose v2 and Git, on macOS or Linux. Follow [Install from source](README.md#install-from-source) for the first start, including the Vault key on Linux. Then run Otto with automatic reload:
|
||||
|
||||
```sh
|
||||
npm run dev
|
||||
```
|
||||
|
||||
`npm run dev` disables analytics by default. Use your own model key and accounts. Never use shared, production or customer credentials.
|
||||
|
||||
To work on the desktop app, see [desktop/README.md](desktop/README.md#development-checks). Set `OTTO_DESKTOP_USER_DATA` to a new directory to use a fresh profile.
|
||||
|
||||
## How the code is organised
|
||||
|
||||
Read [architecture](docs/architecture.md) for how a turn flows through Otto and [AGENTS.md](AGENTS.md) for the rules every change follows, including the safety invariants. In short, `src/ports` defines capabilities, `src/providers` holds vendor SDKs, `src/runtime` owns the agent's tools and prompts, `src/server` owns policy, storage and HTTP, `src/shared` holds browser-safe types and `src/web` is the client. `src/server/composition.ts` is the only place that picks implementations.
|
||||
|
||||
| Area | Main code | Tests |
|
||||
| ------------------------------- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
|
||||
| Thread, turns, stop and reset | `src/server/thread.ts`, `src/runtime/` | `tests/thread.test.ts`, `tests/pi.test.ts` |
|
||||
| Approvals and the trust check | `src/server/trust.ts`, `src/server/approvals.ts`, `src/shared/action-effect.ts` | `tests/approvals.test.ts`, `tests/approvals-application.test.ts`, `tests/agent-guard.test.ts` |
|
||||
| Vault and sign-in | `src/server/vault.ts`, `src/runtime/browser-flows.ts` | `tests/vault.test.ts`, `tests/vault-chat-code.test.ts`, `tests/browser-sign-in.test.ts` |
|
||||
| Workspace and browser isolation | `src/providers/docker/`, `src/providers/agent-browser/`, `Dockerfile.*` | `tests/sandbox.test.ts`, `tests/browser.test.ts`, `tests/computers.test.ts` |
|
||||
| Connected apps | `src/server/integrations.ts`, `src/providers/composio/`, `src/providers/discovered/` | `tests/integrations.test.ts` |
|
||||
| Channels | `src/server/channels.ts`, `src/providers/chat-sdk/` | `tests/channels.test.ts`, `tests/channel-delivery.test.ts`, `tests/channel-application.test.ts` |
|
||||
| Schedules and background checks | `src/server/schedules.ts`, `src/server/triage.ts` | `tests/schedules.test.ts` |
|
||||
| Memory | `src/server/memory.ts`, `src/server/memory-learning.ts` | `tests/memory-application.test.ts` |
|
||||
| Files and downloads | `src/server/artifacts.ts` | `tests/downloads.test.ts`, `tests/download-delivery.test.ts` |
|
||||
| Hosted gateway and tenants | `src/server/gateway.ts`, `src/server/tenants.ts`, `deployment/cloudflare/` | `tests/tenancy-auth.test.ts`, `tests/tenant-runtime.test.ts`, `tests/url-guards.test.ts`, `deployment/cloudflare/tests/` |
|
||||
| Web client | `src/web/` | Check the change in the running app |
|
||||
| Desktop app | `desktop/` | `desktop/test/` |
|
||||
| Capability evals | `evals/` | `evals/tests/` |
|
||||
|
||||
Run one test file while you work:
|
||||
|
||||
```sh
|
||||
npx tsx --test tests/approvals.test.ts
|
||||
```
|
||||
|
||||
## Checks
|
||||
|
||||
Run these before you open a pull request:
|
||||
|
||||
```sh
|
||||
npm run check # types, import boundaries, formatting
|
||||
npm test # deterministic tests; database cases skip without TEST_DATABASE_URL
|
||||
npm run test:integration # every test in Linux with a disposable PostgreSQL and Chromium
|
||||
npm run build # types and web bundle
|
||||
```
|
||||
|
||||
`npm run test:integration` runs in an isolated Docker network, removes its containers afterwards and never uses your local database or credentials. `npm run format` fixes formatting.
|
||||
|
||||
Changes in some areas need extra checks:
|
||||
|
||||
| Area | Also run |
|
||||
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `desktop/` | `npm run desktop:test` |
|
||||
| `evals/` | `npm --prefix evals run check` and `npm --prefix evals test` |
|
||||
| `deployment/cloudflare/` | `npm --prefix deployment/cloudflare run check`, `npm --prefix deployment/cloudflare test` and the [dry runs](deployment/cloudflare/README.md) |
|
||||
|
||||
The capability evals call live models, so maintainers run them on releases and on request. See [evals](evals/README.md).
|
||||
|
||||
## Tests
|
||||
|
||||
Add a test when it would catch a real regression in the core harness, sandbox isolation, safety, owner and tenant isolation, or an integration contract. Extend the existing file for that area. The [test policy](AGENTS.md#tests) explains what to leave out.
|
||||
|
||||
Tests use synthetic data and disposable database schemas. They never call a live model, a connected account or a real recipient, and never touch your normal local database.
|
||||
|
||||
## Pull requests
|
||||
|
||||
- Keep each pull request focused on one change, and fill in the template.
|
||||
- Explain why the change is needed and how you tested it. Add screenshots or a short video for UI changes.
|
||||
- Call out changes to approvals, the trust check, Vault, sign-in, the sandbox or owner isolation. They get a closer review and need tests.
|
||||
- Keep keys, credentials and private content out of code, tests, logs and screenshots.
|
||||
- Follow the existing style. Otto's code has no comments or JSDoc, and its docs use short, plain sentences.
|
||||
|
||||
CI runs on the pull request. Workflows from first-time contributors start after a maintainer approves them. A member of [@n8n-io/n8n-labs](.github/CODEOWNERS) reviews every change, and we squash-merge once CI passes and the review is approved.
|
||||
|
||||
## From merge to release
|
||||
|
||||
Merged changes go into the next desktop release. A release from `main` is scheduled every day and is published only after it builds, signs and passes its checks; installed apps then update automatically. See [desktop releases](desktop/RELEASING.md). Source installs pick up changes with `git pull`.
|
||||
|
||||
## Coding agents
|
||||
|
||||
Coding agents follow [AGENTS.md](AGENTS.md), and so does everyone else. The same rules, checks and review apply whether you or an agent wrote the change.
|
||||
|
||||
## License
|
||||
|
||||
Otto is licensed under the [Apache License 2.0](LICENSE). Contributions you submit are licensed under the same terms, as section 5 of the license describes.
|
||||
@@ -1,93 +1,104 @@
|
||||
# Otto
|
||||
|
||||
Otto is a personal assistant you use through one chat. Each owner has one persistent thread with its own Linux workspace and browser, so Otto can research, run commands, create files, use connected apps, run schedules and reply on Telegram or WhatsApp. See [architecture](docs/architecture.md) for how it works.
|
||||
Otto is a personal assistant you use through one chat, in the Mac app, in your browser or on Telegram. It keeps one ongoing conversation with its own Linux workspace and browser, so it can research, run commands, create files, use your connected apps, run scheduled tasks and reply on Telegram or WhatsApp. Otto runs on your computer, and its model requests go to the provider you choose.
|
||||
|
||||
## Local setup
|
||||
Otto is an early preview. Expect rough edges and breaking changes.
|
||||
|
||||
Requirements: Node.js 24.21.0 or newer and Docker with Compose v2 (start Docker Desktop on Mac). From the repository root:
|
||||
## Install
|
||||
|
||||
| | [Desktop app](#install-the-desktop-app) | [From source](#install-from-source) |
|
||||
| -------- | ----------------------------------------- | --------------------------------------------------------- |
|
||||
| Best for | Using Otto on a Mac | Running Otto on macOS or Linux, or changing its code |
|
||||
| Runs on | Mac with Apple silicon | macOS or Linux |
|
||||
| You need | About 2.7 GB of downloads on first launch | Node.js 24.21.0 or newer, Docker with Compose v2, and Git |
|
||||
| Updates | Automatic | `git pull` and restart |
|
||||
|
||||
Either way, Otto needs a model connection: an OpenAI, Anthropic or OpenRouter API key, or a ChatGPT plan. Models don't run on your computer, and the provider bills you for use. To connect Gmail, Calendar, Slack and other apps, you also need a [Composio key](docs/composio.md).
|
||||
|
||||
### Install the desktop app
|
||||
|
||||
1. Open the [releases page](https://github.com/n8n-io/otto/releases), find the newest **Otto** release (not **Otto Runtime**) and download `Otto-arm64.dmg`.
|
||||
2. Open the DMG, drag **Otto** to **Applications** and open it from there.
|
||||
3. Preview builds are not notarized by Apple yet. If macOS blocks the first launch, open **System Settings → Privacy & Security** and choose **Open Anyway**. Approve the Keychain prompt if it appears, so Otto can keep its saved credentials.
|
||||
4. Keep the internet connection on while Otto downloads and prepares its private computer. This takes a few minutes the first time.
|
||||
5. Follow the onboarding to connect a model, answer a few questions and try a first task.
|
||||
|
||||
Closing the window keeps Otto in the menu bar. Scheduled tasks run only while Otto is open and the Mac is awake, so turn on launch at login in **Settings → General** if you rely on them. See [desktop app](desktop/README.md) for what runs locally, where data is stored and current limits.
|
||||
|
||||
### Install from source
|
||||
|
||||
```sh
|
||||
git clone https://github.com/n8n-io/otto.git
|
||||
cd otto
|
||||
```
|
||||
|
||||
On Linux, create the settings file and a Vault key before the first start. Otto encrypts saved credentials with this key; macOS keeps it in Keychain instead.
|
||||
|
||||
```sh
|
||||
cp .env.example .env
|
||||
chmod 600 .env
|
||||
sed -i.bak "s|^OTTO_VAULT_KEY=.*|OTTO_VAULT_KEY=$(openssl rand -base64 32)|" .env && rm .env.bak
|
||||
```
|
||||
|
||||
Keep a copy of `OTTO_VAULT_KEY` somewhere safe. Saved credentials can't be read without it. Then start Otto:
|
||||
|
||||
```sh
|
||||
npm start
|
||||
```
|
||||
|
||||
The first run installs dependencies, creates `.env`, and starts PostgreSQL plus the workspace and browser containers. Each start builds the web app and runs it in production mode. When the server is ready it prints a link such as `http://localhost:4310/#access=…`; open it once and the browser keeps the access cookie, so [http://localhost:4310](http://localhost:4310) works from then on. The key is saved in `.local/access-key` and stays the same across restarts; delete it and restart to issue a new link. Local mode serves one owner on `127.0.0.1` with no account login.
|
||||
The first run installs dependencies, creates `.env`, starts PostgreSQL plus the workspace and browser containers, and builds the web app. When the server is ready it prints a link such as `http://localhost:4310/#access=…`. Open it once; your browser keeps the access cookie, so [http://localhost:4310](http://localhost:4310) works from then on. Onboarding then walks you through connecting a model, a few questions about your work and a first task.
|
||||
|
||||
For development with automatic reload, use `npm run dev`. Development analytics and recordings are disabled by default.
|
||||
Otto serves one owner on `127.0.0.1` with no account login. Don't expose it to a network or the internet, for example through port forwarding, a tunnel or a reverse proxy.
|
||||
|
||||
Configuration lives in the ignored `.env` (all local settings are listed in `.env.example`; shell variables take priority; restart after edits):
|
||||
| To | Do this |
|
||||
| -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| Stop Otto | Press Ctrl-C, then run `docker compose stop` to stop the containers. |
|
||||
| Update Otto | Stop it, run `git pull` and `npm ci`, then `npm start`. |
|
||||
| Get a new link | Delete `access-key` in your data folder (`.local/` by default) and restart. The key otherwise stays the same across restarts. |
|
||||
| Find your data | `.local/` (or `OTTO_DATA_ROOT`) and the Docker volumes. The Vault key is in `.env`, or in the macOS Keychain item `dev.otto.vault` if you didn't set one. |
|
||||
| Back up | Stop Otto, then copy `.local/`, the Docker volumes and the Vault key. A tested restore procedure doesn't exist yet. |
|
||||
|
||||
| Setting | Needed for |
|
||||
| ------------------------------ | --------------------------------------------------------- |
|
||||
| Model connection in **Models** | Chat with a key, ChatGPT plan, or OpenRouter |
|
||||
| `COMPOSIO_API_KEY` | Managed app integrations and the available-app catalog |
|
||||
| `OTTO_VAULT_KEY` | Vault encryption on non-macOS hosts (macOS uses Keychain) |
|
||||
| `DEV_INSPECTOR=false` | Disables the Inspector view (on by default locally) |
|
||||
## Configure
|
||||
|
||||
Notion and Linear connect through their hosted MCP servers without extra keys. Telegram and WhatsApp are configured from the **Channels** page.
|
||||
Settings live in the ignored `.env`. `.env.example` lists the common ones. Shell variables take priority, and you need to restart after editing. The desktop app manages its own settings in **Settings**.
|
||||
|
||||
`npm start`, production hosted deployments and packaged desktop apps include PostHog product analytics and masked recordings. Set `OTTO_ANALYTICS_ENABLED=false` in `.env` to disable local collection, then restart. See [analytics and recording boundaries](docs/analytics.md) for the dashboard, event contract, controls and validation.
|
||||
| Setting | Needed for |
|
||||
| ------------------------------ | ------------------------------------------------------------------ |
|
||||
| Model connection in **Models** | Chat with a key, ChatGPT plan, or OpenRouter |
|
||||
| `COMPOSIO_API_KEY` | Gmail, Calendar, Slack and other [Composio apps](docs/composio.md) |
|
||||
| `OTTO_VAULT_KEY` | Vault encryption on non-macOS hosts (macOS uses Keychain) |
|
||||
| `OTTO_DATA_ROOT` | Where local data is stored (default `.local`) |
|
||||
| `PORT` | The local port (default `4310`) |
|
||||
| `DEV_INSPECTOR=false` | Disables the Inspector view (on by default locally) |
|
||||
|
||||
### Composio key permissions
|
||||
- **Models.** Add or switch connections in **Models** from the account menu. `OPENAI_API_KEY`, `ANTHROPIC_API_KEY` and `OPENROUTER_API_KEY` add server-managed connections. See [model connections](docs/model-connections.md).
|
||||
- **Apps.** Connect apps from **Apps**. Notion and Linear use their hosted MCP servers without extra keys. See [connect apps with Composio](docs/composio.md).
|
||||
- **Channels.** Set up Telegram and WhatsApp from **Channels**.
|
||||
- **Usage data.** Analytics stay off until you turn on **Share usage data** in onboarding or Settings. `OTTO_ANALYTICS_ENABLED=false` turns collection off entirely. See [analytics](docs/analytics.md).
|
||||
- **Feedback.** Feedback you send from the app goes to the Otto team at n8n. By default it includes a diagnostic report of your recent chat, actions and their results; you can review it or untick **Include diagnostic report** before sending.
|
||||
|
||||
In the [Composio Dashboard](https://dashboard.composio.dev), open **Platform → your project → Settings → API Keys → Create API Key** and create a scoped project key with these permissions:
|
||||
## Troubleshooting
|
||||
|
||||
| Permission area | Access | Used by Otto |
|
||||
| ---------------------- | -------------- | -------------------------------------------------------------------------------- |
|
||||
| Connected accounts | Read and write | Check connections and disconnect accounts |
|
||||
| Session management | Read and write | Create, restore and delete sessions; open app sign-in links |
|
||||
| Session tool execution | Write only | Find app actions, load their schemas and run them |
|
||||
| Toolkits | Read only | Discover available integrations before connecting an account |
|
||||
| Auth configs | Read only | Select the project's custom Google OAuth config when no explicit override exists |
|
||||
| Proxy execute (Legacy) | Write only | Read account identity, check Gmail updates and retrieve requested sign-in emails |
|
||||
- **`Use Node.js 24.21.0 or newer.`** Install a newer Node.js and run `npm start` again.
|
||||
- **Docker errors on start.** Make sure Docker is running (on a Mac, start Docker Desktop) and that `docker compose version` reports v2.
|
||||
- **`Configure OTTO_VAULT_KEY…` when saving a model or key.** Set `OTTO_VAULT_KEY` as shown in [Install from source](#install-from-source) and restart.
|
||||
- **Missing modules after `git pull`.** Run `npm ci`, then `npm start`.
|
||||
- **The port is in use.** Set another `PORT` in `.env`.
|
||||
- **The desktop app is blocked on first launch.** Use **Open Anyway** in **System Settings → Privacy & Security**.
|
||||
|
||||
Auth configs read is needed only for automatic Google auth-config selection; explicit overrides and other apps do not use that lookup. The existing alpha Full access key already covers it. Leave **Tools**, **Triggers**, **Webhooks**, **Observability**, **MCP (Legacy)** and **Tool execution (Legacy)** at **No access**. If you configure `COMPOSIO_WEBHOOK_SECRET` for automatic app updates, also grant **Triggers → Read and write**: the SDK reads trigger definitions before creating subscriptions, and Otto removes subscriptions when disconnected. Otto does not manage Composio webhook endpoints through the API.
|
||||
## How Otto works
|
||||
|
||||
Paste the key in the onboarding email step of local web Otto, which checks it with Composio and saves it encrypted with the Vault key, or copy it into `COMPOSIO_API_KEY` in the repository's ignored `.env` and restart Otto. Then connect apps from **Apps**. Keep the key on the server. Permissions cannot be edited after creation; create a replacement key if a permission is missing. A valid key with insufficient permissions can produce an “Invalid API key” error. See Composio's [permission route map](https://docs.composio.dev/reference/authenticating-to-composio/project-api-key-permissions) and [permission troubleshooting](https://docs.composio.dev/kb/guide/platform-project-api-key-permissions).
|
||||
- [Architecture](docs/architecture.md): one thread per owner, turns, the workspace and browser, and hosted mode.
|
||||
- [Security policy](SECURITY.md#how-otto-protects-your-data): what stays on your computer, approvals and how to report a vulnerability.
|
||||
- [Model connections](docs/model-connections.md), [skill library](docs/skill-library.md) and [analytics](docs/analytics.md).
|
||||
- [Hosted deployment](deployment/cloudflare/README.md) on Cloudflare, for operators.
|
||||
|
||||
These are permissions on the **Composio project key**. The Google or Slack consent screen separately controls what Otto can read or change in that account. The selected auth config controls app OAuth scopes; a `COMPOSIO_*_AUTH_CONFIG_ID` from `.env.example` explicitly selects that config. To narrow those grants, configure the required app scopes in that auth config and reconnect existing accounts; changing the project key does not change app consent. See [Controlling scopes](https://docs.composio.dev/docs/authentication/controlling-scopes).
|
||||
## Get help and contribute
|
||||
|
||||
The **Apps** page loads a searchable catalog of Composio integrations with managed authentication or dynamic OAuth registration. The agent uses the same catalog through `manage_apps discover`, then offers a private connection link. Catalog access requires **Toolkits → Read**; older keys without it retain their existing connections and featured apps. Notion and Linear continue to prefer their official MCP connections. Native MCP toolkits with managed authentication or dynamic registration work through Composio; other MCP servers, HTTP APIs and installed CLIs use the agent's discovery and secure setup flow.
|
||||
|
||||
Active isolated development and the trusted internal alpha share `otto_alpha_release`. Alpha participants enter its project key; they do not need to enter Google auth-config IDs. A desktop operator can recover that key and use its project-wide permissions outside Otto. Sharing it is appropriate only with people trusted to access that Composio project; wider distribution needs customer-owned projects or an authenticated broker. Local encryption and Otto's owner IDs do not isolate a shared project key.
|
||||
|
||||
When starting Gmail, Calendar, Drive, Sheets or Docs sign-in without an explicit override, Otto reads that project's auth configs and selects its unique enabled custom OAuth2 config enabled for Tool Router. Explicit overrides win. Multiple eligible configs, or enabled custom OAuth2 configs with none available to Tool Router, stop sign-in with a configuration error. When no enabled custom OAuth2 config exists, Composio's project default remains in effect. This lookup occurs only during authorization and does not change existing accounts or other managed/DCR app flows.
|
||||
|
||||
Development uses an isolated profile; the older normal local profile remains on `otto_development` with its existing connections. Do not replace a profile's project key beneath saved account IDs. Prefer managed authentication where it works and retain custom configs where needed. Otto's own Google login configuration is independent and stays in place.
|
||||
|
||||
Cloudflare work is deferred for this release; no saved or deployed Cloudflare configuration was changed. Reviewed on 2026-10-07 against [`@composio/core` 0.21.0 and Otto's adapter](src/providers/composio/integrations.ts); the table covers the calls Otto makes.
|
||||
|
||||
### Models
|
||||
|
||||
Onboarding walks through six steps: welcome, a model connection, three short questions about your work (saved as notes you wrote), Gmail, Telegram, and an opt-in for usage data, which is off by default. Existing server connections appear automatically. The model step continues once a model is selected; Gmail and Telegram can be skipped. After setup, the first chat suggests three tasks with a **Do it** button that sends the task title as your message. An empty chat shows **Connect a model** until a model is ready. Open **Models** from the account menu to manage connections. Add an OpenAI, Anthropic, or OpenRouter API key. You can also connect a ChatGPT plan in local Otto or connect an OpenRouter account through browser sign-in. Otto opens the system browser in the desktop app and a new tab on the web. The connection and model list update when sign-in completes. If the callback cannot open, paste its URL under **Complete sign-in**. The server encrypts saved credentials with the Vault key. macOS uses Keychain; other hosts need `OTTO_VAULT_KEY`.
|
||||
|
||||
The first connection selects GPT-6.1 Sol at high effort, or Claude Opus 5.5 at high effort for Anthropic, when that model is available. If the default is unavailable, choose a listed model. Choosing a model uses high effort where the model supports it. Click the model name above chat to search or switch models. The next turn uses the saved choice in every channel and keeps the Pi conversation. A running turn keeps its model. Connections do not change on errors. Pi retries a model request that fails with a temporary provider error (overload, rate limit, server or network error) up to three times; turns and tool calls are never retried.
|
||||
|
||||
`OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, and `OPENROUTER_API_KEY` remain server-managed connections. `LLM_PROVIDER` and `LLM_MODEL` set the initial choice. Saved choices take priority after that. Memory and event relevance use the selected connection and a smaller compatible model where available. `TYPESAFE_API_KEY` retains the Jev relevance option. Voice uses the separate OpenAI key in server settings.
|
||||
|
||||
Claude subscriptions do not permit direct token use in Otto. Use an Anthropic API key or OpenRouter. A Claude Code runtime needs separate session and safety checks before release. Hosted ChatGPT plan use needs OpenAI access. See [model connection details](docs/model-connections.md).
|
||||
|
||||
Ports: 4310 local app, 4330 hosted development (`node scripts/start-hosted.mjs`, see [Cloudflare](deployment/cloudflare/README.md)), 4320 E2E harness.
|
||||
|
||||
Ctrl-C stops the server; `docker compose stop` stops the containers. Data stays in `.local/` and Docker volumes.
|
||||
|
||||
## Task skills
|
||||
|
||||
Otto has a server skill library for common tasks. The model sees skill names and descriptions, then reads the required guide and references through the `skills` tool. Guides help with task decisions and result checks. They do not add tools or permission. See [skill library](docs/skill-library.md).
|
||||
|
||||
## Checks
|
||||
|
||||
```sh
|
||||
npm run check # types, import boundaries, formatting
|
||||
npm test # deterministic tests (database cases skip without TEST_DATABASE_URL)
|
||||
npm run test:integration # all tests in Linux with disposable PostgreSQL and Chromium
|
||||
npm run build # types and web bundle
|
||||
```
|
||||
|
||||
The integration command builds the client and browser image, runs every test in an isolated Docker network, and removes its test containers afterward. It fails on skipped tests and does not use your local database or credentials.
|
||||
|
||||
Dependency maintenance: [Dependabot updates and automatic merging](docs/dependency-updates.md).
|
||||
|
||||
Hosted deployment: [deployment/cloudflare/README.md](deployment/cloudflare/README.md). Rules for coding agents: [AGENTS.md](AGENTS.md).
|
||||
- Report bugs with the [bug report form](https://github.com/n8n-io/otto/issues/new/choose).
|
||||
- Ask questions and share ideas in [Discussions](https://github.com/n8n-io/otto/discussions).
|
||||
- Report vulnerabilities privately, as described in the [security policy](SECURITY.md).
|
||||
- Read [CONTRIBUTING](CONTRIBUTING.md) to set up development, run the checks and open a pull request. Coding agents follow [AGENTS.md](AGENTS.md).
|
||||
|
||||
## License
|
||||
|
||||
|
||||
+78
@@ -0,0 +1,78 @@
|
||||
# Security policy
|
||||
|
||||
Otto keeps saved logins, model keys and connected accounts, and it acts on your behalf. We take reports about it seriously and thank everyone who reports responsibly.
|
||||
|
||||
## Report a vulnerability
|
||||
|
||||
Do not open a public issue, discussion or pull request for a vulnerability.
|
||||
|
||||
Report it privately through [GitHub private vulnerability reporting](https://github.com/n8n-io/otto/security/advisories/new). Only Otto's maintainers and you can see the report. You can also use [n8n's Vulnerability Disclosure Program](https://n8n.io/report-a-vulnerability/); mention Otto in the report.
|
||||
|
||||
Please include:
|
||||
|
||||
- the Otto version (desktop: **Otto → About Otto**; source: `git rev-parse --short HEAD`) and how you run it (desktop app, `npm start` or `npm run dev`);
|
||||
- the affected part, such as the approvals, Vault, sandbox, browser, a channel or the desktop updater;
|
||||
- steps to reproduce, the impact you observed and what an attacker needs;
|
||||
- a proof of concept that uses synthetic data and accounts you own.
|
||||
|
||||
Never send real passwords, API keys, tokens, private conversations or other people's data. Describe them instead.
|
||||
|
||||
## What to expect
|
||||
|
||||
- We aim to acknowledge your report within 3 business days.
|
||||
- We aim to share a first assessment, including whether we consider it a vulnerability, within 10 business days.
|
||||
- We keep you updated while we work on a fix and tell you when it ships.
|
||||
- We publish a GitHub security advisory for confirmed vulnerabilities and credit you unless you prefer not to be named.
|
||||
|
||||
We ask you to keep the details private until a fix is released, or for 90 days after your report if that comes first. If a fix needs longer, we will explain why and agree a date with you.
|
||||
|
||||
## Supported versions
|
||||
|
||||
Otto is an early preview. Fixes go into `main` and the next desktop release. Desktop releases are cut from `main` daily and installed apps update automatically.
|
||||
|
||||
| Version | Supported |
|
||||
| ---------------------------------- | --------- |
|
||||
| Latest desktop release | Yes |
|
||||
| Latest `main` | Yes |
|
||||
| Older desktop releases and commits | No |
|
||||
|
||||
## Scope
|
||||
|
||||
Report anything that breaks the boundaries in [How Otto protects your data](#how-otto-protects-your-data), for example:
|
||||
|
||||
- getting past a server check that should have stopped or held an action, such as an approval, a read-only turn or an owner check;
|
||||
- reaching the host machine, provider keys or another sandbox from the workspace or browser;
|
||||
- reading saved logins, cards, model keys or another owner's data without access;
|
||||
- making Otto take an action the server should have held for confirmation by putting content in front of it, such as a web page, email or file;
|
||||
- reaching a local Otto server without its access key or launch token;
|
||||
- making the desktop app install an update that is unsigned or not the published release;
|
||||
- secrets that appear in logs, tool output, feedback reports or analytics.
|
||||
|
||||
These are out of scope:
|
||||
|
||||
- vulnerabilities in model providers, Composio, Telegram, WhatsApp or the websites Otto visits; report those to their owners;
|
||||
- attacks that need an already compromised computer, or administrator access to it;
|
||||
- a local server that its owner exposed to a network, contrary to the [setup guide](README.md#install-from-source);
|
||||
- denial of service against your own installation through resource exhaustion;
|
||||
- social engineering, phishing and physical attacks;
|
||||
- missing hardening, such as a header or a version string, without a demonstrated impact;
|
||||
- a vulnerable dependency without a working path through Otto. Report it upstream, and tell us if Otto is exploitable.
|
||||
|
||||
If you are unsure whether something is in scope, report it privately anyway.
|
||||
|
||||
## Research rules
|
||||
|
||||
Test only installations and accounts you own. Use synthetic data. Do not access or change other people's data, send messages to real recipients, or degrade services that n8n or anyone else runs. Stop and report as soon as you have shown the problem.
|
||||
|
||||
## How Otto protects your data
|
||||
|
||||
Otto is driven by a language model. Content it reads, such as web pages, emails and documents, can try to steer it. The server checks below limit what that can lead to; they do not make the model's judgment reliable. If you can make Otto do something the server should have stopped, that is a vulnerability. If Otto makes an unwise choice that the server allows, it is a bug or a design issue. Report it privately if it could put users at risk.
|
||||
|
||||
- **Where Otto runs.** In the desktop app and a source install, the server, database, workspace and browser run on your computer. The desktop app runs the server on your Mac and the database, workspace and browser in a private virtual machine. A hosted deployment runs them on its operator's infrastructure, with a separate runtime for each user. Model requests go to the provider you choose. Apps you connect through Composio, MCP or OAuth go to those services. Telegram and WhatsApp messages go through those services.
|
||||
- **Local access.** A source install listens on `127.0.0.1` and asks for an access key once. The desktop app gives each launch its own token, and only its own windows receive it.
|
||||
- **Keys and saved logins.** Model keys, the Composio key and saved logins are encrypted with a key kept in the macOS Keychain or in `OTTO_VAULT_KEY`. Hosted deployments derive a separate key for each user from the operator's master key. Provider keys never enter the workspace or the browser. To sign in to a website, Otto can read one saved login for that exact site; that login then enters the model's context and the saved conversation.
|
||||
- **Workspace.** Otto's commands and file tools run in a container with no access to your home directory, no Docker socket and no provider keys.
|
||||
- **Untrusted content.** Results from apps, the browser and the web reach the model marked as data, not instructions. If such content looks like an attempt to steer Otto, the server holds sends and deletions for your confirmation until your next message.
|
||||
- **Approvals.** Otto's server checks connected-app actions before they run. Reads and changes to your own data run directly. Actions that reach other people, delete data or can't be classified need your confirmation, unless every recipient is someone you named or confirmed before, or a review model that sees only your recent messages matches the action to your request. Confirmed actions run once and are never retried. Actions in websites through Otto's browser depend on the model's instructions, not this check.
|
||||
|
||||
[AGENTS.md](AGENTS.md#safety-invariants) lists the exact rules, and [architecture](docs/architecture.md) explains how they are built.
|
||||
@@ -0,0 +1,42 @@
|
||||
# Connect apps with Composio
|
||||
|
||||
Otto connects to Gmail, Google Calendar, Drive, Sheets, Docs, Slack and many other apps through [Composio](https://composio.dev). You need your own Composio project and a project API key. Notion and Linear connect through their hosted MCP servers and need no Composio key. Other MCP servers, HTTP APIs and command-line tools use Otto's own discovery and secure setup flow.
|
||||
|
||||
## Create a project key
|
||||
|
||||
In the [Composio Dashboard](https://dashboard.composio.dev), open **Platform → your project → Settings → API Keys → Create API Key** and create a scoped project key with these permissions:
|
||||
|
||||
| Permission area | Access | Used by Otto |
|
||||
| ---------------------- | -------------- | -------------------------------------------------------------------------------- |
|
||||
| Connected accounts | Read and write | Check connections and disconnect accounts |
|
||||
| Session management | Read and write | Create, restore and delete sessions; open app sign-in links |
|
||||
| Session tool execution | Write only | Find app actions, load their schemas and run them |
|
||||
| Toolkits | Read only | Discover available integrations before connecting an account |
|
||||
| Auth configs | Read only | Select the project's custom Google OAuth config when no explicit override exists |
|
||||
| Proxy execute (Legacy) | Write only | Read account identity, check Gmail updates and retrieve requested sign-in emails |
|
||||
|
||||
Auth configs read is needed only for automatic Google auth-config selection; explicit overrides and other apps do not use that lookup. Leave **Tools**, **Triggers**, **Webhooks**, **Observability**, **MCP (Legacy)** and **Tool execution (Legacy)** at **No access**. If you configure `COMPOSIO_WEBHOOK_SECRET` for automatic app updates, also grant **Triggers → Read and write**: the SDK reads trigger definitions before creating subscriptions, and Otto removes subscriptions when disconnected. Otto does not manage Composio webhook endpoints through the API.
|
||||
|
||||
The table covers the calls [Otto's adapter](../src/providers/composio/integrations.ts) makes with `@composio/core` 0.21.0.
|
||||
|
||||
## Add the key to Otto
|
||||
|
||||
Paste the key in the onboarding email step, or in **Settings → Models** in the desktop app. Otto checks it with Composio and saves it encrypted with the Vault key. In a source install you can instead set `COMPOSIO_API_KEY` in `.env` and restart Otto. Then connect apps from **Apps**.
|
||||
|
||||
Permissions cannot be edited after creation; create a replacement key if one is missing. A valid key with insufficient permissions can produce an “Invalid API key” error. See Composio's [permission route map](https://docs.composio.dev/reference/authenticating-to-composio/project-api-key-permissions) and [permission troubleshooting](https://docs.composio.dev/kb/guide/platform-project-api-key-permissions).
|
||||
|
||||
Keep using the same project's key. Connected accounts belong to that Composio project, so a key from another project cannot use them.
|
||||
|
||||
## Keep the key private
|
||||
|
||||
The key grants project-wide access. Anyone who has it, including anyone who can open the desktop app's settings, can use the project's permissions and connected accounts outside Otto. Use your own Composio project, and share a key only with people you would trust with every account connected to it. Otto's local encryption and owner IDs do not isolate a shared project key.
|
||||
|
||||
## App permissions
|
||||
|
||||
The key's permissions control what Otto can do in Composio. The Google or Slack consent screen separately controls what Otto can read or change in that account. The selected auth config controls app OAuth scopes; a `COMPOSIO_*_AUTH_CONFIG_ID` from `.env.example` explicitly selects that config. To narrow those grants, configure the required app scopes in that auth config and reconnect existing accounts; changing the project key does not change app consent. See [Controlling scopes](https://docs.composio.dev/docs/authentication/controlling-scopes).
|
||||
|
||||
When starting Gmail, Calendar, Drive, Sheets or Docs sign-in without an explicit override, Otto reads the project's auth configs and selects its one enabled custom OAuth2 config that is enabled for Tool Router. Explicit overrides win. Several eligible configs, or enabled custom OAuth2 configs with none available to Tool Router, stop sign-in with a configuration error. When no enabled custom OAuth2 config exists, Composio's project default applies. This lookup happens only during authorization and does not change existing accounts or other app flows.
|
||||
|
||||
## App catalog
|
||||
|
||||
The **Apps** page loads a searchable catalog of Composio integrations with managed authentication or dynamic OAuth registration. The agent uses the same catalog through `manage_apps discover`, then offers a private connection link. Catalog access requires **Toolkits → Read**; older keys without it keep their existing connections and featured apps. Native MCP toolkits with managed authentication or dynamic registration work through Composio.
|
||||
@@ -11,11 +11,12 @@ The workflow runs without checking out pull request code and binds the approval
|
||||
Repository requirements:
|
||||
|
||||
- Keep `Checks, tests and build` and `Secret scanning` required on `main`, with the branch required to be up to date. The workflow waits for these check names to appear before watching all required checks.
|
||||
- Allow GitHub Actions to approve pull requests. The workflow satisfies the existing one-review requirement; any additional code-owner or reviewer requirements still apply.
|
||||
- Allow GitHub Actions to approve pull requests. The workflow satisfies the existing one-review requirement.
|
||||
- [CODEOWNERS](../.github/CODEOWNERS) leaves npm manifests, lockfiles, Dockerfiles and `compose.yaml` without owners, so the workflow's approval can merge those updates. GitHub Actions updates change workflow files, which need a code owner's review, so they stay open for a maintainer.
|
||||
- Do not require the `auto-merge` job itself, since it waits for required checks.
|
||||
|
||||
This uses `GITHUB_TOKEN` and does not need a separate token or the repository's native auto-merge setting. GitHub suppresses ordinary workflow triggers from that token's merge, so the workflow explicitly dispatches CI on `main` after verifying the merge. The existing successful-main-CI deployment workflow then applies normally. If the dispatch fails after a merge, rerun CI manually on `main`.
|
||||
|
||||
Dependabot does not manage Python packages installed inline in Dockerfiles, downloaded tools pinned in workflow shell commands, or the desktop runtime's custom build lock. Those pins still need manual updates.
|
||||
|
||||
The weekly cadence and three-day delay follow [n8n-cloud's Renovate configuration](https://github.com/n8n-io/n8n-cloud/blob/bf40ec7bded36d079ebb2b2f6a13291c87a60cc5/renovate.json). See GitHub's [Dependabot options](https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference) and [workflow token trigger rules](https://docs.github.com/en/actions/how-tos/write-workflows/choose-when-workflows-run/trigger-a-workflow#triggering-a-workflow-from-a-workflow).
|
||||
The weekly cadence collects routine updates into one review window. The three-day delay gives package registries and maintainers time to pull broken or malicious releases before Otto installs them. See GitHub's [Dependabot options](https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference) and [workflow token trigger rules](https://docs.github.com/en/actions/how-tos/write-workflows/choose-when-workflows-run/trigger-a-workflow#triggering-a-workflow-from-a-workflow).
|
||||
@@ -1,6 +1,6 @@
|
||||
# Model connections
|
||||
|
||||
Otto keeps one selected connection, model, and effort per owner. All channels use that choice. Pi reads it when a turn opens. A running turn keeps its original choice and uses the saved Pi transcript. A removed connection cannot supply credentials to a later request. Errors do not select another connection or repeat a request.
|
||||
Otto keeps one selected connection, model, and effort per owner. All channels use that choice. Pi reads it when a turn opens. A running turn keeps its original choice and uses the saved Pi transcript. A removed connection cannot supply credentials to a later request. Errors do not select another connection. Pi retries a model request that fails with a temporary provider error (overload, rate limit, server or network error) up to three times; turns and tool calls are never retried.
|
||||
|
||||
## Connection methods
|
||||
|
||||
|
||||
Reference in new issue
Block a user