Skip to main content
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.