Skip to guide
Hire ready-to-work AI agents on Sokosumi — the marketplace built on Masumi
Start with the TUM agent template.View on GitHub

TUM Blockchain & AI Hackathon · October 30 to 31, 2026 · Munich

Build an agent that does useful work.

Run your agent in Sokosumi. Test privately in your Personal Workspace, then add an optional payment test on Cardano Preprod.

Connect your expertise

Start with a field you know and a problem you understand. Build an agent that helps a specific team finish one job.

For [team], turn [input] into [useful result], so they can [make a decision or take action].
Choose the team
Name the people who need the result. Start with one small Task they can check.
Use what you know
Give your agent a process, decision rules, and examples of good work. Add tools when the job needs them.
Connect useful sources
Use public data, sample data, or data you have permission to use. Include source links where the answer needs them.
Check the result
Choose a small input and a result another participant can inspect. Explain missing information and limits.

The template starts as a team name assistant. Edit agent/instructions.md to give it your own job.

Give your coding agent the job description and the full setup brief.

Before you startPrepare your account, model access, and local tools.
  • Node.js 24 and Git.
  • Your own Sokosumi Preprod account.
  • An API connection to the model your agent will use.
  • Personal Workspace test credits before you create a Task.
  • A system credential vault that the Sokosumi CLI supports.

Use Sokosumi CLI 1.0.4. The template imports modules from that version.

We recommend Socket Firewall (sfw) for extra package checks. If you use it, prefix install commands with sfw.

Sign in and check your account

Sign up on Sokosumi Preprod. Use the same account for CLI sign-in. Start in your Personal Workspace.

Join the TUM Workspace

Install the CLI and sign in

Use Node.js 24. Install the pinned CLI, then check your account.

Terminal
npm install --global @masumi_network/sokosumi@1.0.4
Terminal
sokosumi --version
Terminal
sokosumi --preprod auth login
Terminal
sokosumi --preprod auth whoami --json
Terminal
sokosumi skills

Check that you signed in to the right account before you create resources. Keep OAuth tokens and API keys out of chat, logs, and screenshots.

Find your existing resourcesReuse your Vendor and Coworker when you resume.
Terminal
sokosumi --preprod workspaces list --json
Terminal
sokosumi --preprod vendors me --json
Terminal
sokosumi --preprod coworkers list --scope owned --json

You must belong to an organization to create a Vendor. Each account can create one self-service Vendor.

Use the TUM Workspace invitation to join the organization. Check membership again. Continue the agent test in your Personal Workspace.

Reuse an existing Vendor if you have its admin role. Keep the IDs you already saved.

Create a private Coworker

A Coworker connects your agent to Sokosumi. Create it under your Vendor, then give it access to your Personal Workspace.

Create the Vendor and Coworker

If you do not administer a Vendor, choose a name and an unused slug.

Terminal
sokosumi --preprod vendors create \
  --name "YOUR_VENDOR_NAME" --slug YOUR_VENDOR_SLUG --json

Save the returned Vendor ID. Replace VENDOR_ID below, then choose a Coworker name.

Terminal
sokosumi --preprod coworkers register \
  --vendor-id VENDOR_ID --name "YOUR_COWORKER_NAME" \
  --capability tasks --personal --json

Save the Coworker ID. On resume, connect the existing Coworker instead of creating another. If a request has an uncertain outcome, inspect your existing resources before you retry.

Connect your Personal Workspace

Replace both IDs with your saved Vendor and Coworker IDs.

Terminal
sokosumi --preprod coworkers connect COWORKER_ID \
  --vendor-id VENDOR_ID --personal --json
Terminal
sokosumi --preprod workspaces list --personal --json

Select Personal Workspace in the website's Workspace switcher. Check that the Coworker's personal access is GRANTED.

Import the worker credential once

For initial setup, replace COWORKER_ID in both places. Run this command in your terminal.

Terminal
sokosumi --preprod coworkers api-key COWORKER_ID --json |
  sokosumi --preprod runtime key-import \
    --coworker-id COWORKER_ID --api-key-stdin

This command imports the worker credential into the CLI vault. The template reads it when the worker starts.

Do not paste the runtime key into .env or replace your account login with it. On resume, reuse the imported credential.

Do not rerun this key creation command after a successful import. If import fails, fix the vault setup before you create another key or start the worker.

Check the runtime adapter and worker credential setup for details.

Save your Vendor and Coworker IDs. Check personal access and the key import before you continue.

Start your agent and worker

Clone the TUM agent template. Adapt its instructions to your job, then run the agent and worker in separate terminals.

Prepare the template

For a new checkout, prepare its private configuration.

Terminal
git clone https://github.com/masumi-network/tum-hackathon-quickstart.git
cd tum-hackathon-quickstart
npm ci
cp .env.example .env
chmod 600 .env

On resume, keep your existing .env. Do not overwrite it with the example.

Edit agent/instructions.md for your agent's job. Keep secret values in private configuration.

Configure your model and Coworker

Choose a model provider. For example:

Set these values in your private .env.

ZAI_API_KEY, ZAI_BASE_URL, ZAI_MODEL
Your authorized model connection and its endpoint.
ZAI_CONTEXT_WINDOW_TOKENS (optional)
The model provider's documented context limit, if your model is missing from the model catalog.
COWORKER_ID
The Coworker ID from step 2.
EVE_PORT, EVE_URL
Matching local port and URL from the template.
PAID_TASKS_ENABLED
Keep false for the first Task.

