Skip to main content

Documentation Index

Fetch the complete documentation index at: https://asterai.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

The asterai registry is where components are published and discovered. Think of it as npm for AI agent toolsβ€”but language-agnostic.

πŸ‘€ Namespaces

Every user has a namespace matching their username. When you publish a component, it’s scoped to your namespace:
your-username:component-name@1.0.0

🌍 Public Components

Public components are free to publish and use. Anyone can discover and import them into their environments. Browse available components at asterai.io/registry.

πŸ”’ Private Components

Private components are only visible to you and your team. Use them for proprietary tools or internal integrations.

πŸš€ Publishing

Publish a component with the CLI:
asterai component push
The component version is defined in your component.wit file. Each version is immutableβ€”once published, it cannot be modified or overwritten.

πŸ“₯ Using Components

Add a component to your environment through the console or by importing it in your component’s WIT file:
package your-username:my-component@0.1.0;

world component {
  import other-user:useful-tool/api@1.0.0;

  export my-function: func() -> string;
}

🏷️ Versioning

Components follow semantic versioning:
  • Major (1.x.x): Breaking changes
  • Minor (x.1.x): New features, backwards compatible
  • Patch (x.x.1): Bug fixes, backwards compatible
Choose your dependency versions carefully. Pinning to exact versions ensures reproducibility; using ranges allows automatic updates.