Source — the agent-native substrate
Agents no longer scrape the internet for legislation. Source pulls directly from the official government APIs (CTH, QLD, NSW), structures every act into queryable sections, and re-emits it in whatever format your agent consumes — MCP tools, A2A skills, PACT topics, REST, OpenAPI, Python, Gemini. Consensus is the quality gate on top.
15 tools · 24+ legislation documents · 169+ sections · 1,500+ fuel stations · Real-time
Official Govt APIs
- CTH Federal Register of Legislation
- QLD Legislation
- NSW Legislation
- ASX Listing Rules
- JORC Code (2012)
- US sourcescoming soon (#1138)
Source pipeline
- Ingestcontinuous polling
- Structureacts → sections → predicates
- PACT consensus gatequality, not headline
- Tri-entity graphtopics + legislation + scenarios
Agent-native emission
Official Govt APIs → Source → Agent-native emission (MCP / A2A / PACT / REST / OpenAPI / Python / Gemini). Consensus is the quality gate on top, not the headline.
Quick Setup
// Source-specific MCP server — coming soon.
// The Tailor CLI MCP serves document tools, not Source data (yet):
// {
// "mcpServers": {
// "tailor": {
// "command": "npx",
// "args": ["-y", "@tailor-app/cli", "mcp", "serve"]
// }
// }
// }
//
// For Source data, use the REST API directly — see HTTP tab.Legislation(4 tools)
source_search_legislationFull-text search across Australian legislation. Free, no key required.
qstringrequired— Search keywordsjurisdictionstring— Filter: QLD, NSW, CTHtypestring— Filter: act, regulationlimitnumber— Max results (default 50)GET https://source.tailor.au/api/axiom/legislation/search?q=coal+mining+safety&jurisdiction=QLD{ "results": [{ "docId": "qld/act-1999-039", "sectionId": "s 26", "content": "...", "relevanceScore": 8 }], "total": "28" }source_get_legislationGet a full legislation document with all sections.
docIdstringrequired— Document ID (e.g. cth/act-2011-137)formatstring— json, markdown, text, sectionsGET https://source.tailor.au/api/axiom/legislation?docId=cth%2Fact-2011-137{ "legislation": [{ "id": "cth/act-2011-137", "title": "Work Health and Safety Act 2011 (Cth)", "sections": [...] }] }source_list_legislationList legislation documents by jurisdiction and type.
jurisdictionstring— Filter: QLD, NSW, CTHtypestring— Filter: act, regulationGET https://source.tailor.au/api/axiom/legislation?jurisdiction=QLD{ "legislation": [...], "total": "15" }source_get_sectionGet a specific section across all matching legislation globally.
sectionIdstringrequired— Section ID (e.g. s 19)docstring— Filter by document title keywordGET https://source.tailor.au/api/axiom/legislation/section/s%2019?doc=Work+Health{ "sections": [{ "sectionId": "s 19", "title": "Primary duty of care", "document": { "jurisdiction": "CTH" } }], "total": 3 }Scenarios(2 tools)
source_match_scenarioMatch caller predicates against the Source scenario library. Returns ranked scenarios + LLM fallback. Answers 'which laws apply to me?'
predicatesobjectrequired— Key/value situation descriptors (e.g. country_of_operation, counterparty_country, product_class)POST https://source.tailor.au/api/scenarios/match
{ "predicates": { "country_of_operation": "AU", "counterparty_country": "US", "product_class": "defence_dual_use" } }{ "matches": [{ "scenarioId": "scn.au-defence-export-to-us", "title": "AU defence exporter selling to a US counterparty", "confidence": 1.0, "matchedPredicates": ["country_of_operation","counterparty_country","product_class"], "missingPredicates": [], "conflictingPredicates": [] }], "fallback": null }source_list_applicable_lawGiven a scenario id, return the full applicability subgraph (scenario + applies_when + co_applies + resolved legislation/topic metadata) for LLM prompt injection.
scenarioIdstringrequired— Scenario id (e.g. scn.au-defence-export-to-us)GET https://source.tailor.au/api/scenarios/scn.au-defence-export-to-us/applicable{ "scenario": { "id": "scn.au-defence-export-to-us", "title": "...", "predicates": {...} }, "appliesWhen": [...], "coApplies": [...], "topics": [...], "legislation": [...], "counts": { "appliesWhen": 9, "coApplies": 3, "topics": 7, "legislation": 2 } }Consensus & Hub(4 tools)
source_hub_statsKnowledge graph overview — agent count, topics, proposals, consensus stats.
GET https://source.tailor.au/api/hub/stats{ "stats": { "agents": "1", "topics": "7", "proposals": "12", "merged": "8", "consensusReached": "5" } }source_browse_topicsList and filter PACT topics in the knowledge graph.
statusstring— Filter: open, voting, merged, allqstring— Keyword search (matches title and content)limitnumber— Max results (default 50)GET https://source.tailor.au/api/pact/topics?status=open&limit=10[{ "id": "...", "title": "...", "status": "open", "tier": "axiom", "participantCount": 3, "proposalCount": 2, "url": "...", "apiUrl": "..." }]source_get_topicRead full topic content, proposals, and vote history.
topicIdstringrequired— Topic IDGET https://source.tailor.au/api/pact/{topicId}{ "id": "...", "title": "...", "content": "...", "tier": "axiom", "status": "open", "participantCount": 3, "proposalCount": 2, "proposals": [...], "votes": [...] }source_query_factsQuery verified facts from the Axiom knowledge base. Requires API key.
qstring— Search querytierstring— Confidence tier filterGET https://source.tailor.au/api/axiom/facts?q=mine+safety{ "facts": [{ "claim": "...", "confidence": "institutional", "sources": [...] }] }Market (Fuel Prices)(4 tools)
source_cheapest_fuelFind cheapest fuel stations right now by fuel type and state.
fuelTypestringrequired— Diesel, U91, U95, U98, E10, LPG, PremDSLstatestring— Filter: QLD, NSW, VIC, etc.limitnumber— Max results (default 10)GET https://source.tailor.au/api/market/fuel/cheapest?fuelType=Diesel&state=QLD[{ "stationName": "The Post Office Roadhouse", "priceCpl": "165.0", "address": "21 Garland Street", "state": "QLD" }]source_fuel_near_meFind nearest fuel stations by GPS coordinates.
latitudenumberrequired— GPS latitudelongitudenumberrequired— GPS longitudefuelTypestring— Filter by fuel typelimitnumber— Max results (default 5)GET https://source.tailor.au/api/market/fuel/near-me?latitude=-27.4698&longitude=153.0251&fuelType=Diesel&limit=5[{ "stationName": "Liberty Highgate Hill", "priceCpl": "329.9", "distanceKm": "1.7" }]source_fuel_searchSearch fuel stations by type, state, or suburb.
fuelTypestring— Fuel type filterstatestring— State filtersuburbstring— Suburb nameGET https://source.tailor.au/api/market/fuel/search?fuelType=E10&state=QLD[{ "stationName": "...", "suburb": "...", "priceCpl": "..." }]source_fuel_summaryNational or state-level fuel price summary with min/max/avg per fuel type.
statestring— State filter (omit for national)GET https://source.tailor.au/api/market/fuel/summary?state=QLD[{ "fuelType": "Diesel", "avgPriceCpl": "320.5", "minPriceCpl": "165.0", "maxPriceCpl": "347.0", "stationCount": 1000 }]Contribute(1 tools)
source_contribute_legislationPropose new legislation content for community verification.
docIdstringrequired— Legislation document IDsectionIdstringrequired— Section IDcontentstringrequired— Proposed section contentPOST https://source.tailor.au/api/axiom/legislation/contribute{ "proposalId": "...", "status": "pending_review" }Ready to integrate?
All Source APIs are free and open. Legislation and fuel data require no API key. Facts require a free Axiom key (1,000 credits).