custom-agents

custom-agents is an agent for coding agents from vericle/intellyweave. It costs 0 tokens per session (1,756 once invoked), scanned A, original, BSD-3-Clause.

A system for creating custom AI agents from your own documents, instructions, and specialist descriptions. It can route relevant questions to the matching agent and ground answers in its uploaded files.

In plain words
What is it for?
Use it to build document-based assistants for areas such as immigration law, internal company knowledge, or other specialised topics.
Why use it?
It avoids repeating the same background information and helps keep answers consistent for a particular subject or organisation.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/vericle/intellyweave/custom-agents
Clone the repo
git clone --depth 1 https://github.com/vericle/intellyweave

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for custom-agents

README.md
[![agentmods](https://agentmods.dev/badge/agents/vericle/intellyweave/custom-agents.svg)](https://agentmods.dev/agents/vericle/intellyweave/custom-agents)
Your own site
<a href="https://agentmods.dev/agents/vericle/intellyweave/custom-agents"><img src="https://agentmods.dev/badge/agents/vericle/intellyweave/custom-agents.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,756 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01756
Opus 5 $0.00000 $0.00878
Sonnet 5 $0.00000 $0.00351
Haiku 4.5 $0.00000 $0.00176

Measured 3d ago against content hash 3f7e4f77bd31, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

custom-agents scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/guides/agents/custom-agents.md · 293 lines

How it starts

The opening of the file, as written. The whole thing — 293 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Custom Agents

User-defined agents with dedicated knowledge bases that the Domain Router can automatically select.

What It Does

Custom Agents allow users to:

  1. Upload documents to create a dedicated knowledge base
  2. Define agent name, description, and system prompt
  3. Have IntellyWeave automatically route relevant queries to the agent
  4. Get responses grounded in the agent's knowledge base

Use When

  • You have specialized documents for a specific domain
  • You want automatic routing for domain-specific queries
  • You need consistent, document-grounded responses
  • You want to create expert assistants for specific topics

Creating Custom Agents

Via the UI

  1. Navigate to Agents & Remote Tools page
  2. Click Create Agent button
  3. Upload a document (PDF, TXT, DOCX, MD)
  4. Fill in agent details:
    • Agent Name: Human-readable name (used for routing)
    • Agent Description: What the agent specializes in (used for classification)
    • System Prompt: Instructions defining agent behavior

Agent Configuration

Field Purpose Example
Name Identifies agent in router and UI "Immigration Law Expert"
Description Helps router classify queries "Specializes in visa requirements and immigration procedures"
System Prompt Defines agent behavior "You are an expert in immigration law. Always cite specific sections..."
Document Knowledge base source Uploaded PDF or text file

System Prompt Best Practices

You are a specialized expert in [domain]. Your knowledge is based on the
uploaded document. When answering questions:

- Focus on [specific topics]
- Cite specific sections from the document
- Explain complex concepts clearly
- Recommend professional consultation when needed
- Acknowledge when information is outside your knowledge base

UI Components

Agent Library

Location: frontend/app/components/agents/AgentLibrary.tsx

The main agent management interface:

Read the full file on GitHub · 293 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 293 lines · 0 tokens per session scan A 3f7e4f77bd31

Subscribe to this mod's changes

custom-agents is an agent published in the GitHub repository vericle/intellyweave (75 stars, last pushed 7mo ago), licensed BSD-3-Clause. It costs nothing until one of its globs matches a file; then it loads 1,756 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.