gsep_chat
Protect AI agents by sending messages through a pipeline that scans for prompt injection, evolves prompts, checks behavior, filters actions, and tracks fitness for autonomous improvement.
Instructions
Send a message through the full GSEP pipeline. Runs C3 prompt injection scan, enhanced LLM call with evolved genes, C4 behavioral immune check, C5 action firewall, fitness tracking, and autonomous evolution. Returns the protected response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Your LLM API key (ANTHROPIC_API_KEY or OPENAI_API_KEY). Required if not set as server env var. | |
| message | Yes | User message to send through the full GSEP pipeline | |
| user_id | No | User identifier for personalization and per-user epigenomes | |
| genome_id | Yes | Unique identifier for this agent genome (e.g. "my-assistant") | |
| task_type | No | Task type hint (e.g. "support", "coding", "general") | |
| llm_provider | No | LLM provider to use. Auto-detected from api_key if omitted. |