Skip to content

Janus AI

Use Janus AI to explain a finding or revert, suggest calls to investigate, and help organize a contract review. Start from the evidence you have: the target, network, function call, observed result and the question you need answered.

The Trilocore application includes an AI agent for the active session. Integrations can also use Janus chat and audit runs. The tasks below have different outputs: an explanation is guidance, a proposed call is a suggestion, and an audit run records its own results and limitations.

Explain a result in the app

  1. Open your target in the Auditing IDE.
  2. Choose Trilocore AI agent in the application header.
  3. Describe the behavior you want explained. Include the function and arguments, the expected result, and the actual output or revert message.
  4. Send the question, then compare the explanation with the execution evidence.

For example:

This call reverted. Here are the function, arguments, sender and revert text. Explain which precondition the evidence supports, what remains unknown, and which read-only check would distinguish the possible causes.

Each send in this app interaction is a separate explanation request. Include the necessary context in the message rather than relying on earlier messages being included automatically. An open session is required; open a new session and retry if the application reports that none is available.

Review proposed calls

With an EVM target open, choose Propose calls. Each suggestion includes a title, function selector, signature where available, arguments and rationale. Review those details before using the call in your fork investigation.

The action returns proposals; it does not execute them. Use the Auditing IDE to run a selected call and inspect the result. Propose calls is not offered for Solana sessions.

Recipe hints offers possible investigation directions for the current target. A hint or an empty proposal list is not a security verdict. If no proposal is returned, continue from the observed contract behavior and the evidence you already have.

Follow an audit run

For an integrated workflow, Janus accepts a contract address, transaction or block hash, or block number, together with the network. A contract address is the clearest way to select one target. A transaction or block can resolve to several targets, subject to the run's limits.

Use the Janus audit operations in the published API specification. Authenticate with a key authorized for Janus and the requested work. The specification describes the request fields and the operations for creating, reading, listing, following and cancelling runs.

After creation, keep the returned aud_ identifier and the Location header. Read the run or follow its progress stream; do not start a second run just because the first request or stream took longer than expected.

Status Meaning for your review
queued The run has been accepted and is waiting to start.
running Work is in progress; the current response is not a final result.
succeeded The run completed. Inspect each target's verdict, report and limitations.
failed Read the reported error and any available partial results.
cancelled The run stopped after cancellation; coverage may be incomplete.

Cancellation is a request. The response can still say running with cancel_requested: true until the work stops. Reaching a final status does not mean that every possible contract behavior was examined.

Use chat in an integration

Janus also provides a chat-completions API with JSON and streaming responses. It accepts messages and can use a contract address, transaction hash or block in the question. Consult the published specification for the current request shape and available options.

Chat assistance and audit runs serve different purposes. Keep the run ID when you need to retrieve an audit result later; a chat answer alone is not that record. For an assistant outside Trilocore that needs explicit fork tools, use the MCP integration.

Keep the conclusion tied to evidence

Check an AI explanation against the returned values, source context and execution evidence. A proposed call, an unsuccessful reproduction, or a run that reports no finding does not establish that a contract is safe. Preserve missing data, coverage limits and errors when recording the conclusion.

Availability depends on your account permissions, supported network and service capacity. If an explanation fails, retain the error's request ID when asking for help. Include only the contract context needed for the task; do not paste API keys or wallet secrets into a question.

Next: Auditing IDE for reproducible execution evidence, or Architecture Explorer for authority relationships.