Skip to content

zacxyonly/SimpleContext-Agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– SimpleContext-Agents

Ready-to-use agent definitions for SimpleContext
Drop a YAML file β†’ get a fully-configured AI agent. No code needed.

Agents Compatible Bot Ready License


πŸ“¦ Available Agents

Core Agents

Agent Description Best For
🧠 general Friendly general-purpose assistant Everyday questions, auto-routing fallback
πŸ–₯️ coding Expert programmer for all languages Code, debug, review, refactor
πŸš€ devops Server, deployment & infrastructure Docker, CI/CD, Linux, cloud
✍️ writer Professional content writer Blog, copy, email, social media

Knowledge & Research

Agent Description Best For
πŸ” researcher Thorough fact-checker & researcher Research, fact-checking, analysis
πŸ“š tutor Patient adaptive teacher Learning any subject
πŸ“ summarizer Expert content condensation Articles, reports, meetings
🌐 translator Multi-language translator Any language pair, cultural context

Business & Professional

Agent Description Best For
πŸ“Š analyst Data & business analyst Reports, KPIs, insights, forecasting
🎧 customer_service Empathetic CS representative Support, complaints, returns
πŸ’° finance Personal finance advisor Budgeting, investing, financial planning
βš–οΈ legal Legal information assistant Contracts, rights, regulations

Lifestyle & Creativity

Agent Description Best For
🎨 creative Brainstorming & creative partner Ideation, storytelling, naming, worldbuilding
⚑ productivity Personal productivity coach Time management, habits, focus, goal-setting
πŸ’ͺ health Wellness guide Fitness, nutrition, sleep, mental health

πŸš€ Quick Install

# Clone this repo
git clone https://github.com/zacxyonly/SimpleContext-Agents.git