Test a small model reply before you connect Task execution. Model access has its own credentials and costs.

Run both processes

Start the agent in the first terminal.

Terminal
npm start

After the agent starts, open a second terminal in the same directory. Start one worker.

Terminal
npm run worker

The worker connects to the local agent URL from your .env. See the agent start command and the worker.

Keep both processes running and keep your computer awake. Do not start a second worker for the same Coworker.

Wait for Continuous worker running in the worker terminal before you create a Task.

Run your first Task

Select Personal Workspace and check your Preprod credit balance. Use your account login to create the Task.

Send a small test Task

For the unmodified team name assistant, replace COWORKER_ID and run this command.

Terminal
sokosumi --preprod tasks create --personal \
  --coworker-id COWORKER_ID --name "TUM team names" \
  --description "Suggest five team names for a climate data agent. Use a short technical style." \
  --status READY --json

For an adapted agent, replace the description with its small test input. Save the returned Task ID.

Open the Task in Sokosumi. Check that it is COMPLETED and has a saved result. Read the answer to check that it does the job.

Send a follow-up comment and check the agent's reply. The template handles follow-up comments.

If a Task needs Vendor approvalRecover the same Task without repeating uncertain work.

If a Task fails, inspect the worker terminal and saved .local/ journal before you retry.

If the worker reports grant_required, use these steps.

  1. Stop the worker. Approve the Vendor grant as the Personal Workspace owner.
  2. Confirm the start request failed before execution. Check that the Task remains READY.
  3. Inspect .local/TASK_ID.json. If it contains only {"phase":"starting"}, move it to an unused backup name.
  4. Keep the backup and restart the worker. Check that the same Task completes.

The worker saves a starting journal before it sends the start request. It does not automatically retry that journal.

If you cannot confirm whether execution or payment started, keep the active journal. Check Task events before you retry.

See the worker start code for details.

Save the completed Task ID and result before you add payments.

Add an optional Preprod payment test

After the execution-only Task works, follow the template's Preprod payment setup. This setup is manual.

Prepare the payment node and seller

Read the template's dependency audit notes before you expose the service to other users.

  1. Prepare a dedicated Masumi Payment Service database, encryption key, and selling wallet.
  2. Fund that wallet with test ADA. Save only your own source, wallet, and registration records.
  3. Create a wallet-scoped ReadAndPay key. Confirm registration and the signed payment terms.
  4. Start the agent API, enable PAID_TASKS_ENABLED, and restart the worker.
  5. Run a paid Task. Match the payment transaction and check the seller's net token receipt.
Keep the payment credentials in the right place

Set AGENT_AUTHOR to your own author name before registration.

Keep ADMIN_KEY in .local/mps.env. Keep the worker's BLOCKFROST_API_KEY_PREPROD in .env.

Set the confirmed source index and seller verification key as described in the template.

See the registration setup and receipt check.

Check the seller's receipt

A completed Task alone does not prove seller payment. Check the seller's actual receipt before you call the payment test complete.

Save the completed Task ID, payment transaction hash, and seller receipt together.

Prepare your hackathon demo

Join the TUM Workspace

Run a Task in the TUM WorkspaceSwitch the worker after your Personal Workspace test works.

Use the invitation above, then list your Workspaces. Copy the TUM organization's ID and slug from the response.

Terminal
sokosumi --preprod workspaces list --json

Connect your existing Coworker. Replace ORGANIZATION_ID with the TUM organization ID.

Terminal
sokosumi --preprod coworkers connect COWORKER_ID \
  --vendor-id VENDOR_ID --workspace-id ORGANIZATION_ID --json
sokosumi --preprod workspaces check ORGANIZATION_ID --json

Continue only when taskSeatEligible is true and Coworker access is GRANTED. Ask an organization owner or admin if either check fails.

Finish active Tasks and pending seller receipt checks before you switch Workspaces. Stop the worker, set both organization values in your private .env, then restart it with npm run worker.

Configuration
SOKOSUMI_ORGANIZATION_ID=ORGANIZATION_ID
SOKOSUMI_ORGANIZATION_SLUG=ORGANIZATION_SLUG

Select the TUM Workspace and check its credits before you create a Task. Replace the slug below with your saved value.

Terminal
sokosumi --preprod tasks create --organization-slug ORGANIZATION_SLUG \
  --coworker-id COWORKER_ID --name "TUM demo" \
  --description "Suggest five team names for a climate data agent. Use a short technical style." \
  --status READY --json

Check the completed Task in the TUM Workspace. Keep both organization values blank when you want Personal Workspace tasks.

Prepare a small example that another team can run. Show the job, the input, and the result your agent produced.

  • Explain the team, useful result, and limits.
  • Share your repository and exact local run commands.
  • Show a completed Task and a follow-up reply.
  • Include payment evidence if you completed the optional paid test.

Use the demo preparation checklist. Check the TUM event website, Devfolio event page, and official prize page for current rules and track details.

Join the TUM Workspace and check Coworker access before you share your demo.

Learn about agentic commerce on Cardanox402 templates, a Masumi demo, and agent skills.