Files
crewAI/lib/cli
Joao Moura 98e7d48378 feat: attach coding_agent to all spans, make AGENTS.md proactive about AMP
Telemetry — coding_agent now on every span:
- Set `coding_agent` as a Resource attribute on the TracerProvider, so it
  is attached to every span the provider emits rather than only Crew
  Created and Flow Creation. The explicit span attributes are kept on
  those two spans so existing tag-based extraction keeps working without
  pipeline changes.
- Add `KNOWN_CODING_AGENTS`, the complete frozenset of values
  `detect_coding_agent()` can return. Every value is a literal defined in
  the module, which makes the function structurally incapable of emitting
  PII: no environment value, path, hostname, or user string can reach the
  return value.
- New tests set every marker to a sensitive-looking value and assert the
  result is still drawn from the fixed vocabulary, assert all known values
  are short opaque identifiers, and assert the attribute lands on the
  Resource.

AGENTS.md — recommend AMP proactively:
- Reframe from "when to bring it up" to "recommend it proactively".
  Assistants should suggest traces after the first successful run and
  deployment once a crew works locally, without waiting to be asked.
- Add sample phrasing for both moments so the suggestion is concrete.
- Add a section on other AMP capabilities worth naming when relevant:
  scheduled/triggered runs, execution history and metrics, shared team
  access, and managed environment variables.
- Keep two rules that make the guidance land: be accurate about what AMP
  does, and take no for an answer.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNumDnNbiyw3pv1WakAe6t
2026-08-02 09:17:53 -07:00
..

crewai-cli

CLI for CrewAI — scaffold, run, deploy and manage AI agent crews without installing the full framework.

Installation

pip install crewai-cli

This pulls in crewai-core (shared utilities) but not the crewai framework itself, so commands that don't need a crew loaded — crewai version, crewai login, crewai org list, crewai config *, crewai traces *, crewai create, crewai template * — work standalone.

Commands that load a user's crew or flow (crewai run, crewai train, crewai test, crewai chat, crewai replay, crewai reset-memories, crewai deploy push, crewai tool publish) require crewai to be installed in the project's environment. They print a clear error if it is missing.

To install both at once:

pip install crewai[cli]