Skip to content
UCAGENT / DOCUMENTATION

UCAgent Documentation

UCAgent is an AI verification agent for digital circuit unit testing. It reads the DUT and verification requirements, generates documents, tests, and coverage models in stages, runs tests, and retains reports that can be reviewed. Deterministic Checkers validate each stage. You can intervene manually or connect an external coding agent through MCP.

Complete Your First Run

If you are new to UCAgent, start with ToffeeUT unit verification:

  1. Prerequisites and installation: install UCAgent, Picker, the simulator tools, and OpenCode.
  2. Global Agent: start UCAgent, then request ToffeeUT verification in one sentence.
  3. If you already know the workspace and DUT, start the task directly in normal mode. See the ToffeeUT user guide (Chinese) for workflow selection and task recipes. For other entry points, see run modes and MCP integration.
  4. Results and workflow summary: understand the workspace and verification artifacts.

Read Master mode when you need to manage multiple tasks centrally.

Responsibilities

  • picker exports RTL as a Python DUT package; UCAgent manages verification workflows and their artifacts.
  • UCAgent does not define the DUT specification for you. Prepare the README, RTL, and other references first. A failed test must be checked against the specification to distinguish a test problem from a DUT defect.
  • Run modes share workflows and Checkers, but use different model connections, process arrangements, and interaction interfaces.

Documentation Map

Getting Started

  1. Prerequisites and installation: environment setup and preparation for model configuration.
  2. Run modes: normal and Master modes, backends, and interaction interfaces.
  3. Normal mode: prepare a DUT, configure a model, and run verification in the terminal.
  4. MCP integration: connect an external coding agent.
  5. Master mode: manage multiple tasks through the web interface.
  6. Tasks, workspaces, and workflows: inputs, artifacts, and acceptance criteria.
  7. Results and workflow summary: read results and review a completed run.

Replace example values such as <workspace> and <DUT> in commands. In configuration files, {WORKSPACE}, {DUT}, and {OUT} are template variables. {OUT} is the selected workflow's output directory; ToffeeUT defaults to ut_project.

User Guide

Development

Examples