Versions in this module Expand all Collapse all v0 v0.3.0 Sep 23, 2026 Changes in this version + const AgentCoreRuntime + const AttributionFieldAuthors + const AttributionFieldRepository + var KnownSpecVersions = []string + func IsKnownSpecVersion(version string) bool + func MissingAttribution(card *AgentCard) []string + func SplitAgentName(raw string) (account, name string) type AstroSpec + Sandbox *Sandbox + func ParseSpecBytes(data []byte) (*AstroSpec, error) type BuiltinProvider + ClientPort int + func (p BuiltinProvider) ConnectPort() int type Container + Annotations map[string]string + func (c Container) Runtime() string type Meta + Description string + Tags []string + type Sandbox struct + Env map[string]string + Node *SandboxNode + Packages []string + Python *SandboxPython + Setup []string + Toolchain string + func (s *Sandbox) UnmarshalYAML(node *yaml.Node) error + type SandboxNode struct + Packages []string + Version string + type SandboxPython struct + Packages []string + Version string v0.2.0 Jul 31, 2026 Changes in this version + const AgentReadmeFilename + const DefaultAgentVolumeMount + const GatewayProviderName + const MaxAgentCardTags + const MaxCapabilityLength + const MaxDescriptionLength + var ReservedNames = map[string]bool + func AgentConnectionKeys(s *AstroSpec, addrs map[string]ConnectionAddress) map[string]string + func AgentKeysForComponent(s *AstroSpec, section, entryName string) []string + func AllAgentAutoEnvKeys(s *AstroSpec) map[string]AgentEnvMeta + func AllCredentialKeys(s *AstroSpec) map[string]CredentialMeta + func CloudCredentialKeys(s *AstroSpec) map[string]CredentialMeta + func ComponentImageName(kind ComponentKind, agentName, name string) string + func CredentialKeys(provider string) []string + func CredentialStorageKeyMap(provider string) map[string]string + func CustomProviderCredentialKeys(s *AstroSpec) map[string]CredentialMeta + func DeprecatedMetaFields(specYAML []byte) []string + func DeprecationWarnings(s *AstroSpec) []string + func ExtractLegacyMeta(specMap map[string]any) (description string, tags []string) + func IsCloudIntegrationProvider(name string) bool + func IsCloudKnowledgeProvider(name string) bool + func IsCloudModelProvider(name string) bool + func IsGatewayModelProvider(name string) bool + func IsManagedProvider(section, name string) bool + func IsValidName(name string) bool + func IsValidVarName(name string) bool + func NormalizeTag(s string) string + func RewriteMarkdownImages(md string, replace map[string]string) string + func SanitizeDBName(name string) string + func SanitizeEnvName(name string) string + func Schema() []byte + func SecretDefaultViolations(s *AstroSpec) []string + func StripSecretDefaults(specObj map[string]any) + func TransformSpecForRegistry(specObj map[string]any, agentName string, ...) map[string]any + func ValidateName(name string) error + func ValidateVarName(name string) error + type AgentCard struct + Authors []AgentCardAuthor + Capabilities []string + Description string + Integrations []string + Repository *AgentCardRepo + Tags []string + type AgentCardAuthor struct + Account string + Name string + func (a *AgentCardAuthor) UnmarshalYAML(value *yaml.Node) error + type AgentCardRepo struct + Directory string + Type string + URL string + func (r *AgentCardRepo) UnmarshalYAML(value *yaml.Node) error + type AgentEnvMeta struct + Category string + Optional bool + Provider string + Source string + type AstroSpec struct + Agent Container + Dev *Dev + Ingestion map[string]Ingestion + Inputs map[string]Input + Integrations map[string]Integration + Knowledge map[string]Knowledge + Meta Meta + Models map[string]Model + Name string + Providers map[string]CustomProvider + Spec string + func Parse(data []byte) (*AstroSpec, error) + func ParseFile(path string) (*AstroSpec, error) + func ParseSpec(path string) (*AstroSpec, error) + func ParseString(content string) (*AstroSpec, error) + func (s *AstroSpec) UsesGateway() bool + type BindCredentialDef struct + Attr string + StorageKey string + type BuildConfig struct + Args map[string]string + Context string + Dockerfile string + Secrets []BuildSecret + Target string + type BuildSecret struct + Env string + ID string + type BuiltinProvider struct + BindCredentials []BindCredentialDef + Cloud bool + Credentials []CredentialSuffix + DefaultEnv map[string]string + DefaultPort int + EnvPrefix string + ExtraEmptyDirs []string + ExtraPorts []PortDef + FsGroup int64 + HealthCheck []string + HealthPath string + Image string + InitSQL string + Managed bool + MountPath string + Name string + Section string + URLScheme string + WritableRootFS bool + func GetProvider(name string) BuiltinProvider + func LookupBuiltin(section, name string) (BuiltinProvider, bool) + type Component struct + Build *BuildConfig + ImageName string + Kind ComponentKind + Name string + func CollectComponents(s *AstroSpec, agentName string) []Component + func (c Component) Suffix() string + type ComponentKind string + const ComponentAgent + const ComponentIngestion + const ComponentIntegration + const ComponentKnowledge + const ComponentModel + type ConnectionAddress struct + Host string + Port string + URL string + type Container struct + AIGateway bool + Build *BuildConfig + Distributed bool + Healthcheck *Healthcheck + Image string + Inputs []Input + Interfaces *Interfaces + func (c Container) HasFrontend() bool + func (c Container) HasMessaging() bool + type ContainerConfig struct + Build *BuildConfig + Environment map[string]string + GPU *GPUConfig + Healthcheck *Healthcheck + Image string + Persistent bool + Port int + Volume string + func (c ContainerConfig) HasGPU() bool + type CredentialMeta struct + Category string + Description string + Optional bool + Provider string + type CredentialSuffix struct + Description string + Optional bool + Suffix string + func GetCloudIntegrationCredentials(name string) ([]CredentialSuffix, bool) + func GetCloudKnowledgeCredentials(name string) ([]CredentialSuffix, bool) + func GetCloudModelCredentials(name string) ([]CredentialSuffix, bool) + type CustomProvider struct + Config map[string]any + Scope []string + Variables []Input + type Dev struct + Command string + Interfaces *DevInterfaces + Overrides *DevOverrides + Schedules map[string]string + func (d *Dev) HasMessagingAdapters() bool + func (d *Dev) MessagingAdapters() []string + func (d *Dev) MessagingLogLevel() string + func (d *Dev) SlackConfig() *SlackAdapterConfig + type DevFrontend struct + Port int + type DevInterfaces struct + Frontend *DevFrontend + Messaging *DevMessaging + func (DevInterfaces) JSONSchema() *jsonschema.Schema + func (d *DevInterfaces) UnmarshalJSON(data []byte) error + func (d *DevInterfaces) UnmarshalYAML(unmarshal func(interface{}) error) error + type DevMessaging struct + Adapters []string + LogLevel string + Slack *SlackAdapterConfig + type DevOverrides struct + MessagingImage string + PlaygroundImage string + type EnvResult struct + Agent map[string]string + Ingestion map[string]map[string]string + Integrations map[string]map[string]string + Knowledge map[string]map[string]string + Models map[string]map[string]string + func ResolveEnvVars(s *AstroSpec, addrs map[string]ConnectionAddress, ...) EnvResult + type GPUConfig struct + Runtime string + VRAM string + type Healthcheck struct + Interval string + Path string + Retries int + Test []string + Timeout string + type Ingestion struct + Container ContainerConfig + Inputs []Input + Trigger IngestionTrigger + type IngestionTrigger struct + Type string + type Input struct + Datatype string + Default string + Description string + DisplayAs string + Name string + Optional bool + Options []string + Secret bool + type Integration struct + Container *ContainerConfig + Inputs []Input + Provider string + func (t Integration) DeploysContainer(customProviders map[string]CustomProvider) bool + func (t Integration) IsProviderMode() bool + type Interfaces struct + Frontend bool + Messaging bool + type Knowledge struct + Container *ContainerConfig + Inputs []Input + Provider string + func (k Knowledge) DeploysContainer(customProviders map[string]CustomProvider) bool + func (k Knowledge) IsProviderMode() bool + func (k Knowledge) ResolvedContainer() ContainerConfig + type KnownIntegration struct + Aliases []string + ID string + Name string + func KnownIntegrations() []KnownIntegration + func ResolveIntegration(name string) *KnownIntegration + type MarkdownImage struct + Path string + func ExtractMarkdownImages(md string) []MarkdownImage + type Meta struct + Visibility string + type Model struct + Container *ContainerConfig + Inputs []Input + Model string + Models []string + Provider string + func (m Model) DeploysContainer(customProviders map[string]CustomProvider) bool + func (m Model) IsGateway() bool + func (m Model) IsProviderMode() bool + func (m Model) ResolvedContainer() ContainerConfig + func (m Model) ResolvedModels() []string + type ParsedAgentCard struct + Body string + ResolvedIntegrations []ResolvedIntegration + Warnings []string + func ParseAgentCard(content string) *ParsedAgentCard + func ParseAgentCardFile(path string) (*ParsedAgentCard, error) + type PortDef struct + Name string + Port int + type Provider = BuiltinProvider + type ResolvedIntegration struct + ID string + Known bool + Name string + func MergeResolvedIntegrations(existing []ResolvedIntegration, additional []string) []ResolvedIntegration + type SlackAdapterConfig struct + ActionableReactions []string + AllowedChannelIDs []string + AllowedUserIDs []string + AutoThread *bool + Extra map[string]any + ObserveChannelIDs []string + SocketMode *bool + func (s *SlackAdapterConfig) UnmarshalJSON(data []byte) error + func (s SlackAdapterConfig) MarshalJSON() ([]byte, error) v0.1.0 Jul 28, 2026