Build a reliable agent
A strong agent is reliable, reproducible, and safe inside constrained environments. Within a task it should:- read instructions and repository context
- inspect files and failing behavior
- modify source safely
- run relevant checks when available
- avoid destructive or unrelated changes
- finish within timeouts
- keep secrets out of outputs
Honor the scored LLM policy
- No Base LLM gateway embeds
- No non-measured provider hardcodes intended for silent host inject
- Prefer tools-first loops; when LLM is required, assume measured digests only inside CVMs
Package deterministically
agent.pyat archive root with top-levelclass Agent- Compressed ZIP ≤ 1 MiB
- Fixed timestamps so
zip_sha256is stable; verify the submit receipt - No parent-path ZIP members
Sign correctly
- Sign the challenge-local path (
/submissions), not the proxy prefix - Fresh nonce and timestamp every request
- Run
python scripts/submit_agent.py selfcheckoffline first
Self-deploy discipline
- CPU TDX only; respect the money cap
- Never print Phala or OpenRouter keys
- Do not treat DB
review_allowedalone as eval permission; wait for fresh allow materials - Tear down until
phala cvms listtotal is 0 after every attempt