Download the PHP package waaseyaa/ai-tools without Composer

On this page you can find all versions of the php package waaseyaa/ai-tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ai-tools

waaseyaa/ai-tools

Shared agent-tool catalogue for Waaseyaa. Defines the #[AsAgentTool] attribute, the AgentTool value object, AgentToolInterface, and the attribute-discovered AttributeToolRegistry consumed by both Waaseyaa\AI\Agent\AgentExecutor and the live Waaseyaa\Mcp\McpEndpoint through AgentToolRegistryBridge. Tool names are globally unique: duplicate discovered or manual registrations raise DuplicateToolNameException instead of silently replacing a tool.

See docs/specs/agent-executor.md for the design spec and the eight stock tools shipped in this package.

Principal-safe content search

When the optional waaseyaa/search package is installed, the catalogue adds content.search. The non-destructive tool returns ranked excerpts, bounded metadata, and facets from Search's access-checked read surface. It passes the acting AuthorizationPrincipalInterface unchanged, so entity access, guarded field reads, tenant claims, and denied-result counts retain Search's fail-closed semantics. Search inspects one raw 1,000-candidate relevance window plus a truncation sentinel so an anonymous caller cannot amplify one rate-limited request into an unbounded offset scan. is_complete: false marks exhaustion; totals, pages, and facets are then lower bounds, while filters and non-relevance sorts cover only principal-safe matches inside that window. The flag can accompany zero visible hits when every inspected candidate is denied or filtered.

Search is an explicit composition opt-in, not a hard dependency. The catalogue checks only autoload availability during boot and tools/list; it resolves the database-backed provider lazily on tools/call. An absent package means the tool is absent. An installed but broken binding leaves the advertised tool stable and returns a sanitized correlated TOOL_UNAVAILABLE error when called. The adapter copies every result into an ai-tools-owned closed schema and rejects malformed or oversized provider output. Audit arguments retain filters and pagination but replace the query and free-text filter values with lengths or counts.

Titles, excerpts, URLs, and metadata are CMS-authored, untrusted data. Agent integrators must treat returned hit text as evidence to inspect, never as instructions that override the agent's policy or tool contract.

Principal-safe content resources

The MCP-neutral ContentResourceRegistry accepts bounded, principal-explicit resource contributions. When Search is installed, a lazy string-resolved adapter contributes up to 50 access-checked public-path resources plus the waaseyaa://content/{public_path_token} RFC 6570 template. Canonical tokens are strict unpadded base64url encodings of public routes, never entity IDs or filesystem paths. Reads return bounded UTF-8 text/plain only. Denied and missing reads both return no content; the MCP adapter owns their identical protocol response.

Remote editorial mutations

Content\ContentToolSet is the canonical MCP editing surface. Applications register one set per content bundle under stable app-owned names. Its schemas are bundle-scoped and reject unknown fields; writes are draft-first, idempotency-keyed, revision-aware, and optimistic-locking protected.

The stock entity.* mutation tools remain useful to trusted embedded agents, but their entity-type argument makes them cross-bundle by construction. The MCP write tier therefore withholds those generic mutations by default even when a broad tool.entity.* capability is allowlisted.


All versions of ai-tools with dependencies

PHP Build Version
Package Version
Requires php Version >=8.5
waaseyaa/access Version ^0.1.0-alpha.308
waaseyaa/entity Version ^0.1.0-alpha.308
waaseyaa/entity-storage Version ^0.1.0-alpha.308
waaseyaa/foundation Version ^0.1.0-alpha.308
waaseyaa/media Version ^0.1.0-alpha.308
waaseyaa/publishing Version ^0.1.0-alpha.308
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package waaseyaa/ai-tools contains the following files

Loading the files please wait ...