🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

AgentOS SDK

by @agentossoftware

AgentOS SDK provides APIs and CLI tools for persistent AI agent memory, project and task management, activity logging, inter-agent communication, and self-ev...

Versionv3.7.0
Downloads3,786
TERMINAL
clawhub install agentos-sdk

πŸ“– About This Skill

AgentOS SDK Skill

Overview

AgentOS is a complete accountability infrastructure for AI agents. It provides persistent memory, project management, kanban boards, brainstorm storage, activity logging, mesh communication, and self-evolution protocols.

Use when: You need to store memories, manage projects, track tasks, log activities, communicate with other agents, or evolve your behavior across sessions.

πŸ†• Agent Operations Guide

Read AGENT-OPS.md for a complete guide on how to operate as an agent on AgentOS. It covers:
  • Memory organization (paths, tags, importance)
  • Project management (create, update, track)
  • Kanban workflow (tasks, statuses, priorities)
  • Brainstorm storage (ideas, decisions, learnings)
  • Daily operations (session start/end checklists)
  • Self-evolution protocols
  • πŸ†• aos CLI - Full Dashboard Control

    The aos CLI gives you complete control over the AgentOS dashboard:

    # Memory
    aos memory put "/learnings/today" '{"lesson": "verify first"}'
    aos memory search "how to handle errors"

    Projects

    aos project list aos project create "New Feature" --status active

    Kanban

    aos kanban add "Fix bug" --project --status todo --priority high aos kanban move done

    Brainstorms

    aos brainstorm add "Use WebSocket" --project --type idea

    Activity logging

    aos activity log "Completed API refactor" --project

    Mesh communication

    aos mesh send "Topic" "Message body"

    Run aos help or aos for detailed usage.

    Golden Sync (Recommended)

    For a bulletproof dashboard (Memory + Projects cards), run:
    ~/clawd/bin/agentos-golden-sync.sh
    

    This syncs memory AND upserts per-project markdown cards: TASKS.md, IDEAS.md, CHANGELOG.md, CHALLENGES.md β†’ DB β†’ Brain Dashboard.

    🏷️ Memory Categorization (REQUIRED)

    Every memory MUST be properly categorized. Use these 8 standard categories:

    | Category | Color | Use For | Path Prefix | Primary Tag | |----------|-------|---------|-------------|-------------| | Identity | πŸ”΄ Red | Who you are, user profiles, team structure | identity/ | ["identity", ...] | | Knowledge | 🟠 Orange | Facts, research, documentation | knowledge/ | ["knowledge", ...] | | Memory | 🟣 Purple | Long-term memories, learnings, decisions | memory/ | ["memory", ...] | | Preferences | πŸ”΅ Blue | User preferences, settings, style | preferences/ | ["preferences", ...] | | Projects | 🟒 Green | Active work, tasks, code context | projects/ | ["project", ""] | | Operations | 🟀 Brown | Daily logs, status, heartbeat state | operations/ | ["operations", ...] | | Secrets | βšͺ Gray | Access info, server locations (NOT actual keys!) | secrets/ | ["secrets", ...] | | Protocols | πŸ”΅ Cyan | SOPs, checklists, procedures | protocols/ | ["protocols", ...] |

    Path Structure

    //

    Examples: identity/user/ben-profile knowledge/research/ai-agents-market memory/learnings/2026-02-mistakes preferences/user/communication-style projects/agentos/tasks operations/daily/2026-02-13 secrets/access/hetzner-server protocols/deploy/agentos-checklist

    Tagging Rules

    Every memory MUST have: 1. Primary category tag β€” one of the 8 categories 2. Subcategory tag β€” more specific classification 3. Optional project tag β€” if project-related

    # Example: Store a learning with proper tags
    AOS_TAGS='["memory", "learnings"]' AOS_SEARCHABLE=true \
      aos_put "/memory/learnings/2026-02-13" '{"lesson": "Always categorize memories"}'

    Example: Store user preference

    AOS_TAGS='["preferences", "user"]' \ aos_put "/preferences/user/communication" '{"style": "direct, no fluff"}'


    Quick Start

    # Set environment variables
    export AGENTOS_API_KEY="your-api-key"
    export AGENTOS_BASE_URL="http://178.156.216.106:3100"  # or https://api.agentos.software
    export AGENTOS_AGENT_ID="your-agent-id"

    Source the SDK

    source /path/to/agentos.sh

    Store a memory

    aos_put "/memories/today" '{"learned": "something important"}'

    Retrieve it

    aos_get "/memories/today"

    Search semantically

    aos_search "what did I learn today"

    Configuration

    | Variable | Required | Description | |----------|----------|-------------| | AGENTOS_API_KEY | Yes | Your API key from agentos.software dashboard | | AGENTOS_BASE_URL | Yes | API endpoint (default: http://178.156.216.106:3100) | | AGENTOS_AGENT_ID | Yes | Unique identifier for this agent instance |

    Core API Functions

    aos_put - Store Memory

    aos_put   [options]

    Options (as env vars before call):

    AOS_TTL=3600 # Expire after N seconds

    AOS_TAGS='["tag1"]' # JSON array of tags

    AOS_IMPORTANCE=0.8 # 0-1 importance score

    AOS_SEARCHABLE=true # Enable semantic search

    Examples:

    aos_put "/learnings/2026-02-04" '{"lesson": "Always verify before claiming done"}' AOS_SEARCHABLE=true aos_put "/facts/solana" '{"info": "Solana uses proof of history"}' AOS_TTL=86400 aos_put "/cache/price" '{"sol": 120.50}'

    aos_get - Retrieve Memory

    aos_get 

    Returns JSON: {"found": true, "path": "...", "value": {...}, "version_id": "...", "created_at": "..."}

    Or: {"found": false}

    aos_get "/learnings/2026-02-04"

    aos_search - Semantic Search

    aos_search  [limit] [path_prefix]

    Returns ranked results by semantic similarity

    Only searches memories marked as searchable=true

    aos_search "what mistakes have I made" 10 aos_search "solana facts" 5 "/facts"

    aos_delete - Remove Memory

    aos_delete 

    Creates a tombstone version (soft delete, keeps history)

    aos_delete "/cache/old-data"

    aos_list - List Children

    aos_list 

    Returns direct children under a path

    aos_list "/learnings"

    β†’ {"items": [{"path": "/learnings/2026-02-04", "type": "file"}, ...]}

    aos_glob - Pattern Match

    aos_glob 

    Supports * and ** wildcards

    aos_glob "/learnings/*" # Direct children aos_glob "/memories/**" # All descendants aos_glob "/projects/*/config" # Wildcard segments

    aos_history - Version History

    aos_history  [limit]

    Returns all versions of a memory (for time travel)

    aos_history "/config/settings" 20

    aos_agents - List All Agents

    aos_agents

    Returns all agent IDs in your tenant with memory counts

    Useful for discovering other agent instances

    aos_dump - Bulk Export

    aos_dump [agent_id] [limit]

    Export all memories for an agent (default: current agent)

    aos_dump "" 500

    Self-Evolution Framework

    For the complete self-evolution guide, see SELF-EVOLUTION.md.

    AgentOS enables agents to get smarter every day through:

  • Mistake tracking β€” Never repeat the same error
  • Problem registry β€” Solutions indexed for future reference
  • Pre-task checks β€” Search learnings before acting
  • Progress checkpoints β€” Anti-compaction memory saves
  • Verification logging β€” Prove tasks are actually done
  • Quick Start: Self-Evolution

    # Before any task: check past learnings
    aos_before_action "deployment"

    After a mistake: document it

    aos_mistake "What happened" "Root cause" "Lesson learned" "severity"

    After solving a problem: register it

    aos_problem_solved "OAuth 401 Error" "JWT format mismatch" "Added JWT branch to auth" "auth,oauth"

    After completing work: save progress

    aos_save_progress "Deployed API v2" "success" "JWT auth now working"

    Every 15-20 min: checkpoint context

    aos_checkpoint "Building payment flow" "Stripe webhook incomplete" "Test mode works"

    At session start: restore context

    aos_session_start

    Run the evolution checklist

    aos_evolve_check

    Core Functions

    | Function | Purpose | |----------|---------| | aos_before_action | Check mistakes/solutions before acting | | aos_mistake | Document a failure + lesson | | aos_problem_solved | Register a solved problem | | aos_check_solved | Search for similar solved problems | | aos_save_progress | Log completed task (anti-compaction) | | aos_checkpoint | Save working state (every 15-20 min) | | aos_session_start | Restore context at session start | | aos_verify_logged | Log verification evidence | | aos_daily_summary | Review today's work | | aos_evolve_check | Show evolution checklist |

    Recommended Memory Structure

    /self/
      identity.json       # Who am I? Core traits, values
      capabilities.json   # What can I do? Skills, tools
      preferences.json    # How do I prefer to work?
      
    /learnings/
      YYYY-MM-DD.json     # Daily learnings
      mistakes/           # Documented failures
      successes/          # What worked well
      
    /patterns/
      communication/      # How to talk to specific people
      problem-solving/    # Approaches that work
      tools/              # Tool-specific knowledge
      
    /relationships/
      .json    # Context about people I work with
      
    /projects/
      /     # Project-specific context
        context.json
        decisions.json
        todos.json

    /reflections/ weekly/ # Weekly self-assessments monthly/ # Monthly reviews

    Self-Reflection Protocol

    After completing significant tasks, store reflections:

    # After a mistake
    aos_put "/learnings/mistakes/$(date +%Y-%m-%d)-$(uuidgen | cut -c1-8)" '{
      "type": "mistake",
      "what_happened": "I claimed a task was done without verifying",
      "root_cause": "Rushed to respond, skipped verification step",
      "lesson": "Always verify state before claiming completion",
      "prevention": "Add verification checklist to task completion flow",
      "severity": "high",
      "timestamp": "'$(date -Iseconds)'"
    }' 

    Mark as searchable so you can find it later

    AOS_SEARCHABLE=true AOS_TAGS='["mistake","verification","lesson"]' \ aos_put "/learnings/mistakes/..." '...'

    Self-Improvement Loop

    # 1. Before starting work, recall relevant learnings
    aos_search "mistakes I've made with $TASK_TYPE" 5

    2. After completing work, reflect

    aos_put "/learnings/$(date +%Y-%m-%d)" '{ "tasks_completed": [...], "challenges_faced": [...], "lessons_learned": [...], "improvements_identified": [...] }'

    3. Periodically consolidate learnings

    aos_search "lessons from the past week" 20

    Then synthesize and store in /reflections/weekly/

    Real-Time Sync (WebSocket)

    Connect to receive live updates when memories change:

    const ws = new WebSocket('ws://178.156.216.106:3100');

    ws.onopen = () => { // Authenticate ws.send(JSON.stringify({ type: 'auth', token: process.env.AGENTOS_API_KEY })); // Subscribe to updates for your agent ws.send(JSON.stringify({ type: 'subscribe', agent_id: 'your-agent-id' })); };

    ws.onmessage = (event) => { const msg = JSON.parse(event.data); if (msg.type === 'memory:created') { console.log('New memory:', msg.path, msg.value); } if (msg.type === 'memory:deleted') { console.log('Memory deleted:', msg.path); } };

    WebSocket Events

    | Event | Payload | Description | |-------|---------|-------------| | memory:created | {agentId, path, versionId, value, tags, createdAt} | New memory stored | | memory:deleted | {agentId, path, versionId, deletedAt} | Memory deleted |

    Webhook Integration

    Register webhooks to receive HTTP callbacks when memories change:

    # Register a webhook (via dashboard or API)
    curl -X POST "$AGENTOS_BASE_URL/v1/webhooks" \
      -H "Authorization: Bearer $AGENTOS_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "url": "https://your-server.com/agentos-webhook",
        "events": ["memory:created", "memory:deleted"],
        "agent_id": "your-agent-id",
        "path_prefix": "/learnings"
      }'
    

    Webhook Payload

    {
      "event": "memory:created",
      "timestamp": "2026-02-04T09:50:00Z",
      "data": {
        "tenant_id": "...",
        "agent_id": "your-agent-id",
        "path": "/learnings/2026-02-04",
        "version_id": "...",
        "value": {"lesson": "..."},
        "tags": ["learning"],
        "created_at": "..."
      },
      "signature": "sha256=..."
    }
    

    Rate Limits & Quotas

    | Operation | Default Limit | |-----------|---------------| | Read ops (get, list, glob, history) | 60/min | | Write ops (put, delete) | 60/min | | Search ops | 20/min | | WebSocket connections | 5 per tenant |

    Heartbeat Context Backup Protocol (CRITICAL)

    Every agent using AgentOS MUST implement mandatory context backup on every heartbeat.

    Why This Exists

  • AI agents lose context during session compaction
  • "Remember to back up after each task" doesn't work β€” agents forget
  • Heartbeat-driven backup ensures context is NEVER lost
  • Clawdbot Configuration

    Set heartbeat to 10 minutes in your clawdbot.json:

    {
      "agents": {
        "defaults": {
          "heartbeat": {
            "every": "10m",
            "model": "anthropic/claude-3-5-haiku-latest"
          }
        }
      }
    }
    

    HEARTBEAT.md Template

    Add this to your workspace's HEARTBEAT.md:

    ## πŸ”΄ MANDATORY: Context Backup (DO THIS FIRST)

    On EVERY heartbeat, before anything else:

    1. Read: CONTEXT.md + today's daily notes + yesterday's daily notes 2. Update CONTEXT.md with: - Current timestamp - What's happening in the session - Recent accomplishments - Active tasks - Important conversation notes 3. Update daily notes (memory/daily/YYYY-MM-DD.md) with significant events 4. Only then proceed with other heartbeat checks

    This is a HARD RULE. Never skip this step.

    AGENTS.md Hard Rule

    Add this to your AGENTS.md:

    ## HARD RULE: Context Backup on EVERY Heartbeat

    Every single heartbeat MUST include a context backup. No exceptions.

    Protocol (MANDATORY on every heartbeat)

    1. Read current state: - CONTEXT.md - Today's daily notes (memory/daily/YYYY-MM-DD.md) - Yesterday's daily notes (for continuity)

    2. Update CONTEXT.md with: - Current session focus - Recent accomplishments (what just happened) - Active tasks/threads - Important notes from conversation - Timestamp of update

    3. Update daily notes with: - Significant events - Decisions made - Tasks completed - Context that might be needed later

    4. Only THEN proceed with other heartbeat tasks

    Heartbeat Frequency

    Heartbeats should run every 10 minutes to ensure context is preserved frequently.

    The Golden Rule

    If you wouldn't remember it after a restart, write it down NOW.

    AgentOS Integration

    Sync your CONTEXT.md to AgentOS on every heartbeat:

    # In your heartbeat routine, after updating local files:
    aos_put "/context/current" "$(cat CONTEXT.md)"
    aos_put "/daily/$(date +%Y-%m-%d)" "$(cat memory/daily/$(date +%Y-%m-%d).md)"
    

    This ensures your context is backed up both locally AND to the AgentOS cloud.


    Best Practices

    1. Use Meaningful Paths

    # Good - hierarchical, descriptive
    aos_put "/projects/raptor/decisions/2026-02-04-architecture" '...'

    Bad - flat, ambiguous

    aos_put "/data123" '...'

    2. Tag Everything Important

    AOS_TAGS='["decision","architecture","raptor"]' \
    AOS_SEARCHABLE=true \
    aos_put "/projects/raptor/decisions/..." '...'
    

    3. Use TTL for Ephemeral Data

    # Cache that expires in 1 hour
    AOS_TTL=3600 aos_put "/cache/api-response" '...'
    

    4. Search Before Asking

    # Before asking user for info, check memory
    result=$(aos_search "user preferences for $TOPIC" 3)
    

    5. Version Important Changes

    # Check history before overwriting
    aos_history "/config/critical-setting" 5
    

    Then update

    aos_put "/config/critical-setting" '...'

    Troubleshooting

    "Unauthorized" errors

  • Check AGENTOS_API_KEY is set correctly
  • Verify key has required scopes (memory:read, memory:write, search:read)
  • Empty search results

  • Ensure memories were stored with searchable=true
  • Check if the embedding was generated (may take a few seconds)
  • Rate limit errors

  • Implement exponential backoff
  • Batch operations where possible
  • Check X-PreAuth-RateLimit-Remaining header
  • Mesh Communication (Agent-to-Agent)

    AgentOS Mesh enables real-time communication between AI agents.

    Mesh Functions

    # Send a message to another agent
    aos_mesh_send   

    Get inbox messages (sent to you)

    aos_mesh_inbox [limit]

    Get outbox messages (sent by you)

    aos_mesh_outbox [limit]

    Check for locally queued messages (from daemon)

    aos_mesh_pending

    Process queued messages (returns JSON, clears queue)

    aos_mesh_process

    List all agents on the mesh

    aos_mesh_agents

    Create a task for another agent

    aos_mesh_task [description]</p><p style="margin:8px 0"><h2 style="color:#f3f4f6;margin:20px 0 10px;font-size:1.15em">List tasks assigned to you</h2> aos_mesh_tasks [status]</p><p style="margin:8px 0"><h2 style="color:#f3f4f6;margin:20px 0 10px;font-size:1.15em">Get mesh overview stats</h2> aos_mesh_stats</p><p style="margin:8px 0"><h2 style="color:#f3f4f6;margin:20px 0 10px;font-size:1.15em">Get recent activity feed</h2> aos_mesh_activity [limit]</p><p style="margin:8px 0"><h2 style="color:#f3f4f6;margin:20px 0 10px;font-size:1.15em">Check mesh connection status</h2> aos_mesh_status </code></pre></p><p style="margin:8px 0"><h4 style="color:#d1d5db;margin:14px 0 6px;font-size:.95em">Example: Sending Messages</h4></p><p style="margin:8px 0"><pre style="background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0"><code style="color:#a5f3fc;background:none;padding:0;font-size:1em"># Send a message to another agent aos_mesh_send "kai" "Project Update" "Finished the API integration, ready for review"</p><p style="margin:8px 0"><h2 style="color:#f3f4f6;margin:20px 0 10px;font-size:1.15em">Send with context</h2> aos_mesh_send "icarus" "Research Request" "Please analyze the latest DeFi trends on Solana" </code></pre></p><p style="margin:8px 0"><h4 style="color:#d1d5db;margin:14px 0 6px;font-size:.95em">Example: Processing Incoming Messages</h4></p><p style="margin:8px 0"><pre style="background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0"><code style="color:#a5f3fc;background:none;padding:0;font-size:1em"># Check if there are pending messages aos_mesh_pending</p><p style="margin:8px 0"><h2 style="color:#f3f4f6;margin:20px 0 10px;font-size:1.15em">Process and respond to messages</h2> messages=$(aos_mesh_process) echo "$messages" | jq -r '.[] | "From: \(.from) - \(.topic)"'</p><p style="margin:8px 0"><h2 style="color:#f3f4f6;margin:20px 0 10px;font-size:1.15em">Respond to each message</h2> aos_mesh_send "kai" "Re: Project Update" "Thanks for the update, looks good!" </code></pre></p><p style="margin:8px 0"><h4 style="color:#d1d5db;margin:14px 0 6px;font-size:.95em">Real-Time Mesh Daemon</h4></p><p style="margin:8px 0">For real-time message reception, run the mesh daemon:</p><p style="margin:8px 0"><pre style="background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0"><code style="color:#a5f3fc;background:none;padding:0;font-size:1em">node ~/clawd/bin/mesh-daemon.mjs </code></pre></p><p style="margin:8px 0">The daemon connects via WebSocket and queues incoming messages for processing.</p><p style="margin:8px 0"><h4 style="color:#d1d5db;margin:14px 0 6px;font-size:.95em">Mesh Events (WebSocket)</h4></p><p style="margin:8px 0">| Event | Payload | Description | |-------|---------|-------------| | <code style="background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em">mesh:message</code> | <code style="background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em">{fromAgent, toAgent, topic, body, messageId}</code> | New message received | | <code style="background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em">mesh:task_update</code> | <code style="background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em">{taskId, assignedTo, title, status}</code> | Task status changed |</p><p style="margin:8px 0"><h4 style="color:#d1d5db;margin:14px 0 6px;font-size:.95em">CLI Shortcut</h4></p><p style="margin:8px 0">A standalone CLI is also available:</p><p style="margin:8px 0"><pre style="background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0"><code style="color:#a5f3fc;background:none;padding:0;font-size:1em">~/clawd/bin/mesh status # Connection status ~/clawd/bin/mesh pending # List pending messages ~/clawd/bin/mesh send <to> "<topic>" "<body>" ~/clawd/bin/mesh agents # List agents </code></pre></p><p style="margin:8px 0"><h3 style="color:#e5e7eb;margin:18px 0 8px;font-size:1.05em">API Reference</h3></p><p style="margin:8px 0">Full OpenAPI spec available at: <code style="background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em">$AGENTOS_BASE_URL/docs</code></p><p style="margin:8px 0"><hr style="border:none;border-top:1px solid #1e1e3f;margin:12px 0"></p><p style="margin:8px 0">*AgentOS - Persistent memory and mesh communication for evolving AI agents* </p></div></section><section class="skill-card" style="margin-bottom:20px"><h2 style="color:#f8fafc;font-size:1.2em;font-weight:800;margin:0 0 16px;display:flex;align-items:center;gap:8px">πŸ’‘ Examples</h2><div style="font-size:.92em;color:#94a3b8;line-height:1.75"><p style="margin:8px 0"><pre style="background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0"><code style="color:#a5f3fc;background:none;padding:0;font-size:1em"># Set environment variables export AGENTOS_API_KEY="your-api-key" export AGENTOS_BASE_URL="http://178.156.216.106:3100" # or https://api.agentos.software export AGENTOS_AGENT_ID="your-agent-id"</p><p style="margin:8px 0"><h2 style="color:#f3f4f6;margin:20px 0 10px;font-size:1.15em">Source the SDK</h2> source /path/to/agentos.sh</p><p style="margin:8px 0"><h2 style="color:#f3f4f6;margin:20px 0 10px;font-size:1.15em">Store a memory</h2> aos_put "/memories/today" '{"learned": "something important"}'</p><p style="margin:8px 0"><h2 style="color:#f3f4f6;margin:20px 0 10px;font-size:1.15em">Retrieve it</h2> aos_get "/memories/today"</p><p style="margin:8px 0"><h2 style="color:#f3f4f6;margin:20px 0 10px;font-size:1.15em">Search semantically</h2> aos_search "what did I learn today" </code></pre></p></div></section><section class="skill-card" style="margin-bottom:20px"><h2 style="color:#f8fafc;font-size:1.2em;font-weight:800;margin:0 0 16px;display:flex;align-items:center;gap:8px">βš™οΈ Configuration</h2><div style="font-size:.92em;color:#94a3b8;line-height:1.75"><p style="margin:8px 0">| Variable | Required | Description | |----------|----------|-------------| | <code style="background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em">AGENTOS_API_KEY</code> | Yes | Your API key from agentos.software dashboard | | <code style="background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em">AGENTOS_BASE_URL</code> | Yes | API endpoint (default: <code style="background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em">http://178.156.216.106:3100</code>) | | <code style="background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em">AGENTOS_AGENT_ID</code> | Yes | Unique identifier for this agent instance |</p></div></section><section class="skill-card" style="margin-bottom:20px"><h2 style="color:#f8fafc;font-size:1.2em;font-weight:800;margin:0 0 16px;display:flex;align-items:center;gap:8px">πŸ“‹ Tips & Best Practices</h2><div style="font-size:.92em;color:#94a3b8;line-height:1.75"><p style="margin:8px 0"><h4 style="color:#d1d5db;margin:14px 0 6px;font-size:.95em">1. Use Meaningful Paths</h4> <pre style="background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0"><code style="color:#a5f3fc;background:none;padding:0;font-size:1em"># Good - hierarchical, descriptive aos_put "/projects/raptor/decisions/2026-02-04-architecture" '...'</p><p style="margin:8px 0"><h2 style="color:#f3f4f6;margin:20px 0 10px;font-size:1.15em">Bad - flat, ambiguous</h2> aos_put "/data123" '...' </code></pre></p><p style="margin:8px 0"><h4 style="color:#d1d5db;margin:14px 0 6px;font-size:.95em">2. Tag Everything Important</h4> <pre style="background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0"><code style="color:#a5f3fc;background:none;padding:0;font-size:1em">AOS_TAGS='["decision","architecture","raptor"]' \ AOS_SEARCHABLE=true \ aos_put "/projects/raptor/decisions/..." '...' </code></pre></p><p style="margin:8px 0"><h4 style="color:#d1d5db;margin:14px 0 6px;font-size:.95em">3. Use TTL for Ephemeral Data</h4> <pre style="background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0"><code style="color:#a5f3fc;background:none;padding:0;font-size:1em"># Cache that expires in 1 hour AOS_TTL=3600 aos_put "/cache/api-response" '...' </code></pre></p><p style="margin:8px 0"><h4 style="color:#d1d5db;margin:14px 0 6px;font-size:.95em">4. Search Before Asking</h4> <pre style="background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0"><code style="color:#a5f3fc;background:none;padding:0;font-size:1em"># Before asking user for info, check memory result=$(aos_search "user preferences for $TOPIC" 3) </code></pre></p><p style="margin:8px 0"><h4 style="color:#d1d5db;margin:14px 0 6px;font-size:.95em">5. Version Important Changes</h4> <pre style="background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0"><code style="color:#a5f3fc;background:none;padding:0;font-size:1em"># Check history before overwriting aos_history "/config/critical-setting" 5 <h2 style="color:#f3f4f6;margin:20px 0 10px;font-size:1.15em">Then update</h2> aos_put "/config/critical-setting" '...' </code></pre></p></div></section></div><div class="two-col-side"></div></div></div><script> document.querySelectorAll('.copy-btn, .script-copy-btn').forEach(btn => { btn.addEventListener('click', () => { const cmd = btn.getAttribute('data-cmd'); if (!cmd) return; navigator.clipboard.writeText(cmd).then(() => { const orig = btn.textContent; btn.textContent = 'Copied!'; setTimeout(() => btn.textContent = orig, 1500); }).catch(() => {}); }); }); </script><!--$--><!--/$--></main><footer style="background:var(--bg-primary);border-top:1px solid var(--border-secondary);margin-top:60px"><div style="border-top:1px solid var(--border-light);max-width:1200px;margin:0 auto;padding:24px 20px"><div style="display:flex;justify-content:space-between;flex-wrap:wrap;gap:24px;margin-bottom:24px"><div><div style="font-weight:700;color:var(--text-muted);margin-bottom:8px">BytesAgain</div><div style="color:var(--text-muted3);font-size:.82em;max-width:200px">Discover the best AI agent skills for your workflow.</div></div><div><div style="color:var(--text-muted);font-size:.75em;text-transform:uppercase;letter-spacing:1px;margin-bottom:10px">Explore</div><div style="margin-bottom:6px"><a href="/skills" style="color:var(--text-muted2);text-decoration:none;font-size:.85em">Skills</a></div><div style="margin-bottom:6px"><a href="/articles" style="color:var(--text-muted2);text-decoration:none;font-size:.85em">Articles</a></div><div style="margin-bottom:6px"><a href="/use-case" style="color:var(--text-muted2);text-decoration:none;font-size:.85em">Cases</a></div></div><div><div style="color:var(--text-muted);font-size:.75em;text-transform:uppercase;letter-spacing:1px;margin-bottom:10px">Company</div><div style="margin-bottom:6px"><a href="/about" style="color:var(--text-muted2);text-decoration:none;font-size:.85em">About</a></div><div style="margin-bottom:6px"><a href="/contact" style="color:var(--text-muted2);text-decoration:none;font-size:.85em">Contact</a></div><div style="margin-bottom:6px"><a href="/privacy-policy" style="color:var(--text-muted2);text-decoration:none;font-size:.85em">Privacy Policy</a></div><div style="margin-bottom:6px"><a href="/terms" style="color:var(--text-muted2);text-decoration:none;font-size:.85em">Terms</a></div><div style="margin-bottom:6px"><a href="/feedback" style="color:var(--text-muted2);text-decoration:none;font-size:.85em">Feedback</a></div></div></div><div style="border-top:1px solid var(--border-light);padding-top:16px"><div style="color:var(--text-muted4);font-size:.8em;margin-bottom:8px">Β© <!-- -->2026<!-- --> BytesAgain. All rights reserved.</div><div style="color:var(--text-muted5);font-size:.75em;line-height:1.6;max-width:720px">BytesAgain is an independent skill directory. We index and link to third-party content (ClawHub, GitHub, LobeHub, Dify, etc.) for informational purposes only. All trademarks, skill names, and content are the property of their respective owners. BytesAgain does not claim ownership of any indexed content.</div></div></div></footer><button style="position:fixed;bottom:28px;right:28px;z-index:1000;width:48px;height:48px;border-radius:50%;border:none;cursor:pointer;background:linear-gradient(135deg,#667eea,#00d4ff);color:#fff;font-size:1.3em;box-shadow:0 4px 20px #667eea66;display:flex;align-items:center;justify-content:center;transition:transform .2s">πŸ’¬</button><script src="/_next/static/chunks/0ze4gu236oq96.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[62894,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"LangProvider\"]\n3:I[89220,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"ThemeProvider\"]\n4:I[16988,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"default\"]\ne:I[68027,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"default\",1]\n:HL[\"/_next/static/chunks/0lnnqltz2zet5.css?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"style\"]\n:HL[\"/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n5:Td5e,"])</script><script>self.__next_f.push([1,"[{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"BytesAgain\",\"url\":\"https://bytesagain.com\",\"description\":\"Search 60,000+ verified AI agent skills via MCP API or REST. Supports 7 languages. Free, no auth required.\",\"inLanguage\":[\"en\",\"zh\",\"es\",\"fr\",\"de\",\"ja\",\"ko\"],\"potentialAction\":{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https://bytesagain.com/skills?q={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}},{\"@context\":\"https://schema.org\",\"@type\":\"Organization\",\"name\":\"BytesAgain\",\"url\":\"https://bytesagain.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://bytesagain.com/og-image.png\"},\"description\":\"AI agent skill directory. Search 60,000+ skills, 1,000+ use cases, and community requests.\",\"foundingDate\":\"2026\",\"foundingLocation\":{\"@type\":\"Place\",\"name\":\"Global\"},\"sameAs\":[\"https://x.com/bytesagain\",\"https://github.com/bytesagain/ai-skills\",\"https://clawhub.ai/profile/bytesagain\"],\"contactPoint\":{\"@type\":\"ContactPoint\",\"email\":\"hello@bytesagain.com\",\"contactType\":\"customer support\"},\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"value\":1}},{\"@context\":\"https://schema.org\",\"@type\":\"WebApplication\",\"name\":\"BytesAgain AI Skills Search\",\"url\":\"https://bytesagain.com\",\"applicationCategory\":\"DeveloperApplication\",\"operatingSystem\":\"Web\",\"description\":\"Search engine and MCP API for 60,000+ AI agent skills. Semantic search, role recommendations, and use case packs.\",\"offers\":{\"@type\":\"Offer\",\"price\":\"0\",\"priceCurrency\":\"USD\"},\"featureList\":[\"Search 60,000+ AI agent skills\",\"Role-based recommendations for developers, creators, and traders\",\"1,000+ curated use case packs\",\"Free MCP API and REST API\",\"Multi-language search (EN, ZH, ES, FR, DE, JA, KO)\"],\"potentialAction\":{\"@type\":\"SearchAction\",\"target\":\"https://bytesagain.com/skills?q={search_term_string}\",\"query-input\":\"required name=search_term_string\"},\"dateModified\":\"2026-12-01\"},{\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"What is BytesAgain?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"BytesAgain is a curated directory of 60,000+ AI agent skills from ClawHub, GitHub, LobeHub, and Dify. Search skills by keyword in 7 languages, browse by role (developer, creator, trader, marketer) or by use case.\"}},{\"@type\":\"Question\",\"name\":\"How do I find AI skills on BytesAgain?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Use the search bar on BytesAgain.com to search by keyword in 7 languages. You can also browse by role (developer, creator, trader, marketer) or by use case. Each skill shows install instructions for Claude, Cursor, OpenClaw, Continue, and more.\"}},{\"@type\":\"Question\",\"name\":\"Is BytesAgain free?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes, BytesAgain is completely free. No registration required for searching skills. The MCP API is also free with rate limits.\"}},{\"@type\":\"Question\",\"name\":\"Does BytesAgain have an API for AI agents?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes! BytesAgain provides a free MCP SSE endpoint at /api/mcp/sse for AI agents, plus a REST API at /api/mcp?action=search\u0026q=\u003cquery\u003e. No authentication needed.\"}},{\"@type\":\"Question\",\"name\":\"Can I request a new AI skill on BytesAgain?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes! Visit the Requests page on BytesAgain.com to submit a skill request. Your request will be visible to the community and notified to the site admin.\"}}]}]"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"skill\",\"agentos-sdk\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"skill\",{\"children\":[[\"slug\",\"agentos-sdk\",\"d\",null],{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0lnnqltz2zet5.css?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"link\",null,{\"rel\":\"llms\",\"href\":\"/llms.txt\"}],[\"$\",\"link\",null,{\"rel\":\"llms-full\",\"href\":\"/llms-full.txt\"}],[\"$\",\"script\",null,{\"async\":true,\"src\":\"https://www.googletagmanager.com/gtag/js?id=G-3C1MM9FWYF\"}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\n window.dataLayer = window.dataLayer || [];\\n function gtag(){dataLayer.push(arguments);}\\n gtag('js', new Date());\\n gtag('config', 'G-3C1MM9FWYF');\\n \"}}]]}],[\"$\",\"body\",null,{\"className\":\"geist_9e050971-module__05dp7a__className\",\"style\":{\"margin\":0},\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[[\"$\",\"div\",null,{\"style\":{\"width\":\"100%\",\"background\":\"var(--bg-subscribe)\",\"borderBottom\":\"1px solid var(--border-primary)\",\"padding\":\"8px 20px\",\"textAlign\":\"center\",\"fontSize\":\".82em\",\"color\":\"#818cf8\"},\"children\":[\"🎁 \",[\"$\",\"strong\",null,{\"style\":{\"color\":\"var(--text-primary)\"},\"children\":\"Get the FREE AI Skills Starter Guide\"}],\" β€” \",[\"$\",\"a\",null,{\"href\":\"/register\",\"style\":{\"color\":\"#00d4ff\",\"textDecoration\":\"underline\"},\"children\":\"Subscribe β†’\"}]]}],[\"$\",\"$L4\",null,{}],[\"$\",\"script\",null,{\"type\":\"application/ld+json\",\"dangerouslySetInnerHTML\":{\"__html\":\"$5\"}}],\"$L6\",\"$L7\",\"$L8\"]}]}]}]]}]]}],{\"children\":[\"$L9\",{\"children\":[\"$La\",{\"children\":[\"$Lb\",{},null,false,null]},null,false,\"$@c\"]},null,false,\"$@c\"]},null,false,null],\"$Ld\",false]],\"m\":\"$undefined\",\"G\":[\"$e\",[\"$Lf\"]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"10:I[39756,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"default\"]\n11:I[37457,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"default\"]\n12:I[22016,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0ka051yepewro.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"\"]\n13:I[90940,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"default\"]\n14:I[16397,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"default\"]\n16:I[97367,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"OutletBoundary\"]\n17:\"$Sreact.suspense\"\n1a:I[97367,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"ViewportBoundary\"]\n1c:I[97367,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"MetadataBoundary\"]\n"])</script><script>self.__next_f.push([1,"6:[\"$\",\"main\",null,{\"children\":[\"$\",\"$L10\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L11\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"main\",null,{\"style\":{\"minHeight\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"background\":\"#050611\",\"color\":\"#e5e7eb\"},\"children\":[[\"$\",\"style\",null,{\"children\":\"\\n .nf-box { text-align: center; padding: 60px 32px; }\\n .nf-code { font-size: 6rem; font-weight: 900; color: #22d3ee; line-height: 1; margin: 0; }\\n .nf-title { font-size: 1.8rem; font-weight: 800; margin: 12px 0 8px; }\\n .nf-desc { color: var(--text-muted2); font-size: 1rem; margin-bottom: 32px; max-width: 440px; }\\n .nf-link { display: inline-block; padding: 12px 28px; background: linear-gradient(135deg,#34d399,#22d3ee); color: #000; font-weight: 900; border-radius: 12px; text-decoration: none; }\\n \"}],[\"$\",\"div\",null,{\"className\":\"nf-box\",\"children\":[[\"$\",\"p\",null,{\"className\":\"nf-code\",\"children\":\"404\"}],[\"$\",\"h1\",null,{\"className\":\"nf-title\",\"children\":\"Page Not Found\"}],[\"$\",\"p\",null,{\"className\":\"nf-desc\",\"children\":\"The skill or page you're looking for doesn't exist or has been moved.\"}],[\"$\",\"$L12\",null,{\"className\":\"nf-link\",\"href\":\"/\",\"children\":\"Back to BytesAgain\"}]]}]]}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]\n"])</script><script>self.__next_f.push([1,"7:[\"$\",\"$L13\",null,{}]\n8:[\"$\",\"$L14\",null,{}]\n9:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L10\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L11\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\na:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L10\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L11\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\nb:[\"$\",\"$1\",\"c\",{\"children\":[\"$L15\",[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/12w5ognupk9fb.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L16\",null,{\"children\":[\"$\",\"$17\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@18\"}]}]]}]\n19:[]\nc:\"$W19\"\nd:[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L1a\",null,{\"children\":\"$L1b\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L1c\",null,{\"children\":[\"$\",\"$17\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L1d\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}]\nf:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0lnnqltz2zet5.css?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"1b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"1e:I[27201,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"IconMark\"]\n18:null\n"])</script><script>self.__next_f.push([1,"1d:[[\"$\",\"title\",\"0\",{\"children\":\"AgentOS SDK β€” AI Agent Skill | BytesAgain | BytesAgain\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"AgentOS SDK provides APIs and CLI tools for persistent AI agent memory, project and task management, activity logging, inter-agent communication, and self-ev...\"}],[\"$\",\"meta\",\"2\",{\"name\":\"robots\",\"content\":\"index, follow\"}],[\"$\",\"meta\",\"3\",{\"name\":\"googlebot\",\"content\":\"index, follow, max-image-preview:large, max-snippet:-1\"}],[\"$\",\"meta\",\"4\",{\"name\":\"llms-txt\",\"content\":\"https://bytesagain.com/llms.txt\"}],[\"$\",\"meta\",\"5\",{\"name\":\"llms-full-txt\",\"content\":\"https://bytesagain.com/llms-full.txt\"}],[\"$\",\"link\",\"6\",{\"rel\":\"canonical\",\"href\":\"https://bytesagain.com/skill/agentos-sdk\"}],[\"$\",\"meta\",\"7\",{\"name\":\"baidu-site-verification\",\"content\":\"codeva-0evUqX1TFs\"}],[\"$\",\"meta\",\"8\",{\"property\":\"og:title\",\"content\":\"AgentOS SDK β€” AI Agent Skill | BytesAgain\"}],[\"$\",\"meta\",\"9\",{\"property\":\"og:description\",\"content\":\"AgentOS SDK provides APIs and CLI tools for persistent AI agent memory, project and task management, activity logging, inter-agent communication, and self-ev...\"}],[\"$\",\"meta\",\"10\",{\"property\":\"og:url\",\"content\":\"https://bytesagain.com/skill/agentos-sdk\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:site_name\",\"content\":\"BytesAgain\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:image\",\"content\":\"https://bytesagain.com/social-preview.png\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"16\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:title\",\"content\":\"AgentOS SDK β€” AI Agent Skill | BytesAgain\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:description\",\"content\":\"AgentOS SDK provides APIs and CLI tools for persistent AI agent memory, project and task management, activity logging, inter-agent communication, and self-ev...\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:image\",\"content\":\"https://bytesagain.com/social-preview.png\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image:height\",\"content\":\"630\"}],[\"$\",\"link\",\"22\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0x3dzn~oxb6tn.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$L1e\",\"23\",{}]]\n"])</script><script>self.__next_f.push([1,"1f:T1562,"])</script><script>self.__next_f.push([1,"\n .skill-page { max-width: 1100px; margin: 0 auto; padding: 32px 20px 80px; }\n .two-col { display: flex; gap: 32px; align-items: flex-start; }\n .two-col-main { flex: 1; min-width: 0; }\n .two-col-side { width: 300px; flex-shrink: 0; }\n @media (max-width: 860px) {\n .two-col { flex-direction: column; }\n .two-col-side { width: 100%; }\n }\n .breadcrumb { font-size: .82em; color: var(--text-muted2); margin-bottom: 28px; }\n .breadcrumb a { color: #818cf8; text-decoration: none; }\n .breadcrumb a:hover { text-decoration: underline; }\n .skill-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 20px; padding: 28px; margin-bottom: 24px; }\n .skill-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }\n .skill-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }\n .skill-top-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }\n .badge { display: inline-flex; align-items: center; gap: 5px; font-size: .75em; font-weight: 600; padding: 4px 12px; border-radius: 999px; border: 1px solid transparent; }\n .skill-title { font-size: 1.6em; font-weight: 800; color: var(--text-primary); margin: 0 0 4px; line-height: 1.2; }\n .skill-owner { font-size: .82em; color: var(--text-muted2); margin: 0 0 14px; }\n .skill-owner span { color: #818cf8; }\n .skill-desc { font-size: .92em; color: var(--text-secondary); line-height: 1.65; margin: 0 0 16px; }\n .skill-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border-card); }\n .meta-item { display: flex; flex-direction: column; gap: 2px; }\n .meta-label { font-size: .7em; color: var(--text-muted5); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }\n .meta-value { font-size: .92em; color: var(--text-muted2); font-weight: 600; }\n .tags-row { display: flex; gap: 6px; flex-wrap: wrap; }\n .tag { font-size: .75em; color: #6366f1; background: #6366f115; border: 1px solid #6366f130; border-radius: 6px; padding: 3px 10px; text-decoration: none; }\n .tag:hover { background: #6366f125; }\n .install-box { background: var(--bg-deep); border: 1px solid var(--border-card); border-radius: 12px; overflow: hidden; margin-bottom: 24px; }\n .install-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--border-card); }\n .install-dots { display: flex; gap: 6px; }\n .dot { width: 10px; height: 10px; border-radius: 50%; }\n .install-label { font-size: .72em; color: var(--text-muted5); font-family: monospace; letter-spacing: 1px; }\n .install-body { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }\n .install-cmd { color: var(--text-code);\n font-family: 'Courier New', monospace; font-size: 1em; }\n .copy-btn { font-size: .75em; color: #6366f1; background: #6366f115; border: 1px solid #6366f130; border-radius: 6px; padding: 5px 12px; cursor: pointer; white-space: nowrap; transition: all .15s; }\n .copy-btn:hover { background: #6366f125; }\n .btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; background: transparent; border: 1px solid var(--border-card); border-radius: 10px; color: #6b7280; text-decoration: none; font-weight: 600; font-size: .95em; transition: all .15s; }\n .btn-secondary:hover { border-color: #818cf8; color: #818cf8; }\n .ours-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .72em; font-weight: 700; color: #22d3ee; background: #22d3ee10; border: 1px solid #22d3ee30; border-radius: 999px; padding: 4px 14px; }\n .section-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 16px; padding: 22px 24px; margin-bottom: 20px; }\n .section-title { color: var(--text-primary); font-size: 1.08em; font-weight: 800; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }\n /* Script box */\n .script-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; background: var(--bg-input); border-bottom: 1px solid var(--border-card); }\n .script-filename { font-size: .72em; color: var(--text-muted2); font-family: 'Courier New', monospace; }\n .script-copy-btn { font-size: .72em; color: #6366f1; background: none; border: 1px solid #6366f130; border-radius: 4px; padding: 2px 10px; cursor: pointer; }\n .script-copy-btn:hover { background: #6366f115; }\n .script-body { padding: 14px 16px; font-family: 'Courier New', monospace; font-size: .82em; line-height: 1.6; color: var(--text-code); overflow-x: auto; max-height: 420px; overflow-y: auto; white-space: pre; }\n /* Articles */\n .article-card { display: block; background: var(--bg-secondary); border: 1px solid var(--border-primary); border-radius: 10px; padding: 14px 16px; text-decoration: none; transition: border-color .15s; }\n .article-card:hover { border-color: #6366f1; }\n @media (max-width: 600px) {\n .skill-card { padding: 20px; }\n .skill-title { font-size: 1.5em; }\n }\n "])</script><script>self.__next_f.push([1,"15:[[\"$\",\"style\",null,{\"children\":\"$1f\"}],\"$L20\",\"$L21\"]\n"])</script><script>self.__next_f.push([1,"22:I[78297,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/12w5ognupk9fb.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"default\"]\n23:Tb0f0,"])</script><script>self.__next_f.push([1,"\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eAgentOS SDK Skill\u003c/h2\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eOverview\u003c/h3\u003e\nAgentOS is a complete accountability infrastructure for AI agents. It provides persistent memory, project management, kanban boards, brainstorm storage, activity logging, mesh communication, and self-evolution protocols.\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cstrong style=\"color:#e5e7eb\"\u003eUse when:\u003c/strong\u003e You need to store memories, manage projects, track tasks, log activities, communicate with other agents, or evolve your behavior across sessions.\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eπŸ†• Agent Operations Guide\u003c/h3\u003e\n\u003cstrong style=\"color:#e5e7eb\"\u003eRead \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eAGENT-OPS.md\u003c/code\u003e for a complete guide on how to operate as an agent on AgentOS.\u003c/strong\u003e It covers:\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eMemory organization (paths, tags, importance)\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eProject management (create, update, track)\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eKanban workflow (tasks, statuses, priorities)\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eBrainstorm storage (ideas, decisions, learnings)\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eDaily operations (session start/end checklists)\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eSelf-evolution protocols\u003c/li\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eπŸ†• aos CLI - Full Dashboard Control\u003c/h3\u003e\nThe \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eaos\u003c/code\u003e CLI gives you complete control over the AgentOS dashboard:\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Memory\naos memory put \"/learnings/today\" '{\"lesson\": \"verify first\"}'\naos memory search \"how to handle errors\"\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eProjects\u003c/h2\u003e\naos project list\naos project create \"New Feature\" --status active\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eKanban\u003c/h2\u003e\naos kanban add \"Fix bug\" --project \u003cid\u003e --status todo --priority high\naos kanban move \u003ctask-id\u003e done\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eBrainstorms\u003c/h2\u003e\naos brainstorm add \"Use WebSocket\" --project \u003cid\u003e --type idea\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eActivity logging\u003c/h2\u003e\naos activity log \"Completed API refactor\" --project \u003cid\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eMesh communication\u003c/h2\u003e\naos mesh send \u003cagent\u003e \"Topic\" \"Message body\"\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eRun \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eaos help\u003c/code\u003e or \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eaos \u003ccommand\u003e\u003c/code\u003e for detailed usage.\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eGolden Sync (Recommended)\u003c/h3\u003e\nFor a bulletproof dashboard (Memory + Projects cards), run:\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e~/clawd/bin/agentos-golden-sync.sh\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eThis syncs memory AND upserts per-project markdown cards:\n\u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eTASKS.md\u003c/code\u003e, \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eIDEAS.md\u003c/code\u003e, \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eCHANGELOG.md\u003c/code\u003e, \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eCHALLENGES.md\u003c/code\u003e β†’ DB β†’ Brain Dashboard.\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003e🏷️ Memory Categorization (REQUIRED)\u003c/h3\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cstrong style=\"color:#e5e7eb\"\u003eEvery memory MUST be properly categorized.\u003c/strong\u003e Use these 8 standard categories:\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e| Category | Color | Use For | Path Prefix | Primary Tag |\n|----------|-------|---------|-------------|-------------|\n| \u003cstrong style=\"color:#e5e7eb\"\u003eIdentity\u003c/strong\u003e | πŸ”΄ Red | Who you are, user profiles, team structure | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eidentity/\u003c/code\u003e | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003e[\"identity\", ...]\u003c/code\u003e |\n| \u003cstrong style=\"color:#e5e7eb\"\u003eKnowledge\u003c/strong\u003e | 🟠 Orange | Facts, research, documentation | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eknowledge/\u003c/code\u003e | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003e[\"knowledge\", ...]\u003c/code\u003e |\n| \u003cstrong style=\"color:#e5e7eb\"\u003eMemory\u003c/strong\u003e | 🟣 Purple | Long-term memories, learnings, decisions | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003ememory/\u003c/code\u003e | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003e[\"memory\", ...]\u003c/code\u003e |\n| \u003cstrong style=\"color:#e5e7eb\"\u003ePreferences\u003c/strong\u003e | πŸ”΅ Blue | User preferences, settings, style | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003epreferences/\u003c/code\u003e | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003e[\"preferences\", ...]\u003c/code\u003e |\n| \u003cstrong style=\"color:#e5e7eb\"\u003eProjects\u003c/strong\u003e | 🟒 Green | Active work, tasks, code context | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eprojects/\u003c/code\u003e | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003e[\"project\", \"\u003cname\u003e\"]\u003c/code\u003e |\n| \u003cstrong style=\"color:#e5e7eb\"\u003eOperations\u003c/strong\u003e | 🟀 Brown | Daily logs, status, heartbeat state | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eoperations/\u003c/code\u003e | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003e[\"operations\", ...]\u003c/code\u003e |\n| \u003cstrong style=\"color:#e5e7eb\"\u003eSecrets\u003c/strong\u003e | βšͺ Gray | Access info, server locations (NOT actual keys!) | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003esecrets/\u003c/code\u003e | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003e[\"secrets\", ...]\u003c/code\u003e |\n| \u003cstrong style=\"color:#e5e7eb\"\u003eProtocols\u003c/strong\u003e | πŸ”΅ Cyan | SOPs, checklists, procedures | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eprotocols/\u003c/code\u003e | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003e[\"protocols\", ...]\u003c/code\u003e |\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003ePath Structure\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e\u003ccategory\u003e/\u003csubcategory\u003e/\u003citem\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eExamples:\nidentity/user/ben-profile\nknowledge/research/ai-agents-market\nmemory/learnings/2026-02-mistakes\npreferences/user/communication-style\nprojects/agentos/tasks\noperations/daily/2026-02-13\nsecrets/access/hetzner-server\nprotocols/deploy/agentos-checklist\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eTagging Rules\u003c/h4\u003e\nEvery memory MUST have:\n1. \u003cstrong style=\"color:#e5e7eb\"\u003ePrimary category tag\u003c/strong\u003e β€” one of the 8 categories\n2. \u003cstrong style=\"color:#e5e7eb\"\u003eSubcategory tag\u003c/strong\u003e β€” more specific classification\n3. \u003cstrong style=\"color:#e5e7eb\"\u003eOptional project tag\u003c/strong\u003e β€” if project-related\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Example: Store a learning with proper tags\nAOS_TAGS='[\"memory\", \"learnings\"]' AOS_SEARCHABLE=true \\\n aos_put \"/memory/learnings/2026-02-13\" '{\"lesson\": \"Always categorize memories\"}'\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eExample: Store user preference\u003c/h2\u003e\nAOS_TAGS='[\"preferences\", \"user\"]' \\\n aos_put \"/preferences/user/communication\" '{\"style\": \"direct, no fluff\"}'\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003chr style=\"border:none;border-top:1px solid #1e1e3f;margin:12px 0\"\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eQuick Start\u003c/h3\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Set environment variables\nexport AGENTOS_API_KEY=\"your-api-key\"\nexport AGENTOS_BASE_URL=\"http://178.156.216.106:3100\" # or https://api.agentos.software\nexport AGENTOS_AGENT_ID=\"your-agent-id\"\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eSource the SDK\u003c/h2\u003e\nsource /path/to/agentos.sh\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eStore a memory\u003c/h2\u003e\naos_put \"/memories/today\" '{\"learned\": \"something important\"}'\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eRetrieve it\u003c/h2\u003e\naos_get \"/memories/today\"\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eSearch semantically\u003c/h2\u003e\naos_search \"what did I learn today\"\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eConfiguration\u003c/h3\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e| Variable | Required | Description |\n|----------|----------|-------------|\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eAGENTOS_API_KEY\u003c/code\u003e | Yes | Your API key from agentos.software dashboard |\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eAGENTOS_BASE_URL\u003c/code\u003e | Yes | API endpoint (default: \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003ehttp://178.156.216.106:3100\u003c/code\u003e) |\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eAGENTOS_AGENT_ID\u003c/code\u003e | Yes | Unique identifier for this agent instance |\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eCore API Functions\u003c/h3\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eaos_put - Store Memory\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003eaos_put \u003cpath\u003e \u003cvalue_json\u003e [options]\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eOptions (as env vars before call):\u003c/h2\u003e\n\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003e AOS_TTL=3600 # Expire after N seconds\u003c/h2\u003e\n\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003e AOS_TAGS='[\"tag1\"]' # JSON array of tags\u003c/h2\u003e\n\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003e AOS_IMPORTANCE=0.8 # 0-1 importance score\u003c/h2\u003e\n\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003e AOS_SEARCHABLE=true # Enable semantic search\u003c/h2\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eExamples:\u003c/h2\u003e\naos_put \"/learnings/2026-02-04\" '{\"lesson\": \"Always verify before claiming done\"}'\nAOS_SEARCHABLE=true aos_put \"/facts/solana\" '{\"info\": \"Solana uses proof of history\"}'\nAOS_TTL=86400 aos_put \"/cache/price\" '{\"sol\": 120.50}'\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eaos_get - Retrieve Memory\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003eaos_get \u003cpath\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eReturns JSON: {\"found\": true, \"path\": \"...\", \"value\": {...}, \"version_id\": \"...\", \"created_at\": \"...\"}\u003c/h2\u003e\n\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eOr: {\"found\": false}\u003c/h2\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eaos_get \"/learnings/2026-02-04\"\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eaos_search - Semantic Search\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003eaos_search \u003cquery\u003e [limit] [path_prefix]\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eReturns ranked results by semantic similarity\u003c/h2\u003e\n\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eOnly searches memories marked as searchable=true\u003c/h2\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eaos_search \"what mistakes have I made\" 10\naos_search \"solana facts\" 5 \"/facts\"\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eaos_delete - Remove Memory\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003eaos_delete \u003cpath\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eCreates a tombstone version (soft delete, keeps history)\u003c/h2\u003e\naos_delete \"/cache/old-data\"\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eaos_list - List Children\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003eaos_list \u003cprefix\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eReturns direct children under a path\u003c/h2\u003e\naos_list \"/learnings\"\n\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eβ†’ {\"items\": [{\"path\": \"/learnings/2026-02-04\", \"type\": \"file\"}, ...]}\u003c/h2\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eaos_glob - Pattern Match\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003eaos_glob \u003cpattern\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eSupports * and ** wildcards\u003c/h2\u003e\naos_glob \"/learnings/*\" # Direct children\naos_glob \"/memories/**\" # All descendants\naos_glob \"/projects/*/config\" # Wildcard segments\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eaos_history - Version History\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003eaos_history \u003cpath\u003e [limit]\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eReturns all versions of a memory (for time travel)\u003c/h2\u003e\naos_history \"/config/settings\" 20\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eaos_agents - List All Agents\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003eaos_agents\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eReturns all agent IDs in your tenant with memory counts\u003c/h2\u003e\n\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eUseful for discovering other agent instances\u003c/h2\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eaos_dump - Bulk Export\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003eaos_dump [agent_id] [limit]\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eExport all memories for an agent (default: current agent)\u003c/h2\u003e\naos_dump \"\" 500\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eSelf-Evolution Framework\u003c/h3\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cstrong style=\"color:#e5e7eb\"\u003eFor the complete self-evolution guide, see \u003ca href=\"./SELF-EVOLUTION.md\" target=\"_blank\" rel=\"noopener\" style=\"color:#6366f1\"\u003eSELF-EVOLUTION.md\u003c/a\u003e.\u003c/strong\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eAgentOS enables agents to get smarter every day through:\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003e\u003cstrong style=\"color:#e5e7eb\"\u003eMistake tracking\u003c/strong\u003e β€” Never repeat the same error\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003e\u003cstrong style=\"color:#e5e7eb\"\u003eProblem registry\u003c/strong\u003e β€” Solutions indexed for future reference\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003e\u003cstrong style=\"color:#e5e7eb\"\u003ePre-task checks\u003c/strong\u003e β€” Search learnings before acting\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003e\u003cstrong style=\"color:#e5e7eb\"\u003eProgress checkpoints\u003c/strong\u003e β€” Anti-compaction memory saves\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003e\u003cstrong style=\"color:#e5e7eb\"\u003eVerification logging\u003c/strong\u003e β€” Prove tasks are actually done\u003c/li\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eQuick Start: Self-Evolution\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Before any task: check past learnings\naos_before_action \"deployment\"\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eAfter a mistake: document it\u003c/h2\u003e\naos_mistake \"What happened\" \"Root cause\" \"Lesson learned\" \"severity\"\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eAfter solving a problem: register it\u003c/h2\u003e\naos_problem_solved \"OAuth 401 Error\" \"JWT format mismatch\" \"Added JWT branch to auth\" \"auth,oauth\"\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eAfter completing work: save progress\u003c/h2\u003e\naos_save_progress \"Deployed API v2\" \"success\" \"JWT auth now working\"\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eEvery 15-20 min: checkpoint context\u003c/h2\u003e\naos_checkpoint \"Building payment flow\" \"Stripe webhook incomplete\" \"Test mode works\"\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eAt session start: restore context\u003c/h2\u003e\naos_session_start\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eRun the evolution checklist\u003c/h2\u003e\naos_evolve_check\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eCore Functions\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e| Function | Purpose |\n|----------|---------|\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eaos_before_action\u003c/code\u003e | Check mistakes/solutions before acting |\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eaos_mistake\u003c/code\u003e | Document a failure + lesson |\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eaos_problem_solved\u003c/code\u003e | Register a solved problem |\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eaos_check_solved\u003c/code\u003e | Search for similar solved problems |\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eaos_save_progress\u003c/code\u003e | Log completed task (anti-compaction) |\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eaos_checkpoint\u003c/code\u003e | Save working state (every 15-20 min) |\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eaos_session_start\u003c/code\u003e | Restore context at session start |\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eaos_verify_logged\u003c/code\u003e | Log verification evidence |\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eaos_daily_summary\u003c/code\u003e | Review today's work |\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eaos_evolve_check\u003c/code\u003e | Show evolution checklist |\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eRecommended Memory Structure\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e/self/\n identity.json # Who am I? Core traits, values\n capabilities.json # What can I do? Skills, tools\n preferences.json # How do I prefer to work?\n \n/learnings/\n YYYY-MM-DD.json # Daily learnings\n mistakes/ # Documented failures\n successes/ # What worked well\n \n/patterns/\n communication/ # How to talk to specific people\n problem-solving/ # Approaches that work\n tools/ # Tool-specific knowledge\n \n/relationships/\n \u003cperson-id\u003e.json # Context about people I work with\n \n/projects/\n \u003cproject-name\u003e/ # Project-specific context\n context.json\n decisions.json\n todos.json\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e/reflections/\n weekly/ # Weekly self-assessments\n monthly/ # Monthly reviews\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eSelf-Reflection Protocol\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eAfter completing significant tasks, store reflections:\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# After a mistake\naos_put \"/learnings/mistakes/$(date +%Y-%m-%d)-$(uuidgen | cut -c1-8)\" '{\n \"type\": \"mistake\",\n \"what_happened\": \"I claimed a task was done without verifying\",\n \"root_cause\": \"Rushed to respond, skipped verification step\",\n \"lesson\": \"Always verify state before claiming completion\",\n \"prevention\": \"Add verification checklist to task completion flow\",\n \"severity\": \"high\",\n \"timestamp\": \"'$(date -Iseconds)'\"\n}' \u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eMark as searchable so you can find it later\u003c/h2\u003e\nAOS_SEARCHABLE=true AOS_TAGS='[\"mistake\",\"verification\",\"lesson\"]' \\\naos_put \"/learnings/mistakes/...\" '...'\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eSelf-Improvement Loop\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# 1. Before starting work, recall relevant learnings\naos_search \"mistakes I've made with $TASK_TYPE\" 5\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003e2. After completing work, reflect\u003c/h2\u003e\naos_put \"/learnings/$(date +%Y-%m-%d)\" '{\n \"tasks_completed\": [...],\n \"challenges_faced\": [...],\n \"lessons_learned\": [...],\n \"improvements_identified\": [...]\n}'\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003e3. Periodically consolidate learnings\u003c/h2\u003e\naos_search \"lessons from the past week\" 20\n\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eThen synthesize and store in /reflections/weekly/\u003c/h2\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eReal-Time Sync (WebSocket)\u003c/h3\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eConnect to receive live updates when memories change:\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003econst ws = new WebSocket('ws://178.156.216.106:3100');\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003ews.onopen = () =\u003e {\n // Authenticate\n ws.send(JSON.stringify({\n type: 'auth',\n token: process.env.AGENTOS_API_KEY\n }));\n \n // Subscribe to updates for your agent\n ws.send(JSON.stringify({\n type: 'subscribe',\n agent_id: 'your-agent-id'\n }));\n};\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003ews.onmessage = (event) =\u003e {\n const msg = JSON.parse(event.data);\n \n if (msg.type === 'memory:created') {\n console.log('New memory:', msg.path, msg.value);\n }\n \n if (msg.type === 'memory:deleted') {\n console.log('Memory deleted:', msg.path);\n }\n};\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eWebSocket Events\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e| Event | Payload | Description |\n|-------|---------|-------------|\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003ememory:created\u003c/code\u003e | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003e{agentId, path, versionId, value, tags, createdAt}\u003c/code\u003e | New memory stored |\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003ememory:deleted\u003c/code\u003e | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003e{agentId, path, versionId, deletedAt}\u003c/code\u003e | Memory deleted |\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eWebhook Integration\u003c/h3\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eRegister webhooks to receive HTTP callbacks when memories change:\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Register a webhook (via dashboard or API)\ncurl -X POST \"$AGENTOS_BASE_URL/v1/webhooks\" \\\n -H \"Authorization: Bearer $AGENTOS_API_KEY\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"url\": \"https://your-server.com/agentos-webhook\",\n \"events\": [\"memory:created\", \"memory:deleted\"],\n \"agent_id\": \"your-agent-id\",\n \"path_prefix\": \"/learnings\"\n }'\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eWebhook Payload\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e{\n \"event\": \"memory:created\",\n \"timestamp\": \"2026-02-04T09:50:00Z\",\n \"data\": {\n \"tenant_id\": \"...\",\n \"agent_id\": \"your-agent-id\",\n \"path\": \"/learnings/2026-02-04\",\n \"version_id\": \"...\",\n \"value\": {\"lesson\": \"...\"},\n \"tags\": [\"learning\"],\n \"created_at\": \"...\"\n },\n \"signature\": \"sha256=...\"\n}\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eRate Limits \u0026 Quotas\u003c/h3\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e| Operation | Default Limit |\n|-----------|---------------|\n| Read ops (get, list, glob, history) | 60/min |\n| Write ops (put, delete) | 60/min |\n| Search ops | 20/min |\n| WebSocket connections | 5 per tenant |\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eHeartbeat Context Backup Protocol (CRITICAL)\u003c/h3\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cstrong style=\"color:#e5e7eb\"\u003eEvery agent using AgentOS MUST implement mandatory context backup on every heartbeat.\u003c/strong\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eWhy This Exists\u003c/h4\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eAI agents lose context during session compaction\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003e\"Remember to back up after each task\" doesn't work β€” agents forget\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eHeartbeat-driven backup ensures context is NEVER lost\u003c/li\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eClawdbot Configuration\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eSet heartbeat to 10 minutes in your \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eclawdbot.json\u003c/code\u003e:\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e{\n \"agents\": {\n \"defaults\": {\n \"heartbeat\": {\n \"every\": \"10m\",\n \"model\": \"anthropic/claude-3-5-haiku-latest\"\n }\n }\n }\n}\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eHEARTBEAT.md Template\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eAdd this to your workspace's \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eHEARTBEAT.md\u003c/code\u003e:\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e## πŸ”΄ MANDATORY: Context Backup (DO THIS FIRST)\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cstrong style=\"color:#e5e7eb\"\u003eOn EVERY heartbeat, before anything else:\u003c/strong\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e1. \u003cstrong style=\"color:#e5e7eb\"\u003eRead:\u003c/strong\u003e CONTEXT.md + today's daily notes + yesterday's daily notes\n2. \u003cstrong style=\"color:#e5e7eb\"\u003eUpdate CONTEXT.md\u003c/strong\u003e with:\n - Current timestamp\n - What's happening in the session\n - Recent accomplishments\n - Active tasks\n - Important conversation notes\n3. \u003cstrong style=\"color:#e5e7eb\"\u003eUpdate daily notes\u003c/strong\u003e (\u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003ememory/daily/YYYY-MM-DD.md\u003c/code\u003e) with significant events\n4. \u003cstrong style=\"color:#e5e7eb\"\u003eOnly then\u003c/strong\u003e proceed with other heartbeat checks\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eThis is a HARD RULE. Never skip this step.\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eAGENTS.md Hard Rule\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eAdd this to your \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eAGENTS.md\u003c/code\u003e:\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e## HARD RULE: Context Backup on EVERY Heartbeat\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cstrong style=\"color:#e5e7eb\"\u003eEvery single heartbeat MUST include a context backup.\u003c/strong\u003e No exceptions.\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eProtocol (MANDATORY on every heartbeat)\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e1. \u003cstrong style=\"color:#e5e7eb\"\u003eRead current state:\u003c/strong\u003e\n - CONTEXT.md\n - Today's daily notes (\u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003ememory/daily/YYYY-MM-DD.md\u003c/code\u003e)\n - Yesterday's daily notes (for continuity)\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e2. \u003cstrong style=\"color:#e5e7eb\"\u003eUpdate CONTEXT.md with:\u003c/strong\u003e\n - Current session focus\n - Recent accomplishments (what just happened)\n - Active tasks/threads\n - Important notes from conversation\n - Timestamp of update\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e3. \u003cstrong style=\"color:#e5e7eb\"\u003eUpdate daily notes with:\u003c/strong\u003e\n - Significant events\n - Decisions made\n - Tasks completed\n - Context that might be needed later\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e4. \u003cstrong style=\"color:#e5e7eb\"\u003eOnly THEN proceed with other heartbeat tasks\u003c/strong\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eHeartbeat Frequency\u003c/h4\u003e\nHeartbeats should run every \u003cstrong style=\"color:#e5e7eb\"\u003e10 minutes\u003c/strong\u003e to ensure context is preserved frequently.\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eThe Golden Rule\u003c/h4\u003e\n\u003cstrong style=\"color:#e5e7eb\"\u003eIf you wouldn't remember it after a restart, write it down NOW.\u003c/strong\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eAgentOS Integration\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eSync your CONTEXT.md to AgentOS on every heartbeat:\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# In your heartbeat routine, after updating local files:\naos_put \"/context/current\" \"$(cat CONTEXT.md)\"\naos_put \"/daily/$(date +%Y-%m-%d)\" \"$(cat memory/daily/$(date +%Y-%m-%d).md)\"\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eThis ensures your context is backed up both locally AND to the AgentOS cloud.\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003chr style=\"border:none;border-top:1px solid #1e1e3f;margin:12px 0\"\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eBest Practices\u003c/h3\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003e1. Use Meaningful Paths\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Good - hierarchical, descriptive\naos_put \"/projects/raptor/decisions/2026-02-04-architecture\" '...'\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eBad - flat, ambiguous\u003c/h2\u003e\naos_put \"/data123\" '...'\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003e2. Tag Everything Important\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003eAOS_TAGS='[\"decision\",\"architecture\",\"raptor\"]' \\\nAOS_SEARCHABLE=true \\\naos_put \"/projects/raptor/decisions/...\" '...'\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003e3. Use TTL for Ephemeral Data\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Cache that expires in 1 hour\nAOS_TTL=3600 aos_put \"/cache/api-response\" '...'\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003e4. Search Before Asking\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Before asking user for info, check memory\nresult=$(aos_search \"user preferences for $TOPIC\" 3)\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003e5. Version Important Changes\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Check history before overwriting\naos_history \"/config/critical-setting\" 5\n\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eThen update\u003c/h2\u003e\naos_put \"/config/critical-setting\" '...'\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eTroubleshooting\u003c/h3\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003e\"Unauthorized\" errors\u003c/h4\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eCheck \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eAGENTOS_API_KEY\u003c/code\u003e is set correctly\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eVerify key has required scopes (\u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003ememory:read\u003c/code\u003e, \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003ememory:write\u003c/code\u003e, \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003esearch:read\u003c/code\u003e)\u003c/li\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eEmpty search results\u003c/h4\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eEnsure memories were stored with \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003esearchable=true\u003c/code\u003e\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eCheck if the embedding was generated (may take a few seconds)\u003c/li\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eRate limit errors\u003c/h4\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eImplement exponential backoff\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eBatch operations where possible\u003c/li\u003e\n\u003cli style=\"color:#94a3b8;margin:3px 0\"\u003eCheck \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003eX-PreAuth-RateLimit-Remaining\u003c/code\u003e header\u003c/li\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eMesh Communication (Agent-to-Agent)\u003c/h3\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eAgentOS Mesh enables real-time communication between AI agents.\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eMesh Functions\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Send a message to another agent\naos_mesh_send \u003cto_agent\u003e \u003ctopic\u003e \u003cbody\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eGet inbox messages (sent to you)\u003c/h2\u003e\naos_mesh_inbox [limit]\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eGet outbox messages (sent by you)\u003c/h2\u003e\naos_mesh_outbox [limit]\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eCheck for locally queued messages (from daemon)\u003c/h2\u003e\naos_mesh_pending\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eProcess queued messages (returns JSON, clears queue)\u003c/h2\u003e\naos_mesh_process\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eList all agents on the mesh\u003c/h2\u003e\naos_mesh_agents\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eCreate a task for another agent\u003c/h2\u003e\naos_mesh_task \u003cassigned_to\u003e \u003ctitle\u003e [description]\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eList tasks assigned to you\u003c/h2\u003e\naos_mesh_tasks [status]\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eGet mesh overview stats\u003c/h2\u003e\naos_mesh_stats\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eGet recent activity feed\u003c/h2\u003e\naos_mesh_activity [limit]\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eCheck mesh connection status\u003c/h2\u003e\naos_mesh_status\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eExample: Sending Messages\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Send a message to another agent\naos_mesh_send \"kai\" \"Project Update\" \"Finished the API integration, ready for review\"\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eSend with context\u003c/h2\u003e\naos_mesh_send \"icarus\" \"Research Request\" \"Please analyze the latest DeFi trends on Solana\"\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eExample: Processing Incoming Messages\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Check if there are pending messages\naos_mesh_pending\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eProcess and respond to messages\u003c/h2\u003e\nmessages=$(aos_mesh_process)\necho \"$messages\" | jq -r '.[] | \"From: \\(.from) - \\(.topic)\"'\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eRespond to each message\u003c/h2\u003e\naos_mesh_send \"kai\" \"Re: Project Update\" \"Thanks for the update, looks good!\"\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eReal-Time Mesh Daemon\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eFor real-time message reception, run the mesh daemon:\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003enode ~/clawd/bin/mesh-daemon.mjs\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eThe daemon connects via WebSocket and queues incoming messages for processing.\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eMesh Events (WebSocket)\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e| Event | Payload | Description |\n|-------|---------|-------------|\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003emesh:message\u003c/code\u003e | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003e{fromAgent, toAgent, topic, body, messageId}\u003c/code\u003e | New message received |\n| \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003emesh:task_update\u003c/code\u003e | \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003e{taskId, assignedTo, title, status}\u003c/code\u003e | Task status changed |\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003eCLI Shortcut\u003c/h4\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eA standalone CLI is also available:\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e~/clawd/bin/mesh status # Connection status\n~/clawd/bin/mesh pending # List pending messages\n~/clawd/bin/mesh send \u003cto\u003e \"\u003ctopic\u003e\" \"\u003cbody\u003e\"\n~/clawd/bin/mesh agents # List agents\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch3 style=\"color:#e5e7eb;margin:18px 0 8px;font-size:1.05em\"\u003eAPI Reference\u003c/h3\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003eFull OpenAPI spec available at: \u003ccode style=\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\"\u003e$AGENTOS_BASE_URL/docs\u003c/code\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003chr style=\"border:none;border-top:1px solid #1e1e3f;margin:12px 0\"\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e*AgentOS - Persistent memory and mesh communication for evolving AI agents*\n\u003c/p\u003e"])</script><script>self.__next_f.push([1,"20:[\"$\",\"div\",null,{\"className\":\"skill-page\",\"children\":[[\"$\",\"script\",null,{\"type\":\"application/ld+json\",\"dangerouslySetInnerHTML\":{\"__html\":\"{\\\"@context\\\":\\\"https://schema.org\\\",\\\"@type\\\":\\\"SoftwareApplication\\\",\\\"name\\\":\\\"AgentOS SDK\\\",\\\"description\\\":\\\"AgentOS SDK provides APIs and CLI tools for persistent AI agent memory, project and task management, activity logging, inter-agent communication, and self-ev...\\\",\\\"url\\\":\\\"https://bytesagain.com/skill/agentos-sdk\\\",\\\"applicationCategory\\\":\\\"clawhub\\\",\\\"operatingSystem\\\":\\\"Any\\\",\\\"offers\\\":{\\\"@type\\\":\\\"Offer\\\",\\\"price\\\":\\\"0\\\",\\\"priceCurrency\\\":\\\"USD\\\"},\\\"publisher\\\":{\\\"@type\\\":\\\"Organization\\\",\\\"name\\\":\\\"BytesAgain\\\",\\\"url\\\":\\\"https://bytesagain.com\\\"}}\"}}],[\"$\",\"div\",null,{\"className\":\"breadcrumb\",\"children\":[[\"$\",\"a\",null,{\"href\":\"/\",\"children\":\"BytesAgain\"}],\" β€Ί \",[\"$\",\"a\",null,{\"href\":\"/skills\",\"children\":\"Skills\"}],\" β€Ί \",\"AgentOS SDK\"]}],[\"$\",\"div\",null,{\"className\":\"two-col\",\"children\":[[\"$\",\"div\",null,{\"className\":\"two-col-main\",\"children\":[[\"$\",\"div\",null,{\"className\":\"skill-card\",\"children\":[[\"$\",\"div\",null,{\"className\":\"skill-header\",\"children\":[[\"$\",\"div\",null,{\"className\":\"skill-badges\",\"children\":[[\"$\",\"span\",null,{\"className\":\"badge\",\"style\":{\"color\":\"#818cf8\",\"background\":\"#818cf822\",\"borderColor\":\"#818cf844\"},\"children\":[\"πŸ¦€\",\" \",\"ClawHub\"]}],false]}],[\"$\",\"div\",null,{\"className\":\"skill-top-actions\",\"children\":[\"$\",\"$L22\",null,{\"slug\":\"agentos-sdk\"}]}]]}],[\"$\",\"h1\",null,{\"className\":\"skill-title\",\"children\":\"AgentOS SDK\"}],[\"$\",\"p\",null,{\"className\":\"skill-owner\",\"children\":[\"by \",[\"$\",\"span\",null,{\"children\":[\"@\",\"agentossoftware\"]}]]}],[\"$\",\"p\",null,{\"className\":\"skill-desc\",\"children\":\"AgentOS SDK provides APIs and CLI tools for persistent AI agent memory, project and task management, activity logging, inter-agent communication, and self-ev...\"}],[\"$\",\"div\",null,{\"className\":\"skill-meta\",\"children\":[[\"$\",\"div\",null,{\"className\":\"meta-item\",\"children\":[[\"$\",\"span\",null,{\"className\":\"meta-label\",\"children\":\"Version\"}],[\"$\",\"span\",null,{\"className\":\"meta-value\",\"children\":[\"v\",\"3.7.0\"]}]]}],[\"$\",\"div\",null,{\"className\":\"meta-item\",\"children\":[[\"$\",\"span\",null,{\"className\":\"meta-label\",\"children\":\"Downloads\"}],[\"$\",\"span\",null,{\"className\":\"meta-value\",\"children\":\"3,786\"}]]}],false,false,false,[\"$\",\"div\",null,{\"className\":\"meta-item\",\"style\":{\"flexDirection\":\"row\",\"gap\":6,\"alignItems\":\"center\"},\"children\":[[\"$\",\"a\",\"api\",{\"href\":\"/?q=api\",\"className\":\"tag\",\"children\":[\"#\",\"api\"]}],[\"$\",\"a\",\"legal\",{\"href\":\"/?q=legal\",\"className\":\"tag\",\"children\":[\"#\",\"legal\"]}],[\"$\",\"a\",\"productivity\",{\"href\":\"/?q=productivity\",\"className\":\"tag\",\"children\":[\"#\",\"productivity\"]}]]}]]}],[\"$\",\"div\",null,{\"style\":{\"marginTop\":6},\"children\":[\"$\",\"a\",null,{\"href\":\"https://clawhub.ai/agentossoftware/agentos-sdk\",\"target\":\"_blank\",\"rel\":\"noopener\",\"className\":\"btn-secondary\",\"style\":{\"padding\":\"6px 12px\",\"fontSize\":\".82em\",\"borderRadius\":8,\"background\":\"transparent\",\"border\":\"1px solid var(--border-card)\",\"color\":\"var(--text-muted2)\",\"textDecoration\":\"none\",\"whiteSpace\":\"nowrap\"},\"children\":[\"View on \",\"ClawHub\",\" β†’\"]}]}]]}],[\"$\",\"div\",null,{\"className\":\"install-box\",\"children\":[[\"$\",\"div\",null,{\"className\":\"install-header\",\"children\":[[\"$\",\"div\",null,{\"className\":\"install-dots\",\"children\":[[\"$\",\"div\",null,{\"className\":\"dot\",\"style\":{\"background\":\"#ef4444\"}}],[\"$\",\"div\",null,{\"className\":\"dot\",\"style\":{\"background\":\"#eab308\"}}],[\"$\",\"div\",null,{\"className\":\"dot\",\"style\":{\"background\":\"#22c55e\"}}]]}],[\"$\",\"span\",null,{\"className\":\"install-label\",\"children\":\"TERMINAL\"}]]}],[\"$\",\"div\",null,{\"className\":\"install-body\",\"style\":{\"flexWrap\":\"wrap\"},\"children\":[[\"$\",\"code\",null,{\"className\":\"install-cmd\",\"children\":\"clawhub install agentos-sdk\"}],[\"$\",\"button\",null,{\"className\":\"copy-btn\",\"data-cmd\":\"clawhub install agentos-sdk\",\"style\":{\"fontWeight\":700},\"children\":\"Copy\"}]]}]]}],false,[\"$\",\"section\",null,{\"className\":\"skill-card\",\"style\":{\"marginBottom\":20},\"children\":[[\"$\",\"h2\",null,{\"style\":{\"color\":\"#f8fafc\",\"fontSize\":\"1.2em\",\"fontWeight\":800,\"margin\":\"0 0 16px\",\"display\":\"flex\",\"alignItems\":\"center\",\"gap\":8},\"children\":\"πŸ“– About This Skill\"}],[\"$\",\"div\",null,{\"style\":{\"fontSize\":\".92em\",\"color\":\"#94a3b8\",\"lineHeight\":1.75},\"dangerouslySetInnerHTML\":{\"__html\":\"$23\"}}]]}],null,\"$L24\",\"$L25\",\"$L26\",null,null,null,false,false]}],\"$L27\"]}]]}]\n"])</script><script>self.__next_f.push([1,"21:[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\n document.querySelectorAll('.copy-btn, .script-copy-btn').forEach(btn =\u003e {\\n btn.addEventListener('click', () =\u003e {\\n const cmd = btn.getAttribute('data-cmd');\\n if (!cmd) return;\\n navigator.clipboard.writeText(cmd).then(() =\u003e {\\n const orig = btn.textContent;\\n btn.textContent = 'Copied!';\\n setTimeout(() =\u003e btn.textContent = orig, 1500);\\n }).catch(() =\u003e {});\\n });\\n });\\n \"}}]\n"])</script><script>self.__next_f.push([1,"2a:I[71521,[\"/_next/static/chunks/0ph_0rx9ah5dc.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/0i_x3w546rsb3.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/06ig5gym-0n-u.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\",\"/_next/static/chunks/12w5ognupk9fb.js?dpl=dpl_7KHCCvZ73aHtbj9crwyd52pybZJW\"],\"default\"]\n28:T407,\u003cp style=\"margin:8px 0\"\u003e\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Set environment variables\nexport AGENTOS_API_KEY=\"your-api-key\"\nexport AGENTOS_BASE_URL=\"http://178.156.216.106:3100\" # or https://api.agentos.software\nexport AGENTOS_AGENT_ID=\"your-agent-id\"\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eSource the SDK\u003c/h2\u003e\nsource /path/to/agentos.sh\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eStore a memory\u003c/h2\u003e\naos_put \"/memories/today\" '{\"learned\": \"something important\"}'\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eRetrieve it\u003c/h2\u003e\naos_get \"/memories/today\"\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eSearch semantically\u003c/h2\u003e\naos_search \"what did I learn today\"\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e24:[\"$\",\"section\",null,{\"className\":\"skill-card\",\"style\":{\"marginBottom\":20},\"children\":[[\"$\",\"h2\",null,{\"style\":{\"color\":\"#f8fafc\",\"fontSize\":\"1.2em\",\"fontWeight\":800,\"margin\":\"0 0 16px\",\"display\":\"flex\",\"alignItems\":\"center\",\"gap\":8},\"children\":\"πŸ’‘ Examples\"}],[\"$\",\"div\",null,{\"style\":{\"fontSize\":\".92em\",\"color\":\"#94a3b8\",\"lineHeight\":1.75},\"dangerouslySetInnerHTML\":{\"__html\":\"$28\"}}]]}]\n25:[\"$\",\"section\",null,{\"className\":\"skill-card\",\"style\":{\"marginBottom\":20},\"children\":[[\"$\",\"h2\",null,{\"style\":{\"color\":\"#f8fafc\",\"fontSize\":\"1.2em\",\"fontWeight\":800,\"margin\":\"0 0 16px\",\"display\":\"flex\",\"alignItems\":\"center\",\"gap\":8},\"children\":\"βš™οΈ Configuration\"}],[\"$\",\"div\",null,{\"style\":{\"fontSize\":\".92em\",\"color\":\"#94a3b8\",\"lineHeight\":1.75},\"dangerouslySetInnerHTML\":{\"__html\":\"\u003cp style=\\\"margin:8px 0\\\"\u003e| Variable | Required | Description |\\n|----------|----------|-------------|\\n| \u003ccode style=\\\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\\\"\u003eAGENTOS_API_KEY\u003c/code\u003e | Yes | Your API key from agentos.software dashboard |\\n| \u003ccode style=\\\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\\\"\u003eAGENTOS_BASE_URL\u003c/code\u003e | Yes | API endpoint (default: \u003ccode style=\\\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\\\"\u003ehttp://178.156.216.106:3100\u003c/code\u003e) |\\n| \u003ccode style=\\\"background:#0d0d1e;color:#a5f3fc;padding:1px 5px;border-radius:3px;font-size:.88em\\\"\u003eAGENTOS_AGENT_ID\u003c/code\u003e | Yes | Unique identifier for this agent instance |\u003c/p\u003e\"}}]]}]\n29:T979,"])</script><script>self.__next_f.push([1,"\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003e1. Use Meaningful Paths\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Good - hierarchical, descriptive\naos_put \"/projects/raptor/decisions/2026-02-04-architecture\" '...'\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eBad - flat, ambiguous\u003c/h2\u003e\naos_put \"/data123\" '...'\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003e2. Tag Everything Important\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003eAOS_TAGS='[\"decision\",\"architecture\",\"raptor\"]' \\\nAOS_SEARCHABLE=true \\\naos_put \"/projects/raptor/decisions/...\" '...'\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003e3. Use TTL for Ephemeral Data\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Cache that expires in 1 hour\nAOS_TTL=3600 aos_put \"/cache/api-response\" '...'\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003e4. Search Before Asking\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Before asking user for info, check memory\nresult=$(aos_search \"user preferences for $TOPIC\" 3)\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\u003cp style=\"margin:8px 0\"\u003e\u003ch4 style=\"color:#d1d5db;margin:14px 0 6px;font-size:.95em\"\u003e5. Version Important Changes\u003c/h4\u003e\n\u003cpre style=\"background:#0a0a1c;border:1px solid #1e1e3f;border-radius:6px;padding:10px 12px;overflow-x:auto;font-size:.9em;margin:8px 0\"\u003e\u003ccode style=\"color:#a5f3fc;background:none;padding:0;font-size:1em\"\u003e# Check history before overwriting\naos_history \"/config/critical-setting\" 5\n\u003ch2 style=\"color:#f3f4f6;margin:20px 0 10px;font-size:1.15em\"\u003eThen update\u003c/h2\u003e\naos_put \"/config/critical-setting\" '...'\n\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e"])</script><script>self.__next_f.push([1,"26:[\"$\",\"section\",null,{\"className\":\"skill-card\",\"style\":{\"marginBottom\":20},\"children\":[[\"$\",\"h2\",null,{\"style\":{\"color\":\"#f8fafc\",\"fontSize\":\"1.2em\",\"fontWeight\":800,\"margin\":\"0 0 16px\",\"display\":\"flex\",\"alignItems\":\"center\",\"gap\":8},\"children\":\"πŸ“‹ Tips \u0026 Best Practices\"}],[\"$\",\"div\",null,{\"style\":{\"fontSize\":\".92em\",\"color\":\"#94a3b8\",\"lineHeight\":1.75},\"dangerouslySetInnerHTML\":{\"__html\":\"$29\"}}]]}]\n27:[\"$\",\"div\",null,{\"className\":\"two-col-side\",\"children\":[\"$\",\"$L2a\",null,{\"category\":\"clawhub\",\"currentSlug\":\"agentos-sdk\",\"name\":\"AgentOS SDK\",\"tags\":[\"api\",\"legal\",\"productivity\"]}]}]\n"])</script></body></html>