Skip to main content

Modern Agent Management, Version Control & Orchestration Framework

Project description

🌠 AgentComet

Version Python License UAF v2

Build once. Run anywhere. Resume anytime.
Stateful. Portable. Composable AI agents.


⚡ The Problem

Every AI team ends up rebuilding the same agents.

Same logic. Same tools. Different environment. New framework.

And the worst part? All the memory, context, and progress is lost. Agents today are stateless, fragile, and non-portable.


🚀 Introducing AgentComet

AgentComet is a modern agent framework designed to make agents:

  • Stateful by default
  • Portable across environments
  • Resumable at any point in time

Instead of treating agents like scripts, AgentComet treats them like artifacts.


🎯 What makes AgentComet different?

AgentComet introduces a new primitive: Portable, Stateful Agent Artifacts (.uaf)

You don't just write agents. You package, move, version, and resume them.


🚀 Quick Start

Installation

pip install agentcomet

Build an Agent

Create an agent, assign it custom tools, and let it handle the heavy lifting.

from agentcomet import Agent, tool
from agentcomet.models import Ollama

@tool
def greet(name: str) -> str:
    return f"Hello, {name}!"

class GreeterAgent(Agent):
    def setup(self):
        self.name = "greeter"
        self.add_tools(greet)

# Instantiate and chat
agent = GreeterAgent(llm=Ollama(model="llama3"))
print(agent.run("Say hello to Alice!"))

✨ Core Capabilities

🧠 Persistent Memory

Every agent comes with a highly flexible key-value memory store (self.memory). Conversational history is auto-saved without any manual boilerplate.

agent.memory.save("user_preferences", {"theme": "dark"})
print(agent.memory.get("messages"))

💾 State Checkpoints

Save and restore exact agent timelines. Need to rollback a prompt mistake? Just load the state.

agent.save_state("checkpoint-1")
agent.load_state("checkpoint-1")

📦 Portable Agents with .uaf

Stop writing boilerplate to serialize agent code. Export your entire agent—along with its memory, history, LLM config, and tools—into a portable .uaf archive.

agent.export("assistant.uaf")

from agentcomet import load_agent
agent = load_agent("assistant.uaf")

☁️ Registry & Hub (Push & Pull)

Sync your agents with either a locally hosted AgentComet Studio registry or the public cloud registry AgentComet Hub.

🏢 1. AgentComet Studio (Local Registry)

Sync your agents locally across your team.

A. Start AgentComet Studio
docker pull vaibhavhaswani/agentcomet-studio:latest

docker run -p 3451:3451 \
  -v $(pwd)/data:/app/data \
  vaibhavhaswani/agentcomet-studio:latest

Windows (PowerShell):

docker run -p 3451:3451 -v ${PWD}/data:/app/data vaibhavhaswani/agentcomet-studio:latest
B. Configure and Push/Pull
from agentcomet import Settings, Agent

# Configure SDK
Settings.init(
    AGENTCOMET_URL="http://localhost:3451",
    AGENTCOMET_KEY="your-local-key"
)

# Push — auto-increments version
agent.push(repo="assistant")

# Pull — latest or specific version
agent = Agent.pull(repo="assistant", version="latest")

🌌 2. AgentComet Hub (Cloud Registry)

Publish and distribute your agents on the official public registry at ac.defaultloop.com.

A. Configure the SDK
from agentcomet import Settings, Agent

# Configure SDK to target the cloud registry
Settings.init(
    AGENTCOMET_URL="https://ac.defaultloop.com",
    AGENTCOMET_KEY="your-hub-api-token"
)
B. Push & Pull
# Push to the cloud registry — auto-increments version and creates if it doesn't exist
agent.push(repo="username/assistant", create=True)

# Pull from the cloud registry
agent = Agent.pull(repo="username/assistant", version="latest")

🔌 Multi-Provider LLM Support

Switching your backend is as simple as defining a new class.

from agentcomet.models import OpenAIChat, Gemini, Anthropic, Ollama

agent.use_llm(OpenAIChat(model="gpt-4o"))

🧠 Why this matters

We believe the future of AI is not just models. It's agents that evolve over time.

Agents that:

  • Learn
  • Persist
  • Move
  • Continue

AgentComet is a step toward that future.


🛣️ Vision

This is just the beginning.

AgentComet is part of a larger vision to build:

  • A universal agent format
  • A global agent registry
  • A composable ecosystem of agents

Where agents are not rewritten, but shared, reused, and extended.


📚 Documentation & Website


🤝 Contributing

  • ⭐ Star the repo
  • 🛠️ Break things
  • 🚀 Open PRs

All contributions are welcome.


📄 License & Legal

  • License: Apache License 2.0
  • Patent: Indian Provisional Patent Application No. 202611013684
  • Branding: "AgentComet" is a trademark. See BRANDING.md.

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

agentcomet-0.5.0.tar.gz (37.4 kB view details)

Uploaded Source

Built Distribution

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

agentcomet-0.5.0-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

Details for the file agentcomet-0.5.0.tar.gz.

File metadata

  • Download URL: agentcomet-0.5.0.tar.gz
  • Upload date:
  • Size: 37.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for agentcomet-0.5.0.tar.gz
Algorithm Hash digest
SHA256 934c5b9a2a1f25f24eb7eca651ad35778e78da1a0ffd5afe7494f94dd700cf7f
MD5 80d594588af908edc77e3b5abce8a418
BLAKE2b-256 711520b23d0d1c11d5f4ab53865114c8d4660f12a10a78100a2871219bce556a

See more details on using hashes here.

File details

Details for the file agentcomet-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: agentcomet-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 41.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for agentcomet-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 761a37e8c25e80dcc8ed25f4ad1450aeec11c476728c4833f068707056d49ff4
MD5 68430bc048bf2dd1a1545a9fb2cb72ce
BLAKE2b-256 0ff65e6be806f2065a50d4fe640c5d118210ba17c8bf282eea540c201b5d9d11

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