Skip to main content

Your AI agent is amazing. But every day, it starts over. Give it a memory, an identity, and a portable life — open source.

Project description

Intent OS

Your AI agent is amazing. But every day, it starts over.

Give it a memory. Give it a life.

pip install Docs GitHub License Tests


pip install intentos

# What happened? What went wrong? What did it cost?
intent-os doctor

# Every step your agent took, every model it called.
intent-os inspect latest

# Who is this agent? What does it know? What has it learned?
intent-os agent get <id>

You get this:

[14:02:01] > START
[14:02:09] > MODEL CALL  claude-sonnet-4  (2,451 tokens)
[14:02:14] > TOOL        filesystem.write
[14:02:27] !! FAILED     test_jwt_verify failed

Goal:        refactor-auth-module
Agent:       claude-code
Duration:    14.3s
Cost:        $0.08
Tokens:      4,891

AI agents have amnesia.

Claude Code spends 30 minutes solving your problem — researching, trying approaches, failing, learning from mistakes. You close the session, and everything it learned is gone. Tomorrow, it's a blank slate. The same struggles. The same dead ends. The same lessons it already learned.

This is the real bottleneck in AI today. Not capability. Amnesia.

Intent OS gives your AI agent a memory that grows with every task. Every execution, every mistake, every success is captured, structured as experience, and applied to the next call. Day by day, your agent gets smarter.

That identity — role, traits, execution history, experience, capability proof — can be exported today and moved across any runtime. From Claude to GPT to Ollama. Your agent doesn't have to start over when you switch tools. It carries everything it learned.


How it works

# Start the flight recorder
intent-os proxy start

# Point your agent at it — zero code changes
export OPENAI_BASE_URL=http://localhost:8377
export ANTHROPIC_BASE_URL=http://localhost:8377

# Use your agent normally. Every action is recorded.
claude "refactor the payment module"

# See what happened, what went wrong, and what it learned
intent-os doctor
intent-os inspect latest
intent-os cost

Works with Claude Code, Cursor, GitHub Copilot, or any agent that speaks OpenAI or Anthropic APIs. One environment variable. Nothing else. Everything runs locally. One SQLite file. No cloud. No account.


What you get

Command What it tells you
intent-os doctor Health check: what happened, what went wrong, how to fix it
intent-os inspect latest Full timeline: every model call, tool use, cost
intent-os cost Spending: by agent, by model, daily trends
intent-os proxy start Start recording — intercepts any OpenAI/Anthropic agent
intent-os proxy doctor Proxy health: running status, traffic stats
intent-os agent create --name "X" --persona "..." --traits "..." Create an agent with a role and personality
intent-os agent get <id> Full person-card: role, traits, execution history, experience
intent-os experience list --agent <id> What this agent learned from its past runs
intent-os scan Security scan: dangerous tool calls in traces
intent-os audit report --format html Compliance report: full audit trail

Which of these have you felt?

  • "It worked yesterday. Today it doesn't." — Same task, different session. The agent doesn't remember what it learned last time. No experience carries over.
  • "I'm afraid to give it a big task." — The agent is capable, but the bigger the task, the more files it touches. You don't know what it changed.
  • "Something went wrong. I have no idea what." — Agent ran for 30 minutes. Failed. No stack trace. No record of what happened.
  • "Why is my API bill $300 this month?" — Which agent? Which task? Which model? You can't answer any of those questions.

Intent OS gives you the answer to all four — before you even ask.


For teams

When multiple people use multiple agents, "who did what" becomes a business question:

  • Accountabilityintent-os cost --by agent — who's spending what, on which model
  • Governanceintent-os security policy apply — define what agents can and can't do
  • Complianceintent-os audit report --format html — full execution record, any timeframe
  • Identity — every agent gets an ID and a profile, every execution links back to its owner

Why local-first?

Instead of... Intent OS is...
Cloud-only tracing Local-first. Your data never leaves your machine.
Siloed per-platform logs Universal. Works with any OpenAI/Anthropic agent.
Just logging Structured traces. One execution → many API calls → one timeline.
Postgres + Redis + S3 One SQLite file. No infrastructure needed.

No API key to sign up. No dashboard to log into. Your agent's execution data is yours — it lives in ~/.intent-os/intent.db.


The bigger picture: an agent that grows with you

Intent OS is not just a tool. It is the first implementation of a portable execution contract for AI agents — the missing layer that lets an Agent be defined, executed, verified, and moved across any runtime.

The seven layers of Intent OS — Context, Identity, Execution, Verification, Governance, Interoperability, Experience — are the components of this contract. Together they answer the questions any organization must ask of an autonomous system: who was it, what was it supposed to do, what did it do, what evidence did it have, what did it learn, and who authorized it.

This is Agent Accountability infrastructure. The equivalent for autonomous AI of what audit trails are to finance and what version control is to software.

8 specs, all frozen. 26 event types. 6 adapters. One contract. Any runtime.


License

AGPLv3 + Commercial Option. See LICENSE.

Open-source use is free under AGPLv3. Commercial use requires a commercial license.


Your agent doesn't have to start over every day. Every task makes it better.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

intentos-0.15.2-py3-none-any.whl (319.6 kB view details)

Uploaded Python 3

File details

Details for the file intentos-0.15.2-py3-none-any.whl.

File metadata

  • Download URL: intentos-0.15.2-py3-none-any.whl
  • Upload date:
  • Size: 319.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for intentos-0.15.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bfe8f97c18a636ccc122e8c62e7ce5e1da7762d4a6932de16526326e1f4e84cd
MD5 c6535eb93a6c3e1f6120cdd8570170c3
BLAKE2b-256 2a6b0836433401f8b581a2c073fc7cdb65f086a92a83f46524914ddbd2b69083

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