# Copy agents to your SimpleContext project
cp SimpleContext-Agents/agents/*.yaml your-project/agents/

That's it. SimpleContext hot-reloads agents β€” no restart needed.

With SimpleContext-Bot

Agents are auto-downloaded during setup:

simplecontext-bot setup
# Step 2/6: Downloads all agents automatically

Or update anytime:

simplecontext-bot update --agents-only

πŸ€” How Agents Work

Each .yaml file defines a complete agent:

agent.yaml
β”œβ”€β”€ name          β†’ unique identifier
β”œβ”€β”€ description   β†’ what this agent does
β”œβ”€β”€ triggers      β†’ keywords that auto-route to this agent
β”‚   β”œβ”€β”€ keywords  β†’ list of trigger words
β”‚   └── priority  β†’ higher = preferred when multiple agents match
β”œβ”€β”€ personality   β†’ system prompts per user level
β”‚   β”œβ”€β”€ default   β†’ for all users
β”‚   β”œβ”€β”€ beginner  β†’ for profile.level = "beginner"
β”‚   β”œβ”€β”€ expert    β†’ for profile.level = "expert"
β”‚   └── indonesianβ†’ for Indonesian-language responses
β”œβ”€β”€ skills        β†’ injected into system prompt
β”‚   β”œβ”€β”€ name      β†’ skill identifier
β”‚   β”œβ”€β”€ content   β†’ instructions for this skill
β”‚   β”œβ”€β”€ priority  β†’ order in prompt (higher = first)
β”‚   β”œβ”€β”€ group     β†’ for filtering skills
β”‚   β”œβ”€β”€ tags      β†’ for search and filtering
β”‚   └── conditions β†’ only activate if profile condition met
└── chain         β†’ handoff rules to other agents
    β”œβ”€β”€ condition β†’ keywords that trigger handoff
    └── to        β†’ target agent name

πŸ“– Guide: Create Your Own Agent

1. Minimal Agent (5 lines)

name: my_agent
description: What this agent does

triggers:
  keywords: [trigger1, trigger2]
  priority: 5

personality:
  default: You are a helpful assistant specialized in...

2. Full-Featured Agent

name: legal_advisor
description: Legal information and document helper

triggers:
  keywords:
    - contract
    - legal
    - law
    - agreement
    - clause
    - liability
    - jurisdiction
  priority: 8

personality:
  default: |
    You are a knowledgeable legal information assistant.
    Always clarify that you provide general information, not legal advice.
    Recommend consulting a licensed attorney for specific situations.
    Use clear, plain language to explain legal concepts.

  expert: |
    You are assisting a legal professional.
    Use proper legal terminology and cite relevant principles.
    Focus on nuance, jurisdiction specifics, and edge cases.

  indonesian: |
    Kamu adalah asisten informasi hukum yang berpengetahuan.
    Selalu jelaskan bahwa ini informasi umum, bukan nasihat hukum resmi.
    Sarankan konsultasi ke pengacara untuk kasus spesifik.

skills:
  - name: disclaimer
    description: Legal disclaimer
    content: |
      Always include when relevant:
      "Note: This is general legal information, not legal advice.
      For your specific situation, please consult a licensed attorney."
    priority: 20

  - name: document_review
    description: How to review legal documents
    content: |
      When reviewing contracts or legal documents:
      1. Identify the parties involved
      2. Highlight key obligations for each party
      3. Flag unusual or potentially unfavorable clauses
      4. Note missing standard protections
      5. Summarize termination and dispute resolution terms
    priority: 10
    tags: [contract, review]

chain:
  - condition: tax OR pajak OR accounting OR akuntansi
    to: analyst
    message: For tax and accounting questions, routing to our Analyst agent.

3. Personality Levels

Set profile.level in user profile to activate different personalities:

sc.memory(user_id).remember("level", "expert")
# Now the agent uses personality.expert instead of personality.default

Available by convention: default, beginner, intermediate, expert, indonesian, formal

4. Skill Conditions

Skills can be conditionally activated based on user profile:

skills:
  - name: advanced_tips
    content: Advanced tips for power users...
    conditions:
      profile.level: expert          # only for expert users

  - name: multi_level_condition
    content: Content for Python experts...
    conditions:
      profile.level: expert
      profile.lang: python           # AND user uses Python

5. Agent Chaining

Automatically handoff to another agent based on message content:

chain:
  - condition: deploy OR server OR docker    # keyword(s) in user message
    to: devops                               # target agent name
    message: Routing to DevOps agent.        # optional message to show user

Important: Chain is triggered by the user's message, not the LLM response.


πŸ’‘ Agent Design Tips

1. Be specific with triggers

# ❌ Too generic
keywords: [help, question, ask]

# βœ… Domain-specific
keywords: [contract, legal, law, clause, liability]

2. Layer your personalities

personality:
  default: General instructions for everyone
  beginner: Simpler language, more examples, more encouragement
  expert: Skip basics, be technical, challenge assumptions

3. Use skill groups

skills:
  - name: output_format
    group: output           # structural skills
    priority: 20            # always at top

  - name: domain_knowledge
    group: knowledge        # domain-specific skills
    priority: 10

  - name: advanced_feature
    group: advanced
    conditions:
      profile.level: expert # only load for expert users

4. Set priority thoughtfully

  • priority: 20 β†’ always appears first (format rules, disclaimers)
  • priority: 10 β†’ middle (domain knowledge, methodology)
  • priority: 5 β†’ supporting details
  • priority: 1 β†’ rarely needed extras

5. Chain defensively

chain:
  # Only chain on very specific signals
  # Avoid generic words that appear in unrelated contexts
  - condition: deploy server nginx   # specific multi-word signal
    to: devops

πŸ—‚οΈ Project Structure

SimpleContext-Agents/
β”œβ”€β”€ agents/
β”‚   β”œβ”€β”€ general.yaml          ← default fallback agent
β”‚   β”œβ”€β”€ coding.yaml           ← programmer expert
β”‚   β”œβ”€β”€ devops.yaml           ← server & infrastructure
β”‚   β”œβ”€β”€ writer.yaml           ← content & copywriting
β”‚   β”œβ”€β”€ analyst.yaml          ← data & business
β”‚   β”œβ”€β”€ customer_service.yaml ← CS & support
β”‚   β”œβ”€β”€ translator.yaml       ← multi-language
β”‚   β”œβ”€β”€ tutor.yaml            ← teacher & mentor
β”‚   β”œβ”€β”€ researcher.yaml       ← research & fact-checking
β”‚   β”œβ”€β”€ summarizer.yaml       ← content condensation
β”‚   β”œβ”€β”€ finance.yaml          ← personal finance & investing
β”‚   β”œβ”€β”€ legal.yaml            ← legal information
β”‚   β”œβ”€β”€ creative.yaml         ← brainstorming & creativity
β”‚   β”œβ”€β”€ productivity.yaml     ← time management & habits
β”‚   └── health.yaml           ← fitness, nutrition, wellness
β”œβ”€β”€ CONTRIBUTING.md
└── README.md

🀝 Contributing

Have a useful agent? Contributions welcome!

  1. Fork this repo
  2. Create agents/your_agent.yaml
  3. Follow the agent format above
  4. Test with SimpleContext
  5. Submit a Pull Request

Please include in your PR:

  • What the agent does
  • Example use cases
  • Trigger keywords used

πŸ”— Ecosystem

Repo Description
SimpleContext Core engine β€” Universal AI Brain
SimpleContext-Plugin Plugin registry β€” extend with vector search and more
SimpleContext-Bot Telegram Bot β€” auto-downloads these agents
SimpleContext-Agents This repo

About

πŸ€– 9 ready-to-use agent definitions for SimpleContext β€” drop YAML, get AI agent.

Topics

Resources

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors