openloops 0.10.2 → 0.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  All notable changes to `openloops` are written here, newest first. The format follows [Keep a Changelog](https://keepachangelog.com) and the versions follow [semantic versioning](https://semver.org), where a minor version can still break the API while the package is in beta. Changes before 0.4.0 are not recorded here, see the commits and the tags.
4
4
 
5
- ## 0.10.1
5
+ ## 0.10.2
6
6
 
7
7
  ### Added
8
8
 
@@ -53,7 +53,7 @@ All notable changes to `openloops` are written here, newest first. The format fo
53
53
 
54
54
  - The fast responder (2.6.0) now knows it is the front layer of an agent, adopts `identity` like the reasoning engine does, and delegates to the engine every message about the product, the agent or its capabilities, and the data or advice that belong to the domain described in `productInfo.about`. It no longer lists what the agent can or cannot do, and it delegates when in doubt. Keep `identity.role` short.
55
55
  - The reasoning engine (2.5.6) states more firmly that the final answer goes inside the `respond` action and that text written outside the JSON is never delivered, which reduces the plain text answers that were rejected as `invalid_response` and cost an extra call. The message sent back after a response that is not JSON now says that text meant for the user belongs in the `answer` of a `respond` action. It also reads `productInfo` when the user asks about the product or the company.
56
- - The description of the package, the README and the docs index present `openloops` as the harness for building multitenant AI agents for your SaaS, where the model is the engine, `openloops` the chassis and your interface the body. The README no longer shows the `CustomerSupportLoop` and `CodeSpecialistLoop` examples, which the package does not ship, and links to the live demo at openloops.xyz.
56
+ - The description of the package, the README and the docs index present `openloops` as the harness for building multitenant AI agents for your SaaS, where the model is the engine, `openloops` the chassis and your interface the body. The README no longer shows the `CustomerSupportLoop` and `CodeSpecialistLoop` examples, which the package does not ship, and links to the live demo at openloopsai.co.
57
57
 
58
58
  ## 0.8.1
59
59
 
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Openloops
2
2
 
3
- **Build production-ready, multitenant AI agents for your SaaS in minutes, not days, weeks, or months.** · [openloops.xyz](https://openloops.xyz)
3
+ **Build production-ready, multitenant AI agents for your SaaS in minutes, not days, weeks, or months.** · [openloopsai.co](https://openloopsai.co)
4
4
 
5
5
  Openloops is an open source **harness** for building AI agents. An agent is three things: a **model** that thinks (the engine), a **harness** that gives it hands, memory and rules (the chassis), and the **interface** you build on top, with your tools and MCP servers (the body). Anthropic and OpenAI give you the engine. Openloops gives you the chassis, with the AGI loop, the tools and everything an agent needs in production. You build the body: a customer support agent, a financial auditor, a meeting copilot. Change the model, or the product, and the rest stays the same.
6
6
 
7
- **Want to see it working?** [Try the live demo](https://openloops.xyz/#demo), a real agent running on Openloops, with nothing to install.
7
+ **Want to see it working?** [Try the live demo](https://openloopsai.co/#demo), a real agent running on Openloops, with nothing to install.
8
8
 
9
9
  <p align="center">
10
10
  <img src="https://raw.githubusercontent.com/jbarcosdev/openloops/main/docs/assets/harness-car.svg" alt="A car made of an engine (the AI model), a chassis (Openloops) and a body (your interface). The body changes between a personal assistant, customer support, a meeting copilot and your own idea, while the engine and the chassis stay the same." width="560">
@@ -300,4 +300,4 @@ Every pattern above, and a lot more, lives as a runnable example in [`examples/`
300
300
 
301
301
  Apache-2.0, free and open source, including for commercial and enterprise use.
302
302
 
303
- Questions? Reach out at jose@openloops.xyz.
303
+ Questions? Reach out at jose@endeavourai.co.
@@ -55,8 +55,8 @@ class AgiLoop extends import_harness.AgentLoop {
55
55
  get author() {
56
56
  return {
57
57
  name: "Jose Barcos",
58
- email: "jose@openloops.xyz",
59
- website: "https://openloops.xyz/jose"
58
+ email: "jose@endeavourai.co",
59
+ website: "https://openloopsai.co/jose"
60
60
  };
61
61
  }
62
62
  agentContext(ctx) {
@@ -32,8 +32,8 @@ class AgiLoop extends AgentLoop {
32
32
  get author() {
33
33
  return {
34
34
  name: "Jose Barcos",
35
- email: "jose@openloops.xyz",
36
- website: "https://openloops.xyz/jose"
35
+ email: "jose@endeavourai.co",
36
+ website: "https://openloopsai.co/jose"
37
37
  };
38
38
  }
39
39
  agentContext(ctx) {
@@ -36,7 +36,7 @@ The refresh token is not a JWT: it is a random string, and only its hash is stor
36
36
  ```typescript
37
37
  const result = await login({
38
38
  payload: {
39
- emailOrUsername: 'jose@openloops.xyz',
39
+ emailOrUsername: 'jose@endeavourai.co',
40
40
  password: 'a-real-password',
41
41
  },
42
42
  })
@@ -301,9 +301,11 @@ process.on('SIGTERM', async () => {
301
301
  })
302
302
  ```
303
303
 
304
+ The runner does not share anything with the agent you build for your chat. If you leave out `agent`, every run starts with an agent that has no tools, no guards and no MCP servers, and nothing warns you: the model just answers that it cannot do the task. Pass the same tools and options you give your chat agent. The best way is to build them in one place, for example a function `buildAgentOptions()`, and call it from your chat endpoint and from the `agent` option of the runner. Two copies of the configuration drift apart, and the automations are the ones that fail, with no one watching.
305
+
304
306
  | Option | Default | What it does |
305
307
  | --- | --- | --- |
306
- | `agent` | `{}` | The options of the `Agent` used for every run: tools, guards, `maxIterations`, `strictMode`, `identity`... It can be a function `({ automation, currentUser }) => options` when they depend on the automation or on the user. The loop is `AgiLoop` unless you set `loop`. A custom loop must support autonomous mode (`harness.executionMode`). |
308
+ | `agent` | `{}` (no tools, no guards) | The options of the `Agent` used for every run: tools, guards, `maxIterations`, `strictMode`, `identity`... It can be a function `({ automation, currentUser }) => options` when they depend on the automation or on the user. The loop is `AgiLoop` unless you set `loop`. A custom loop must support autonomous mode (`harness.executionMode`). |
307
309
  | `intervalMs` | `60000` | How often it checks. Also set with `AUTOMATIONS_POLL_INTERVAL_MS`. `runner.wake()` makes it check now. |
308
310
  | `leaseMs` | `600000` | How long an automation stays locked while it runs, renewed while the run lasts. Also set with `AUTOMATIONS_LEASE_MS`. |
309
311
  | `maxConcurrentRuns` | `3` | How many runs a runner executes at once. |
package/docs/users.md CHANGED
@@ -26,7 +26,7 @@ const result = await createUser({
26
26
  payload: {
27
27
  firstName: 'Jose',
28
28
  lastName: 'Barcos',
29
- email: 'jose@openloops.xyz',
29
+ email: 'jose@endeavourai.co',
30
30
  password: 'a-real-password',
31
31
  role: UserRole.USER,
32
32
  },
@@ -11,7 +11,7 @@ async function loginExample () {
11
11
 
12
12
  const result = await login({
13
13
  payload: {
14
- emailOrUsername: 'jose@openloops.xyz',
14
+ emailOrUsername: 'jose@endeavourai.co',
15
15
  password: 'openloops!',
16
16
  },
17
17
  })
@@ -12,7 +12,7 @@ async function createUserExample () {
12
12
  payload: {
13
13
  firstName: 'Jose',
14
14
  lastName: 'Barcos',
15
- email: 'jose@openloops.xyz',
15
+ email: 'jose@endeavourai.co',
16
16
  password: 'openloops!',
17
17
  role: UserRole.USER
18
18
  },
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "openloops",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "description": "Open source harness for building multitenant AI agents for your SaaS: a TypeScript runtime with persistence, tools, MCP trust, approvals and autonomous automations",
5
5
  "author": {
6
6
  "name": "Jose Barcos",
7
- "email": "jose@openloops.xyz",
7
+ "email": "jose@endeavourai.co",
8
8
  "url": "https://github.com/jbarcosdev"
9
9
  },
10
10
  "license": "Apache-2.0",
11
- "homepage": "https://openloops.xyz",
11
+ "homepage": "https://openloopsai.co",
12
12
  "repository": {
13
13
  "type": "git",
14
14
  "url": "git+https://github.com/jbarcosdev/openloops.git"