diff --git a/README.md b/README.md index b9a9b346..f8c5e8e2 100644 --- a/README.md +++ b/README.md @@ -1,49 +1,50 @@ -# Perstack - -A harness for micro-agents. +# Perstack: A Harness for Micro-Agents.
- Documentation · + Docs · Getting Started · - Discord + Website · + Discord · + @FL4T_LiN3
-If you're looking for a way to build practical agentic apps like Claude Code or OpenClaw, you'll need a harness to manage the complexity. +If you want to build practical agentic apps like Claude Code or OpenClaw, a harness helps manage the complexity. Perstack is a harness for agentic apps. It aims to: -- **Do big things with small models**: If a smaller model can make the same thing, there's no reason to use a bigger model. -- **Quality is a system property, not a model property**: Building agentic software that people use doesn't require AI science degree, just knowledge to solve their problems. -- **Keep it simple and reliable**: The biggest mistake is cramming AI into an overly complex harness and ending up with an uncontrollable agent. +- **Do big things with small models**: If a smaller model can do the job, there's no reason to use a bigger one. +- **Quality is a system property, not a model property**: Building agentic software people actually use doesn't require an AI science degree—just a solid understanding of the problems you're solving. +- **Keep it simple and reliable**: The biggest mistake is cramming AI into an overly complex harness and ending up with an inoperable agent. ## Getting Started -Perstack is designed so that defining experts, running them, and integrating them into applications remain separate concerns. +Perstack keeps expert definition, orchestration, and application integration as separate concerns. `create-expert` scaffolds experts, the harness handles orchestration, and deployment stays simple because Perstack runs on standard container and serverless infrastructure. ### Defining your first expert -To get started, you can use the `create-expert` Expert that helps you to focus on the core and build your first agentic AI: +To get started, use the built-in `create-expert` expert to scaffold your first agentic app: ```bash -# Ask `create-expert` to form a team named `ai-gaming` +# Use `create-expert` to scaffold a micro-agent team named `ai-gaming` docker run --pull always --rm -it \ -e FIREWORKS_API_KEY \ -v ./ai-gaming:/workspace \ perstack/perstack start create-expert \ --provider fireworks \ - "Form a team named ai-gaming to build a Bun-based CLI cutting-edge indie game playable on Bash." + --model accounts/fireworks/models/kimi-k2p5 \ + "Form a team named ai-gaming to build a Bun-based CLI indie game playable on Bash for AI." ``` -`create-expert` is a built-in Expert. It generates a `perstack.toml` that defines a team of micro-agents. Each agent has a single responsibility and its own context window. Complex tasks are broken down and delegated to specialists. +`create-expert` is a built-in expert. It generates a `perstack.toml` that defines a team of micro-agents, runs them, evaluates the results, and iterates until the setup works. Each agent has a single responsibility and its own context window. Complex tasks are broken down and delegated to specialists. ```toml [experts."ai-gaming"] @@ -69,21 +70,37 @@ instruction = "Play-test the game, find bugs, and verify fixes." To let your agents work on an actual task, you can use the `perstack start` command to run them interactively: ```bash -# Let `ai-gaming` team build a Wizardry-like dungeon crawler +# Let `ai-gaming` build a Wizardry-like dungeon crawler docker run --pull always --rm -it \ -e FIREWORKS_API_KEY \ -v ./ai-gaming:/workspace \ perstack/perstack start ai-gaming \ --provider fireworks \ - "Make a Wizardry-like dungeon crawler. Make it replayable, so players can dive in, die, and find a way to beat it." + --model accounts/fireworks/models/kimi-k2p5 \ + "Create a Wizardry-like dungeon crawler in a fixed 10-floor labyrinth with complex layouts, traps, fixed room encounters, and random battles. Include special-effect gear drops, leveling, and a skill tree for one playable character. Balance difficulty around build optimization. Death in the dungeon causes loss of one random equipped item." ``` -Here is an example of a game built with these commands: [demo-dungeon-crawler](https://github.com/perstack-ai/demo-dungeon-crawler). It was built entirely using Kimi K2.5 on Fireworks for under $0.10 in total API cost. You can play it directly: +Here is an example of a game built with these commands: [demo-dungeon-crawler](https://github.com/FL4TLiN3/demo-dungeon-crawler). It was built entirely with Kimi K2.5 on Fireworks. You can play it directly: ```bash npx perstack-demo-dungeon-crawler start ``` +