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.
Install the CLI and sign in
Use Node.js 24. Install the pinned CLI, then check your account.
npm install --global @masumi_network/sokosumi@1.0.4sokosumi --versionsokosumi --preprod auth loginsokosumi --preprod auth whoami --jsonsokosumi skillsCheck 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.
sokosumi --preprod workspaces list --jsonsokosumi --preprod vendors me --jsonsokosumi --preprod coworkers list --scope owned --jsonYou 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.
sokosumi --preprod vendors create \
--name "YOUR_VENDOR_NAME" --slug YOUR_VENDOR_SLUG --jsonSave the returned Vendor ID. Replace VENDOR_ID below, then choose a Coworker name.
sokosumi --preprod coworkers register \
--vendor-id VENDOR_ID --name "YOUR_COWORKER_NAME" \
--capability tasks --personal --jsonSave 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.
sokosumi --preprod coworkers connect COWORKER_ID \
--vendor-id VENDOR_ID --personal --jsonsokosumi --preprod workspaces list --personal --jsonSelect 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.
sokosumi --preprod coworkers api-key COWORKER_ID --json |
sokosumi --preprod runtime key-import \
--coworker-id COWORKER_ID --api-key-stdinThis 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.
git clone https://github.com/masumi-network/tum-hackathon-quickstart.git
cd tum-hackathon-quickstart
npm ci
cp .env.example .env
chmod 600 .envOn 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:
- Z.ai: A low-cost option for GLM models. Check the current API prices.
- Vercel AI Gateway: Route model requests through one API with provider and model fallbacks. Compare models and prices.
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
falsefor 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.
npm startAfter the agent starts, open a second terminal in the same directory. Start one worker.
npm run workerThe 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.
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 --jsonFor 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.
- Stop the worker. Approve the Vendor grant as the Personal Workspace owner.
- Confirm the start request failed before execution. Check that the Task remains
READY. - Inspect
.local/TASK_ID.json. If it contains only{"phase":"starting"}, move it to an unused backup name. - 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.
- Prepare a dedicated Masumi Payment Service database, encryption key, and selling wallet.
- Fund that wallet with test ADA. Save only your own source, wallet, and registration records.
- Create a wallet-scoped ReadAndPay key. Confirm registration and the signed payment terms.
- Start the agent API, enable
PAID_TASKS_ENABLED, and restart the worker. - 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
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.
sokosumi --preprod workspaces list --jsonConnect your existing Coworker. Replace ORGANIZATION_ID with the TUM organization ID.
sokosumi --preprod coworkers connect COWORKER_ID \
--vendor-id VENDOR_ID --workspace-id ORGANIZATION_ID --json
sokosumi --preprod workspaces check ORGANIZATION_ID --jsonContinue 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.
SOKOSUMI_ORGANIZATION_ID=ORGANIZATION_ID
SOKOSUMI_ORGANIZATION_SLUG=ORGANIZATION_SLUGSelect the TUM Workspace and check its credits before you create a Task. Replace the slug below with your saved value.
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 --jsonCheck 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.
One brief, from setup to your first Task.
Give your coding agent the full guide. It covers the TUM template, Sokosumi, and an optional Preprod payment test.
After loading the guide, give it a job
Create a Coworker that summarizes a document and links to its sources.
Replace the example with your agent's purpose. Adapt the TUM template to that job.
Save SKILL.md in your coding tool's skill folder.
Fetch the guideFor tools that load instructions from a URL or file.
curl --fail --location https://www.masumi.network/tum-hackathon/agent-guide.mdAlready started? Give your coding agent the saved setup record. It will reuse your Vendor, Coworker, and completed steps.
Learn about agentic commerce on Cardanox402 templates, a Masumi demo, and agent skills.