@autonomos/core
v0.0.2
Published
SDK and core definitions for the Agent Protocol
Maintainers
Readme
@autonomos/core
The core logic and specification for the Autonomos Agent Protocol.
Overview
This package contains the shared constants, types, templates, and parsers that define the Autonomos Agent Protocol. It is designed to be used by the CLI and other tools that need to interact with the protocol.
Features
- Constants: Shared directory and file names (
.autonomos,manifest.json, etc.) - Templates: Immutable templates for
PROTOCOL.md,TASKS.md,AGENT.md, andmanifest.json. - Types: TypeScript definitions for protocol entities (Tasks, Agents, Manifest).
- Parsers: Tools for extracting structured data from markdown (e.g.,
TaskParser).
Usage
import { PROTOCOL_VERSION, TaskParser } from '@autonomos/core'
console.log(`Current Protocol Version: ${PROTOCOL_VERSION}`)
const tasks = TaskParser.parse(markdownContent)Structure
src/constants.ts: Global constants and versioning.src/types.ts: Core type definitions.src/templates/: Protocol file templates.src/parsers/: Logic for parsing protocol files.
License
MIT
