You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 30, 2026. It is now read-only.
refactor: Rename package from ai-tool-core to integration-core
- Package: opencompanyapp/ai-tool-core -> opencompanyapp/integration-core
- Namespace: OpenCompany\AiToolCore -> OpenCompany\IntegrationCore
- Service provider: AiToolCoreServiceProvider -> IntegrationCoreServiceProvider
- Broadened description to reflect support for integrations beyond AI tools
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,21 @@
1
-
# AI Tool Core
1
+
# Integration Core
2
2
3
-
> Core framework for building AI tool packages for the [Laravel AI SDK](https://github.com/laravel/ai). Part of the [OpenCompany](https://github.com/OpenCompanyApp) AI tool ecosystem.
3
+
> Core framework for building integration packages for the [Laravel AI SDK](https://github.com/laravel/ai). Part of the [OpenCompany](https://github.com/OpenCompanyApp) ecosystem.
4
4
5
-
Provides the contracts, credential abstraction, and auto-discovery registry that all OpenCompany AI tool packages build on. Think of it as the shared foundation — like n8n's node SDK, but for Laravel AI agents.
5
+
Provides the contracts, credential abstraction, and auto-discovery registry that all OpenCompany integration packages build on. Think of it as the shared foundation — like n8n's node SDK, but for Laravel AI agents.
6
6
7
7
## About OpenCompany
8
8
9
9
[OpenCompany](https://github.com/OpenCompanyApp) is an AI-powered workplace platform where teams deploy and coordinate multiple AI agents alongside human collaborators. It combines team messaging, document collaboration, task management, and intelligent automation in a single workspace — with built-in approval workflows and granular permission controls so organizations can adopt AI agents safely and transparently.
10
10
11
-
This core package enables OpenCompany's plugin architecture for AI tools — each external integration (astronomy, analytics, messaging, etc.) is a separate Composer package that any Laravel app can install independently.
11
+
This core package enables OpenCompany's plugin architecture for integrations — each external integration (astronomy, analytics, messaging, etc.) is a separate Composer package that any Laravel app can install independently.
12
12
13
13
OpenCompany is built with Laravel, Vue 3, and Inertia.js. Learn more at [github.com/OpenCompanyApp](https://github.com/OpenCompanyApp).
14
14
15
15
## Installation
16
16
17
17
```console
18
-
composer require opencompanyapp/ai-tool-core
18
+
composer require opencompanyapp/integration-core
19
19
```
20
20
21
21
Laravel auto-discovers the service provider. No manual registration needed.
@@ -24,19 +24,19 @@ Laravel auto-discovers the service provider. No manual registration needed.
24
24
25
25
| Component | Purpose |
26
26
|-----------|---------|
27
-
|`ToolProvider` interface | Contract every tool package implements — declares tools, metadata, and factory method |
27
+
|`ToolProvider` interface | Contract every integration package implements — declares tools, metadata, and factory method |
28
28
|`CredentialResolver` interface | Abstraction for API keys/config — swap between config files, databases, or vaults |
29
29
|`ConfigCredentialResolver`| Default resolver that reads from `config/ai-tools.php`|
30
30
|`ToolProviderRegistry`| Singleton registry that collects all tool providers for discovery |
31
-
|`AiToolCoreServiceProvider`| Binds everything with sensible defaults (all overridable) |
31
+
|`IntegrationCoreServiceProvider`| Binds everything with sensible defaults (all overridable) |
32
32
33
-
## Quick Start: Building a Tool Package
33
+
## Quick Start: Building an Integration Package
34
34
35
35
### 1. Implement `ToolProvider`
36
36
37
37
```php
38
38
use Laravel\Ai\Contracts\Tool;
39
-
use OpenCompany\AiToolCore\Contracts\ToolProvider;
39
+
use OpenCompany\IntegrationCore\Contracts\ToolProvider;
40
40
41
41
class WeatherToolProvider implements ToolProvider
42
42
{
@@ -75,7 +75,7 @@ class WeatherToolProvider implements ToolProvider
75
75
76
76
public function createTool(string $class, array $context = []): Tool
@@ -88,7 +88,7 @@ class WeatherToolProvider implements ToolProvider
88
88
### 2. Register in Your Service Provider
89
89
90
90
```php
91
-
use OpenCompany\AiToolCore\Support\ToolProviderRegistry;
91
+
use OpenCompany\IntegrationCore\Support\ToolProviderRegistry;
92
92
93
93
class WeatherServiceProvider extends ServiceProvider
94
94
{
@@ -137,7 +137,7 @@ class GetWeather implements Tool
137
137
138
138
## Credential Management
139
139
140
-
The `CredentialResolver` interface abstracts where API keys come from. Tool packages call `CredentialResolver` to get credentials without knowing or caring about the storage backend.
140
+
The `CredentialResolver` interface abstracts where API keys come from. Integration packages call `CredentialResolver` to get credentials without knowing or caring about the storage backend.
141
141
142
142
**In OpenCompany**, credentials are managed through the Integrations UI and stored encrypted in the database. Users never need to touch config files — everything is configured through the admin interface.
143
143
@@ -157,14 +157,14 @@ You can swap the resolver to use any storage backend (database, vault, secrets m
Copy file name to clipboardExpand all lines: composer.json
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,28 +1,28 @@
1
1
{
2
-
"name": "opencompanyapp/ai-tool-core",
3
-
"description": "Core framework for OpenCompany AI tool packages — ToolProvider contract, credential abstraction, and auto-discovery for Laravel AI SDK tools.",
2
+
"name": "opencompanyapp/integration-core",
3
+
"description": "Core framework for OpenCompany integration packages — contracts, credential abstraction, and auto-discovery registry for Laravel.",
0 commit comments