Authorization notice. Asamana is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA developer whose story is behaving oddly and who needs to see exactly what the model was asked and returned at each stage.
The problemOdd character behavior is hard to diagnose without seeing the prompts, outputs and cost behind each cognitive stage.
The outcomeThe user can find the stage and LLM call behind a specific story event, along with its prompt, response, tokens and latency.
What you need first
- Docker with Compose v2 installed (see the Installing Docker section in docs/deployment.md)
- git to clone the repository
- macOS is the recommended platform
- An API key for an OpenAI-compatible LLM vendor, only if you want to create or run worlds
- A token and spending budget, since each step makes several LLM calls per character
Steps
- Run
./deploy/asamana.sh startwith the developer tools enabled - Run a world for a few steps so that LLM calls are recorded
- Open the
#/devpage and select the Trace view - Filter to the character or step that produced the odd behavior
- Compare the prompt and response with the stage it belongs to, such as perception, motivation, decision, action or feedback
Prompt for your agent
In the repo https://github.com/dreamscroll-lab/asamana, run a world for 3 steps and open the Trace view. Report the stage name, token count and latency of the first recorded LLM call for one character. Verify that each recorded call is linked to a stage from the five-stage pipeline.
Caveat. Trace data is shown in the developer tools, which the README says are for local development, so treat recorded prompts as potentially containing generated content.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for dreamscroll-lab/asamana and "Trace every LLM call to debug a run"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer