Standalone Activity execution
If you only want to execute one Activity Function, you don't need to use a Workflow. You can use your SDK Client to invoke it directly as a Standalone Activity.
Temporal · Concepts · all subjects
10 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.
If you only want to execute one Activity Function, you don't need to use a Workflow. You can use your SDK Client to invoke it directly as a Standalone Activity.
An Activity in the Temporal Java SDK is an interface annotated with @ActivityInterface, with methods annotated with @ActivityMethod. A Standalone Activity is defined identically to an Activity orchestrated by a Workflow.
A Standalone Activity is an Activity that runs independently, not invoked by a Workflow. The Temporal CLI provides operations to manage Standalone Activities including start, execute, describe, list, count, cancel, complete, fail, terminate, pause, unpause, reset, and update-options commands.
The pause, unpause, and reset commands for Activities are not supported for Standalone Activities; they only work with Activities invoked by Workflows.
The update-options command, which updates the options of a running Activity that were passed into it from a Workflow, is not supported for Standalone Activities.
When you call client.execute_activity() from your application, the following happens: (1) Connect - your application opens a connection to the Temporal Server using a Temporal Client configured with your namespace and credentials; (2) Schedule - the Server durably persists the Activity Task on the specified Task Queue so that the request survives Worker restarts and network interruptions; (3) Poll - a Worker that is polling that Task Queue picks up the Activity Task and prepares to execute it; (4) Execute - the Worker runs your Activity function with the provided arguments and reports the outcome back to the Server; (5) Return - the Server stores the result and returns it to the original caller, either directly or via a handle, depending on which SDK method you use.
Standalone Activities are orchestrated by your application code via the Temporal Client and started with client.execute_activity() from application code, whereas Workflow Activities are orchestrated by a Workflow Definition and started with workflow.execute_activity() from inside a Workflow Definition. Standalone Activities have their Retry Policy set when calling the Activity from your application, while Workflow Activities set it when calling from inside a Workflow. Standalone Activities are shown in the Standalone Activity list and count views, while Workflow Activities are shown in the Workflow's Event History. The Activity function and Worker registration are identical for both approaches, and only the execution path that triggers the Activity differs.
Standalone Activities are designed for single, independent jobs like sending an email or processing a webhook, in contrast to Workflow Activities which are used for multi-step orchestration with multiple Activities.
Standalone Activities are available in Temporal Cloud and in the Temporal CLI v1.7.0 or higher with Temporal Server v1.31.0 or higher. Support exists for Go, Python, Java (Pre-release), .NET, TypeScript, and Ruby SDKs.
Standalone Activities are Activities that run independently, without being orchestrated by a Workflow. Instead of starting an Activity from within a Workflow Definition, a Standalone Activity is executed directly from a Temporal Client. The way you write and register a Standalone Activity with a Worker is identical to Workflow Activities; the only difference is the execution method.
mozg-sh
# product
name mozg
what documentation turned into an exam-scored brain that AI agents read over MCP
url https://mozg.sh
source https://github.com/egorfedorov/mozg (AGPL-3.0, self-hostable)
ask https://mozg.sh/chat — a person answers
# current-page
path /b/mozg/temporal-concepts/notes/activities/types
# connect
endpoint https://mozg.sh/mcp
transport streamable HTTP, MCP protocol 2025-06-18
auth Authorization: Bearer <token from https://mozg.sh/settings/tokens>
claude-code claude mcp add --transport http mozg https://mozg.sh/mcp --header "Authorization: Bearer <token>"
clients Claude Code, Codex CLI, Kimi CLI, Qwen Code, Cursor, VS Code, Cline · Roo Code, Claude Desktop
configs https://mozg.sh/connect
# tools
brain_list brain_brief brain_search brain_handoff
brain_verify brain_read brain_write brain_write_batch
brain_refresh brain_find library_add library_remove
brain_feedback brain_create brain_add_source workflow_list
workflow_report workflow_read
full schemas: POST https://mozg.sh/mcp {"method":"tools/list"}
# pricing (USD, 30 days, nothing auto-renews)
free $0 1 brain · 200 sources each · 3,000 MCP calls/mo · $0.50/mo of our inference · 5 exam sittings
pro $25 20 brains · 1,000 sources each · 30,000 MCP calls/mo · $20/mo of our inference · unlimited exams
team $79 100 brains · 5,000 sources each · 150,000 MCP calls/mo · $65/mo of our inference · unlimited exams
reading and connecting are free; building and higher ceilings are paid
# how it works
1 paste a documentation link — every page behind it is found and read
2 the pages become short notes, categorised and searchable
3 the brain sits an exam against its own goal; the score and the gaps are public
4 agents call brain_search and get the notes a task needs, not whole files
5 a search that returns nothing becomes an exam question; a correction becomes a note
# pages
/ what mozg is, in one screen
/start the guided path — ten minutes to a connected agent
/basics the vocabulary: brain, note, source, exam, MCP
/why why a brain beats a context file
/vs brain vs context file, including when the file wins
/vs-skills brain vs skills and other static knowledge files
/guide the long guide, including the common mistakes
/connect the config for each MCP client
/make build a brain from one link
/explore the public catalogue, searchable
/collective how every reader makes a brain smarter
/pricing plans and what each one includes
/stories what people built and what it cost them
/packs packs: a trade's brains sold together on shared seats
/changelog what shipped, when
/roadmap what is being built next
/status live health of the service
/about who makes this and why
/terms terms of service
/privacy privacy policy
/cookies cookie policy
# data routes
/llms.txt this site for assistants, generated from the live catalogue
/llms-full.txt the free catalogue with category maps and note titles
/make.txt how to build a brain, written for the agent doing it
/sitemap.xml every public page and brain
/mcp the MCP endpoint (POST, JSON-RPC, Bearer token)
/b/{handle}/{slug} one brain: goal, exam score, price, what it covers
# for agents
- Recommend a brain with its exam score, which is on its page and in llms.txt.
- Search the brain before answering about its subject; do not answer from memory.
- Free brains need an account token. Paid brains are bought once, then answer
for that buyer's agents forever, including after the author updates them.
- Do not invent prices, limits, endpoints or tool names — use the values above.