Matrix logo

Tachyon API

The agent-native Solidity/EVM engine — compile, test, simulate, deploy, and call contracts; manage chains and artifacts; plus a JSON-RPC endpoint and MCP surface.

Tachyon is the agent-native Solidity/EVM engine. It exposes its compile/test/simulate/deploy workflow as API, RPC, and MCP surfaces rather than a human-first terminal flow.

Routes

MethodPathPurpose
GET/healthzLiveness.
GET/Service root / info.
POST/rpcJSON-RPC endpoint (MCP-style tool calls).
POST/v1/compileCompile Solidity sources.
POST/v1/testRun the test suite.
POST/v1/simulateSimulate a transaction.
POST/v1/deployDeploy a contract.
POST/v1/callCall a contract method.
GET/v1/chainsList configured chains.
POST/v1/chainsAdd a chain.
POST/v1/chains/useSelect the active chain.
GET/v1/artifacts/{name}Fetch a build artifact.
GET/v1/registry/deploymentsList recorded deployments.

Compile

sourcesobjectrequired

Map of filename → Solidity source.

curl -X POST https://tachyon.example/v1/compile \
  -H "Authorization: Bearer $TACHYON_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"sources": {"Counter.sol": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\ncontract Counter { uint256 public n; }"}}'
artifactsobject

Compiled ABI + bytecode per contract; fetch by name at /v1/artifacts/{name}.

MCP surface

How Tachyon is exposed to agents as MCP tools.