Primitives.org.ai

autonomous-agents

Truly autonomous agents with identity and memory

npm install autonomous-agents

Create agents that are long-term members of your organization with real identity.

import { agent, team } from 'autonomous-agents'

const reviewer = agent({
  name: 'code-reviewer',
  identity: {
    email: 'reviewer@company.com',
    slack: '@code-reviewer',
  },
  capabilities: [reviewCode, suggestFixes],
  memory: { type: 'persistent' },
})

await reviewer.assign(pullRequest)

Teams

const engineering = team({
  name: 'engineering',
  agents: [reviewer, deployer, tester],
  lead: seniorDev,
})

await engineering.assign(project)

Features

  • Real identity (email, Slack, calendar)
  • Long-term persistent memory
  • Capability-based permissions
  • Autonomous goal pursuit
  • Human escalation paths
  • Team coordination

Exports

ExportDescription
agentCreate an autonomous agent
teamCreate agent teams
roleDefine agent roles
memoryPersistent memory store
capabilityDefine capabilities
Was this page helpful?

On this page