What is an Agent?
An ArgentOS agent is a persistent AI runtime that can receive messages, reason about them, use tools to take actions, and respond. Unlike a simple chatbot, an agent has:- Persistent memory across sessions (via MemU)
- Tool access to execute commands, browse the web, manage tasks, and more
- Multi-channel presence across Telegram, Discord, WhatsApp, and other platforms
- Autonomous capabilities via the heartbeat and task system
Core Architecture
Agent Types & Roles
Four archetypes: Main, Family, Sub-Agent, and Worker.
Architecture
How the runtime connects the gateway, Claude API, tools, and memory.
The Agent Loop
Receive, think, act, respond — the core execution cycle.
Consciousness Kernel
The persistent autonomous executive for continuous agency.
Autonomy & Accountability
Contemplation
Self-directed thinking cycles for reflection and growth.
Accountability System
Scoring, penalties, rewards, and trust metrics.
Heartbeat Contracts
Structured task contracts with verification.
RALF + ANGEL
Response verification and ground truth checking.
Configuration & Identity
System Prompt
How the system prompt is assembled from modular sections.
Alignment Documents
SOUL.md, IDENTITY.md, and other personality-defining docs.
Sessions
Conversation management, context windows, and compaction.
Multi-Agent
Running multiple agents with different configurations.
Advanced Systems
Intent Governance
Three-tier policy engine constraining agent behavior.
Execution Worker
Autonomous background task processor.
Knowledge Library
PostgreSQL-backed RAG with agent-level ACL.
Self-Improving System
How ArgentOS learns from its own behavior.
SpecForge
5-stage project management from intent to execution.
Argent Runtime
The native agent runtime and LLM layer.
Outbound Messaging
Multi-channel delivery pipeline for agent-initiated messages.
Cron & Scheduled Jobs
Scheduled jobs, nudges, and the minion pattern.
Minion Pattern
Inter-session task handoff for autonomous work.
Agent Configuration
Agents are configured inargent.json under the agents key:
Lifecycle
- Gateway starts and loads agent configuration
- Channel message arrives and is routed to the agent
- Agent processes the message through the agent loop
- Response is sent back through the originating channel
- Memory is updated with relevant information from the interaction
