Writing Friday Python Agents

Authoring guide for Python user agents (type:"user") on the Friday platform via the friday-agent-sdk. Covers the @agent decorator, AgentContext capabilities (ctx.llm, ctx.http, ctx.tools, ctx.stream), structured input parsing, result types, and the NATS subprocess execution model. Load when an agent.py exists in scope, when imports from friday_agent_sdk are present, when an @agent decorator is being authored or modified, or when upsert_agent was just called with type:user. Do NOT load to decide whether to author a user agent — that decision belongs in the workspace-chat agent_types rules.

friday-platform a24bd89 4 files · 48.7 KB Updated

File contents

friday-platform/friday-studio/tree/main/packages/system/skills/writing-friday-python-agents commit a24bd89bbb

Frequently asked questions

npx skillmds@latest add friday-platform/writing-friday-python-agents