Document your network, customer by customer.

Trama is a web application where you record your customers' sites, racks, devices, ports and cables. From that data you get rack views, a map of the network and PDF documentation ready to hand over.

Open source under the Apache 2.0 license. Runs on your own server with Docker.

You can also run it by talking to your AI assistant: Claude, ChatGPT, Cursor, VS Code. How it works

How Trama organises your network

Every piece of data has its place, from the building down to a single cable. You start from the site and work down to the port.

  1. 1. Site

    The customer's building or address: an office, a plant, a shop.

  2. 2. Room

    A room inside the site, such as the server room or a wiring closet, with its floor plan.

  3. 3. Rack

    The 19" cabinet: height in U, numbering, photos.

  4. 4. Device

    Switches, firewalls, servers, patch panels, access points, cameras: mounted at the right U, or outside a rack.

  5. 5. Interface

    Every port on the device: type, speed, PoE, VLAN, IP address, status.

  6. 6. Connection

    The cable between two ports, with type, length and label. A port can't have two active connections.

What you do with Trama

Rack elevation

The rack drawn U by U, front and rear. Drag devices onto free U and Trama prevents overlaps and overflows. Lock a device so nobody moves it by mistake; click it to see its ports, connections and change history.

Network topology

A graph of devices and connections, built from the data you entered. Pick a layout, filter by site, type, VLAN and status, export to PNG. Double-click a node to open its rack. Save the view as a snapshot and reuse it in documents.

  • PDF documentation

    Put together the document you hand over to the customer: choose sites, rooms, racks and devices and their order, with cover page, table of contents, front and rear rack views, floor plans and topologies. You can also print the PDF of a single rack.

  • One installation, many customers

    Each customer's data is kept separate from everyone else's. Administrators manage users and customers, technicians work on every customer's data, and customer users get read-only access to their own infrastructure.

  • Wi-Fi and VPN

    Record SSIDs, security and VLANs, the access points broadcasting them and the associated clients. Document remote-access and site-to-site VPNs, linked to firewall interfaces.

  • Room floor plans

    Draw walls, doors and windows to scale, or upload an image, and place racks and devices in the room.

  • Import and export

    Import devices from CSV with a preview: if a row is invalid, nothing is saved. Export devices to CSV and a whole customer to a .zip archive you can import again, even on another installation.

  • REST API

    Read and change data through /api/v1, Wi-Fi and VPNs included. Admins create tokens with permissions per resource, action and customer; the customer is picked with the X-Tenant-Id header. Swagger UI documentation included, Postman collection in the repository.

  • Everyday work

    A dashboard with the numbers of the infrastructure and what needs attention (inactive devices, interfaces down), global search, notifications, dark theme, custom icons per customer and a guided tour for newcomers. Every change is kept in the audit log.

Ask Claude, ChatGPT or Cursor

Trama ships with an MCP (Model Context Protocol) server. Connect your AI assistant and ask it, in your own words, to find a device, check free ports, mount a switch or record a cable. The assistant works on sites, rooms, racks, devices, ports, cables, Wi-Fi networks and VPNs with 35 tools, always through Trama's API.

Which assistants

  • claude.ai and ChatGPT: add Trama as a connector and approve access in Trama, no token to copy.
  • Claude Code, Claude Desktop, Cursor and VS Code with GitHub Copilot: with an API token created in Trama.
  • Any other MCP client, at the /mcp address of your installation.

Other requests

  • “Which ports are free on switch SW-CORE at customer Rossetti?”
  • “Create the Guest Wi-Fi network on VLAN 30, broadcast by every access point.”
Example

“In RACK-01, mount a new 1U switch in the first free U, add 24 copper ports and connect port 24 to port internal1 of firewall FW-01.”

Tools the assistant can call

  1. searchfinds RACK-01 and FW-01
  2. get_rackreads the free units
  3. create_equipmentmounts the 1U switch
  4. add_interfaceadds the 24 ports
  5. get_equipmentfinds the firewall's internal1 port
  6. connect_interfacesrecords the cable

One possible sequence: the assistant picks the tools itself.

You stay in control

  • Only what the token allows. Pick resources, actions and customers; the preset is read-only. The assistant doesn't even see the tools it can't use.
  • Confirmation before deleting. Deletions and disconnections are marked as destructive: the assistant asks for confirmation before running them.
  • Everything in the activity log. Every change goes through the REST API, with the same validation, and is logged under the user's name.
  • Instant revocation. Revoke the token or disconnect the app from API tokens → Connected apps: access ends at once.

For claude.ai and ChatGPT, Trama must be reachable from the internet over HTTPS, and you need a paid plan on the AI platform. The MCP server is disabled in the public demo.

Good to know

Open source, Apache 2.0 license

You can use, modify and redistribute Trama, including for work and commercial purposes. Keep the copyright notice and the NOTICE file, and state the changes you make.

Read the license (opens in a new tab)

On your own server

Trama runs with Docker Compose on your infrastructure. Your customers' data stays there: no external service, no account to create anywhere else.

REST API

Sites, rooms, racks, devices, interfaces, connections, topology, Wi-Fi networks and VPNs are available at /api/v1, with scoped tokens and a limit of 60 requests per minute. Keep Trama in sync with your other tools without copying data by hand.

Italian and English

Each user picks the interface language. PDFs are generated in the language you choose for each document.

Technology stack

  • Laravel 11, Livewire 3, Alpine.js, Tailwind CSS
  • PostgreSQL 16, Redis 7
  • Cytoscape.js for the topology graph
  • Sanctum for API authentication
  • Laravel MCP for the AI assistant server
  • Browsershot for PDFs
  • Docker and Docker Compose

Try the demo

The public demo is open to everyone. Sign in with one click and change the data as you like.

Password
demo

Or use the “Enter the demo” button on the sign-in page.

Every day at 03:00 (Italian time) all data is erased and restored. User management, profile, email and password changes, API tokens, the MCP server and password recovery are disabled in the demo.

Open the demo (opens in a new tab)

Got a server with Docker? Trama installs with about ten commands.

Install Trama on your server