brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
core-sdkBuild local mcp-agent apps with MCPApp, Agent, AgentSpec, AugmentedLLM, RequestParams, settings, secrets, decorators, and factory basics.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is to create, configure, or debug a local mcp-agent application using the core Python SDK. It covers MCPApp, Agent, AgentSpec, AugmentedLLM, RequestParams, programmatic Settings, YAML config/secrets, local function tools, human-input hooks, and the basic agent factory helpers.
references/api-reference.md for verified constructor signatures, lifecycle patterns, LLM attachment, provider/model selection, and request parameters.references/configuration.md when the task involves mcp_agent.config.yaml, mcp_agent.secrets.yaml, Settings(...), provider keys, or schema validation.references/decorators-and-factory.md for @app.tool, @app.async_tool, workflow decorator basics, AgentSpec, create_agent, create_llm, and agent-spec loading.references/troubleshooting.md when imports, provider extras, secrets, YAML merging, server names, async lifecycle, decorators, or RequestParams fail.scripts/check_core_sdk.py --help to see the credential-free smoke checks; run it before blaming provider credentials or network access.MCPApp per process, preferably with an explicit Settings object or explicit config path for deterministic runs.async with app.run() as running_app: before using app context, configured server registry, logging, token counters, human-input hooks, or workflow decorators that depend on runtime context.Agent(name=..., instruction=..., server_names=[...], functions=[...], context=running_app.context) for local agents; attach a provider implementation with await agent.attach_llm(...) only after provider package and credentials are available.RequestParams(...) per generation to set model, model preferences, temperature, token limits, tool filtering, history, iteration count, strict mode, and reasoning effort.Settings.workflow-patterns.mcp-server-integration.cli-cloud-operations.durable-execution.observability-integrations.Use the smoke checker for local SDK validation without credentials or network:
python scripts/check_core_sdk.py
python scripts/check_core_sdk.py --provider openai
The default check imports core APIs, constructs programmatic settings, validates local function-tool annotations, registers decorators, creates an AgentSpec, and builds RequestParams. Provider checks only import the provider wrapper and report whether a key-shaped setting is present; they do not call external services.