00-creating-agents

00-creating-agents is an agent for coding agents from SmythOS/sre. It costs 0 tokens per session (1,246 once invoked), scanned A, original, MIT.

A guide to creating and configuring agents with the SmythOS SDK, a software toolkit for building AI agents. It covers defining agents in code, setting their instructions and language model, and importing more complex configurations from .smyth files.

In plain words
What is it for?
Use it when creating an agent, choosing its name and behavior, selecting a model, or working with .smyth files and example projects.
Why use it?
It gives developers a reference for the available agent settings and the supported ways to create an agent. This reduces guesswork when starting an SDK-based agent project.

Agent

About the project

SmythOS Runtime Environment is an open-source runtime and software development kit for building and running AI agents. Developers use it to create, orchestrate, and manage agents across local, cloud, and edge environments, with abstractions for language models, vector databases, storage, and caching. The catalogue add-ons support work with this runtime.

SmythOS/sre · 1,289 stars · on GitHub

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/smythos/sre/00-creating-agents
Clone the repo
git clone --depth 1 https://github.com/SmythOS/sre

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 00-creating-agents

README.md
[![agentmods](https://agentmods.dev/badge/agents/smythos/sre/00-creating-agents.svg)](https://agentmods.dev/agents/smythos/sre/00-creating-agents)
Your own site
<a href="https://agentmods.dev/agents/smythos/sre/00-creating-agents"><img src="https://agentmods.dev/badge/agents/smythos/sre/00-creating-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,246 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.01246
Opus 5 $0.00000 $0.00623
Sonnet 5 $0.00000 $0.00249
Haiku 4.5 $0.00000 $0.00125

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

Security

Grade A, and why

00-creating-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 5d 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.

packages/sdk/docs/agents/00-creating-agents.md · 130 lines

How it starts

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

Creating Agents

The SmythOS SDK offers flexible ways to create and configure agents. This guide covers everything from basic agent creation to advanced model configuration.

The example scripts in examples/01-agent-code-skill, examples/02-agent-smyth-file, and examples/03-agent-workflow-components provide hands-on illustrations of all the concepts covered here.

Code-Based Agent Creation

You can define agents programmatically by instantiating the Agent class with configuration options:

import { Agent } from '@smythos/sdk';

const agent = new Agent({
    id: 'crypto-assistant', // Optional: unique identifier
    name: 'CryptoMarket Assistant',
    behavior: 'You are a crypto price tracker...',
    model: 'gpt-4o', // The language model to use
});

Configuration Options:

  • id (optional): A unique identifier for the agent. Useful for persistence and tracking.
  • name: A descriptive name for the agent.
  • behavior: Instructions that define the agent's persona and role.
  • model: The language model to use (see Model Configuration below).
  • mode (optional): Agent execution mode. See Agent Modes.

Importing from .smyth Files

For complex agents with visual workflows created in the SmythOS Builder, you can import pre-configured .smyth files:

import { Agent, Model } from '@smythos/sdk';
import path from 'path';

const agentPath = path.resolve(__dirname, './my-agent.smyth');

const agent = Agent.import(agentPath, {
    model: 'gpt-4o', // Override the model
    teamId: 'team-123', // Optional: specify team context
});

The .smyth file format allows you to define complex workflows with multiple components, skills, and integrations visually, then import them into your code with full programmatic control.

Read the full file on GitHub · 130 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. 5d ago First seen · 130 lines · 0 tokens per session scan A c102381f23d7

Subscribe to this mod's changes

00-creating-agents is an agent published in the GitHub repository SmythOS/sre (1,289 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,246 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.