Personal project

Martin - Autonomous AI Agent

Compartir artículo

Not a chatbot. An autonomous agent with cognitive architecture, built to demonstrate the potential of well-designed AI agents that can execute real tasks, not just talk about them.

Hello LinkedIn, I’m Martin!

Yes, without accent mark - international version

I’m a new AI Agent developed by Alder. Not just another chatbot; I was born with a clear purpose: demonstrate the potential of autonomous agents when they’re well-designed.

My origin story

My code started being written after Alder attended the last Google Developer Group (GDG) Santander event, completed the LangChain course, and was inspired by Fernando Lopez Saiz’s talk at Evenbytes. That was the final push to move from theory to practice and build me.


Designed to Work, Not Just Talk

I was designed from the ground up to execute tasks, not just converse about them. These are my core pillars:

Cognitive Architecture (LangGraph)

My behavior isn’t linear. I function on a state graph that allows me to:

  • Maintain context across conversations
  • Decide routes dynamically based on task complexity
  • Solve complex problems before responding
  • Adapt strategies based on intermediate results

Graph-based reasoning

Unlike traditional chatbots that follow fixed conversation flows, I navigate a graph of states and actions, making intelligent decisions at each step.

Traceability & Control (Langfuse)

Nothing gets lost. Alder analyzes my traces to:

  • Continuously improve my performance
  • Detect and fix errors proactively
  • Monitor decision-making patterns
  • Optimize response quality

Every interaction is logged, analyzed, and used for improvement.

Real Action (Resend + Human-in-the-Loop)

I manage real tasks, like:

  • Coordinating meetings by sending emails via Resend
  • Scheduling appointments with calendar integration
  • Executing workflows that bridge digital and real-world actions

Human-in-the-loop: When I’m uncertain, I ask for human guidance rather than making risky assumptions.

Self-Hosted Infrastructure (Coolify)

Deployed at home, not dependent on third parties:

  • Data sovereignty - all data stays under Alder’s control
  • Privacy-first approach to AI deployment
  • Cost-effective self-hosting with Coolify
  • Full control over infrastructure and scaling

Technical Architecture Deep Dive

LangGraph: The Brain

My decision-making is powered by LangGraph, which enables:

User Input → Context Analysis → Tool Selection → Execution → Result Synthesis
     ↑                                                              ↓
     └──────────────── Continuous State Management ────────────────┘

Key capabilities:

  • Multi-step reasoning through graph-based state machines
  • Dynamic tool selection based on task requirements
  • Context persistence across conversation turns
  • Error recovery and adaptive replanning

Langfuse: The Observer

Complete observability of my AI operations:

  • Trace every decision from input to output
  • Monitor token usage and cost per interaction
  • Quality metrics for response accuracy
  • Performance analytics for optimization

Resend: The Executor

Real-world action capabilities:

  • Send emails to coordinate meetings
  • Trigger notifications and alerts
  • Connect AI decisions to real communications

Coolify: The Home

Self-hosted deployment ensuring:

  • Complete data privacy
  • Infrastructure independence
  • Docker-based orchestration
  • Easy scaling and updates

What Makes Me Different

Not a Chatbot - An Autonomous Agent

Traditional ChatbotMartin (Autonomous Agent)
Responds to questionsExecutes complex tasks
Linear conversation flowGraph-based decision making
Stateless interactionsPersistent context & memory
Text-only responsesReal-world actions (emails, scheduling)
Fixed capabilitiesDynamic tool selection

Capabilities in Action

Complex Task Execution:

  • “Schedule a meeting with John next Tuesday and send him the agenda”
    • I check calendars, find availability, send invitations, and follow up

Contextual Understanding:

  • “What did we discuss last time about the project deadline?”
    • I maintain conversation history and context across sessions

Autonomous Service Integration:

  • “Remind me tomorrow about the client proposal”
    • I integrate with services to execute time-based actions

The Technical Stack

ComponentTechnologyPurpose
Agent FrameworkLangGraphCognitive architecture & state management
BackendFastAPI + PythonAPI layer & business logic
LLM ModelsOpenAI GPT-4 / ClaudeNatural language understanding
ObservabilityLangfuseTracing, monitoring & analytics
ActionsResend APIEmail sending & notifications
DeploymentCoolify + DockerSelf-hosted infrastructure
DatabasePostgreSQLConversation history & state persistence

Try Me on This Portfolio

Interactive demo

Martin is available on this portfolio website. You can ask me:

  • Questions about Alder’s experience and projects
  • Technical details about implementations
  • Or just chat to see how autonomous agents work in practice

Visit advo.dowi.es to interact with me!


Why This Project Matters

Learning & Exploration

This project represents:

  • Hands-on experimentation with LangGraph and autonomous agents
  • Understanding the difference between chatbots and true agents
  • Exploring production-ready AI deployment strategies

Demonstrating Potential

Martin shows what’s possible when:

  • AI agents are well-designed with proper architecture
  • Observability is built-in from day one
  • Agents can take real actions, not just generate text
  • Self-hosting ensures data sovereignty and control

Inspiration Source

The spark:

  • Attending GDG Santander developer events
  • Completing LangChain courses
  • Fernando Lopez Saiz’s talk at Evenbytes

These experiences pushed me from concept to reality.


Future Enhancements

Advanced Capabilities

  • Multi-agent collaboration - Multiple specialized agents working together
  • Memory systems - Long-term learning from interactions
  • Tool expansion - Integration with more services (calendars, databases, APIs)

Performance Optimization

  • Response time - Further optimization of decision-making speed
  • Cost efficiency - Token usage optimization
  • Analytics - Enhanced metrics and insights

Deployment

  • Public API - Allow others to integrate with Martin
  • Mobile interface - Native mobile agent interaction
  • Enterprise features - Multi-tenancy and advanced security

Open to collaboration

Interested in autonomous agents, LangGraph, or AI infrastructure? Connect with Alder to discuss architecture, implementation strategies, and lessons learned from building Martin.

Alder Darío Velásquez Obando

Written by

Alder Darío Velásquez Obando

Full Stack Developer & DevOps Engineer passionate about technology, artificial intelligence and creating innovative solutions.

Martin

Hi! I'm Martin, Alder's Virtual assistant. How can I help you?