본문으로 건너뛰기
cccskills
무료GitHub에 공개

create-evals

Author eval coverage for an agent in this AgentOS — map what the agent promises, mine real sessions and eval history from Postgres for scenarios, propose capabilities worth testing, then write, run, and audit Case entries in evals/cases.py. Use when the user wants evals created, coverage added, or an agent's behavior pinned down as tests. For failing suites or exploratory simulation-driven hardening, use eval-and-improve instead.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구PostgreSQL

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Create Evals

Coding-agent workflow: run as /create-evals or by describing the task.

Turn what an agent promises into Case entries in evals/cases.py. The template's cases cover the reference components only; a user-built agent is invisible to the suite until this skill writes one. Failing suite → eval-and-improve; agent needs hardening → eval-and-improve.

Preconditions: configured PostgreSQL reachable, venv active (source .venv/bin/activate; ./scripts/venv_setup.sh if missing), .env populated. Even CLI --help/--list imports application knowledge storage and requires PostgreSQL; no API server is needed for native agent/team cases.

Be self-driving: the repo and the database answer most questions. Ask the user only what they alone know — which jobs matter and which failures would hurt. One pick per exchange, recommendation first.

1. Pick the agent

The user's choice, or the least-covered component — almost always one of theirs. Source components have a file under agents/ or teams/. Studio-built components have none: Agent.load("<id>", db=get_postgres_db(), registry=registry, published_only=True) (or Team.load) rehydrates the published config at import time; it returns None for an archived or unpublished component, and a Case with neither field set raises — guard the load or the whole suite fails at import. Workflows cannot be case targets.

Before cases that use MCP, inspect evals/__main__.py: it currently collects MCP tools from OS Manager. Ensure the target's required MCP tools are connected in the eval loop; API-side connections do not carry into a separate CLI process. Use the pinned framework collection helpers in the existing entrypoint when additional target tools are needed.

2. Map what it promises

Read the file (or the published config: get_postgres_db().get_config(component_id="<id>")["config"]). Every "always", "never", "use X for Y" is a case. Note the tools for reliability assertions.

Run every case through python -m evals, which uses the application's .env, database and workspace. Sessions and results persist. Do not mutate existing user components as fixtures; mutating cases need explicitly owned fixtures. Use Agno's built-in criteria and expected_tool_calls. Keep generic Agno behavior in framework coverage; do not add custom scorers, isolation or cleanup machinery to the starter by default.

3. Mine the platform

from db import get_postgres_db
db = get_postgres_db()
sessions, _ = db.get_sessions(component_id="<agent-id>", limit=20, deserialize=False)
asks = [run["input"]["input_content"] for s in sessions for run in (s.get("runs") or []) if run.get("input")]
evals, _ = db.get_eval_runs(limit=20, deserialize=False)

Sanitize private details before using session content in fixtures. Real asks make useful inputs. A recorded answer is a scenario, never a golden answer — the rubric states the timeless shape of a correct answer (a version or date enters as "a current X with a source", never as the value). No sessions is fine: derive from INSTRUCTIONS.

4. Propose what to test

2–3 capabilities, each with a one-line scenario and what a pass proves; lead with the one closest to the core job or hit most in sessions. Skip what the suite already covers. One exchange.

5. Write the case

Inside CASES after the marker # --- Your cases — authored by /create-evals --- (add it if missing). Names must be unique across the file.

Case(
    name="<agent>_<capability>",
    agent=<the_agent>,   # a Team goes in team= — nothing catches a team in agent=; it runs, misfiled
    input="<scenario>",
    tags=("<smoke|release|live>",),  # model calls; choose smoke, release or live deliberately
    timeout_seconds=90,
    user_id="<unique-fixture-user>",
    criteria="<specific, falsifiable>",
    expected_tool_calls=("<tool>",),
)

Pair answer criteria with expected_tool_calls when a tool is required. Tool-call checks verify invocation, not successful payloads or persisted state; inspect those when auditing a run rather than claiming the built-in check proves them.

Use unique fixture names and users. A fixture user does not isolate global tools or external services. External mutations (messages, files, third-party APIs) require authorization and containment or must stay outside the suite. Additional tool calls are allowed by default; a read-only prompt is not an execution restriction.

6. Run and audit

python -m evals --name <case>

Run through python -m evals; results persist in the application's database for the UI. Read both sides of the verdict: the response and tools fired, and judge_reason (--json-output). Repeat when a changed prompt, an unstable verdict or a specific reliability question justifies the extra calls. Replace vague criteria such as "compact" with observable expectations; investigate conflicting verdicts. If the agent, not the case, is wrong, say so — that's eval-and-improve.

Loop to Step 4 or finish.

7. Hand over

New cases by name and tag, git diff evals/cases.py, suggested commit eval(<agent>): …. smoke cases run on demand through python -m evals; failures go to /eval-and-improve.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Add a new agent to this AgentOS. Runs guided discovery or takes a concrete idea, then generates agents/slug.py, registers it in app/main.py, adds its manifest entry (description + quick prompts), reloads the selected development runtime, and smoke-tests it for you. Covers the product agent too — ingest a product's website/docs into the product knowledge base and build a knowledge-only agent over it. Use whenever the user wants to add or create a new agent, or names a product (theirs or one they use) they want an agent for.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

agno-agi/agentos-railway382026년 10월 25일 업데이트

Deploy this AgentOS using its own provider instructions, configure JWT verification, and verify the public service. Use for first deployment, redeployment, or production configuration changes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

agno-agi/agentos-railway382026년 10월 25일 업데이트

Evaluate and improve an existing AgentOS agent or team. Repair failing eval cases, or explore behavior by generating simulated user scenarios from instructions and sanitized usage, running probes, inspecting evidence and iterating within a bounded budget. Use for failing evals, autonomous hardening or simulation-driven improvement. Use create-evals for coverage authoring alone and extend-agent for a requested new capability.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

agno-agi/agentos-railway382026년 10월 25일 업데이트

User-driven loop to change an existing agent in this AgentOS — add a tool/MCP server/toolkit, add a capability (knowledge base, learning/memory, sub-agent, scheduled task), grow the safe Studio registry so components built at runtime gain a new capability, refine its instructions, or fix a specific known bug, verifying each change against the selected development runtime. Use whenever the user names a concrete change to an agent, or wants a new building block available to the platform. For autonomous hardening with no specific change in mind, use eval-and-improve.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

agno-agi/agentos-railway382026년 10월 25일 업데이트

Review this AgentOS repository for public readiness after a refactor or before release. Compare documentation, skills, configuration, component wiring and scripts with the implementation; fix clear documentation drift when requested and report behavioral issues with evidence. Use for a repository consistency sweep, not agent-quality tuning or deployment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

agno-agi/agentos-railway382026년 10월 25일 업데이트

Set up this AgentOS from a fresh clone — confirm Docker, configure .env, boot the containers, prove the MCP endpoint live, connect the AgentOS UI, then build the user's first agent. Use when the user asks to set up the platform, get started, or bring this repo up on a new machine.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

agno-agi/agentos-railway382026년 10월 25일 업데이트

agno-agi의 스킬 모두 보기

이 스킬의 문제 신고