Skip to main content

Build AI applications in Markdown.

Project description

ToolFront

ToolFront

Build and deploy AI apps in minutes. All in pure Markdown. Zero boilerplate.

Test Suite PyPI package Discord X


Documentation: docs.toolfront.ai

Source code: https://github.com/statespace-tech/toolfront


Quickstart

ToolFront is a declarative framework for building modular AI applications in Markdown. Write tools and instructions in .md files, run the project, and get a live AI application.

Create it

Start with one file: README.md

---
tools:
  - [curl, -X, GET, "https://httpbin.org/status/200"]
---

# Status Checker
- Use `curl` to check if the service is up

Run it

Run the application with:

toolfront run .

Ask it

Ask your AI application.

Python SDK
from toolfront import Application

app = Application(url="http://127.0.0.1:8000")

result = app.ask("Is the service up?", model="openai:gpt-5")

print(result)
# Answer: yes
MCP Server
{
  "mcpServers": {
    "toolfront": {
      "command": "uvx",
      "args": ["toolfront", "mcp", "http://127.0.0.1:8000"]
    }
  }
}

Upgraded Example

Your full project can grow like this:

project/
├── README.md
├── src/
│   ├── api.md
│   ├── rag.md
│   ├── text2sql.md
│   └── toolkit.md
├── data/
└── tools/

Add Navigation

Update README.md with tools to explore the project

---
tools:
  - [curl, -X, GET, "https://httpbin.org/status/200"]
  - [ls]
  - [cat]
---

# Status Checker
- Use `curl` to check if the service is up
- Use `ls` and `cat` to browse other files

Add Document RAG

Give your agent tools to search documents

---
tools:
  - [grep]
---

# Search Docs
- Use `grep` to search files in `/data/`

Add Text-to-SQL

Connect your databases for SQL workflows

---
tools:
  - [psql, -U, $USER, -d, $DATABASE, -c, {query}]
---

# Database Access
- Call the `psql` tool to query the PostgreSQL database

Add Custom Tools

Build custom tools in any programming language

---
tools:
  - [python, tools/status.py, --delayed]
---

# Custom Tools
- Run `status.py` to check delayed orders

Installation

Install toolfront with your favorite PyPI package manager.

pip
pip install toolfront
uv
uv add toolfront
poetry
poetry add toolfront

Deploy your Apps

Instantly deploy your AI applications:

toolfront deploy ./path/to/project

Gives you a shareable application URL:

Community Cloud (Free)
# Up to 5 public apps, totally free
app = Application("https://cloud.statespace.com/you/status-checker")
Statespace Cloud (Pro)
# Up to 20 public or private apps with authentication
app = Application("https://cloud.statespace.com/team/project", params={"API_KEY": "..."})
Self-Hosted (Enterprise)
# Unlimited on-prem apps with Docker or K8s
app = Application("https://custom.com/agent")

Get started for free

Community & Contributing

License

This project is licensed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toolfront-0.4.1.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toolfront-0.4.1-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file toolfront-0.4.1.tar.gz.

File metadata

  • Download URL: toolfront-0.4.1.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.15

File hashes

Hashes for toolfront-0.4.1.tar.gz
Algorithm Hash digest
SHA256 c68929c953915a16a56658d902ceb7b23003778fddcbf83ac5e81ba3980739ee
MD5 d8b8a22e3451d85f0b3d8fe80b28c148
BLAKE2b-256 bcc109f42a6136c3ccd315277035d59c9428f3d577cc54194ebf71ed76ff7e97

See more details on using hashes here.

File details

Details for the file toolfront-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: toolfront-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.15

File hashes

Hashes for toolfront-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b733a37b7e2a465245a7d7c83365a9472aba4f628666516f9ac6c0c111021c14
MD5 970c6207a4cb63a2e03d8de0d350dbd8
BLAKE2b-256 24679fcd91f8de88ba6772e790d04c584e43200f823b4a803204454d3084d5c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page