Build on XE
Root in four commands.
One binary, and one API on every node. Make a wallet, fund it from the testnet faucet, lease a machine and SSH in. Your code and your agents can do the same, over the same API.
XE is a network your code can use directly. One binary is the node and the client, and every node serves the same API, so a script, an app or an agent can open an account, find a machine, lease it and pay for it.
There’s no account to open and no console to click through. A key is an account, the testnet faucet funds it, and the xe CLI talks to any node you point it at, so you can go from an empty terminal to root on someone else’s machine without running anything yourself.
Everything the CLI does is a call on the node API, described in OpenAPI 3.1, so your code and your agents can do the same in any language that speaks HTTP. When you’re ready to offer machines too, the same binary runs a node.
- API operations, on every node
- 44
- CLI commands, in one binary
- 15
- To finality
- 300ms
- Fee to transact
- Zero
Your first lease,
in under ten minutes.
No node to run, no account to open. Point the CLI at a testnet node and go from an empty terminal to root on someone else’s machine.
$ git clone https://github.com/xe-network/xe-poc-2.git$ cd xe-poc-2/core && go build -o xe ./cmd/xe/$ export XE_NODE=https://ldn.core.test.network
~ · from nothing to root
TestnetFive ways
to build on XE.
Rent the machine, write the job, package the setup, bring the hardware, or hand it all to an agent. Pick one, and start with the code.
Rent a machine
Lease a whole machine, by the second, from whoever has one free. You get root over SSH for as long as the lease runs, and pay only for the seconds you use.
1# what's free right now2xe providers34# 2 vCPUs, 4 GB of memory, 20 GB of disk, for an hour5xe lease --vcpus 2 --memory 4096 --disk 20 --duration 360067# root, through the gateway8xe ssh <hash>910# the lease record: resources, cost, settlement11xe lease status <hash>
Five primitives.
Every one is a call.
1curl -s "$XE_NODE/providers"
Your agent can read
the whole network.
XE is written to be read by machines as well as people. The site, the operator guide, the API and every blog post are served as plain text an agent can use without a browser.
1XE is the world’s first agent-native network, built for trusted autonomous execution.2[Read the docs](https://xe.network/docs)34---56XE7Stack:8 [Overview](https://xe.network/stack)9 [XE Contracts](https://xe.network/stack/contracts)10 [XE Images](https://xe.network/stack/images)11 [XE Nets](https://xe.network/stack/nets)12 [XE Machines](https://xe.network/stack/gpu)13Primitives:14 [Identity](https://xe.network/stack/identity)15 [Discovery](https://xe.network/stack/discovery)16 [Payment](https://xe.network/stack/payment)17 [Compute](https://xe.network/stack/compute)18 [Messaging](https://xe.network/stack/messaging)19Solutions:20 [Cloud & Infrastructure](https://xe.network/solutions/cloud)21 [Robotics & Machines](https://xe.network/solutions/robotics)22 [AI & Agents](https://xe.network/solutions/ai)23 [Payments](https://xe.network/solutions/payments)24 [Web3 Networks](https://xe.network/solutions/web3)25 [Enterprise & Research](https://xe.network/solutions/enterprise)26Network:27 [Network status](https://xe.network/network)28 [Roadmap](https://xe.network/roadmap)29 [Changelog](https://xe.network/changelog)30 [Explorer](https://xe.network/explorer)31 [Agent data](https://xe.network/data)32 [Run a node](https://xe.network/node)33 [The XE token](https://xe.network/token)34 [Security](https://xe.network/security)35 [Research](https://xe.network/research)36Build:37 [Developer hub](https://xe.network/developers)38 [Docs](https://xe.network/docs)39 [Project ideas](https://xe.network/ideas)40 [Community](https://xe.network/community)41[Machina](https://xe.network/machina)42[Docs](https://xe.network/docs)43[EXPLORE](https://xe.network/explorer)44[JOIN](https://xe.network/build)
Read https://xe.network/llms.txt for the full site context and https://xe.network/agents.md for how to operate on the network, then use the docs at https://xe.network/docs and the OpenAPI spec at https://xe.network/openapi.json.
One binary, one API,
and what’s built on them.
The CLI, the node API and the source are the code the network runs. The wallet and the explorer sit on the same API your code does.
The xe CLI
One binary is the node and the client. Wallets, payments, leases and SSH, against any node’s API, with nothing running locally.
export XE_NODE=https://ldn.core.test.network- Binary
- xe: the node and the client in one
- Talks to
- Any node you point it at
- Wallet
- Made and kept on your machine
- Runs
- Nothing locally, unless you want a node
- xe noderun a node
- xe wallet createnew wallet
- xe wallet balancebalances
- xe fundtestnet XUSD
- xe sendsend funds
- xe receivetake pending
- xe providerswho has capacity
- xe leaselease a machine
- xe lease statusthe lease record
- xe vmVM status
- xe sshshell on the VM
- xe keygenSSH key pair
- xe sign-blocksign from stdin
- xe versionversion
- xe helphelp
The node API
Every node serves the same JSON over HTTP. 44 operations, described in OpenAPI 3.1, each with a playground in the reference.
https://xe.network/openapi.json- Where
- On every node, the same
- Format
- JSON in, JSON out
- Streams
- Messages, live as they arrive
The source
The node, the CLI, the wallet and the explorer are open source. Read how it’s built, build it yourself, and send a pull request.
git clone https://github.com/xe-network/xe-poc-2.git- Open
- The node, the CLI, the wallet, the explorer
- Any language
- xe sign-block signs a block from any script
- Welcome
- Pull requests from people and agents
The web wallet
Send, receive, lease, chat and vote from a browser. Keys are made and kept in the browser, and every block is signed there.
xe node --ui --wallet- Keys
- Encrypted in your browser, never sent
- Signing
- In the browser, XE Proof of Work too
- Locks
- After five idle minutes
The explorer
Accounts, blocks, leases, providers, conflicts and the state chain, live. It only reads, and holds no keys.
xe.network/explorer- Search
- Any account or block hash
- Shows
- Leases, providers, conflicts, governance
- Keys
- None
Live,
and shipping.
The public testnet runs on nodes in London, Frankfurt and New York. Here it is right now, and everything that’s changed since the first block, 7 releases ago.
- Londonldn.core.test.network…
- Frankfurtffm.core.test.network…
- New Yorknyc.core.test.network…
- Accounts
- —
- Blocks
- —
- Providers
- —
- Leases
- —
- Shared accounts that need several keys to sign, with keys you can rotate
- A one-time genesis mint of XE; XE can no longer be claimed
- Voting weight now follows XUSD balances
Everything, written down.
From the first command to the lease formula, the docs follow the way the network is built. Start anywhere.
Open the docsBuild it with the people building XE.
The team and the community work in the open. Ask in Discord, file it on GitHub, or tell us what you’re making.
- DiscordxenetworkWhere the team and builders talk every day.
- GitHubxenetworkThe code, the issues and the pull requests.
- TelegramxenetworkAnnouncements, and a room to ask anything.
- X@xenetworkWhat’s new, as it ships.
- Every way to take partRun a node, send a pull request, improve the docs, or delegate and vote.The community
- Found a vulnerability?Report it privately first, to security@xe.network. We’ll answer, and credit you.Responsible disclosure
- Building something big?Tell the team what you’re making, and what you need from the network.Talk to the team
What builders ask first.
Straight answers about building on XE, from the CLI to agents.
Do I need to run a node to build on XE?
No. Every client command in the xe CLI works against any node’s API. Set XE_NODE to a public testnet node, such as https://ldn.core.test.network, and you can create a wallet, fund it and lease machines without running anything yourself.
Which languages can I build with?
Any language that speaks HTTP. Every node serves the same JSON API, described in an OpenAPI 3.1 spec you can generate a client from, and xe sign-block signs a block handed to it from any script.
How do I get testnet funds?
Run xe fund. It claims 100 XUSD from the testnet faucet with a moment of XE Proof of Work, once per account every 24 hours. The web wallet can claim it too.
Does it cost anything to send a transaction?
No. XE has no transaction fees. Each block carries a moment of XE Proof of Work instead: nothing for a single payment, expensive at spam volumes. What you pay for is work, such as a lease.
What are XE and XUSD?
The two assets on the network. On the testnet, XUSD pays for leases and carries voting weight, and XE is the network’s token, paid to the machines that do the work. Customers price work in dollars and never need to hold XE.
How do AI agents use XE?
An agent makes its own key, and that key is its account: no signup, no card. It reads https://xe.network/llms.txt and /agents.md to learn the network, then calls the node API described in /openapi.json to find capacity, lease machines, pay and message other accounts.
How does SSH into a leased machine work?
xe ssh connects through the network’s SSH gateway, encrypted end to end: your SSH client talks directly to the machine. Each wallet gets its own key for its leases, so one wallet can’t reach another’s machines.
Is XE open source?
Yes. The code, the issues and the pull requests are on GitHub, and contributions from people and agents are welcome.